(change) php: Cleanup CLI Settings. Also, allow url fopen and don't disable functions (in CLI only)
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Closes #98
This commit is contained in:
parent
2a1d355192
commit
f135f67cd0
2 changed files with 5 additions and 14 deletions
|
@ -80,6 +80,7 @@ The **patch** part changes incrementally at each release.
|
|||
* php: Make sure the default pool we define can be fully functionnal witout debian's default pool file
|
||||
* php: Change the default pool names to something more explicit (and same for the variables names)
|
||||
* php: Add a task to remove Debian's default FPM pool file (off by default)
|
||||
* php: Cleanup CLI Settings. Also, allow url fopen and don't disable functions (in CLI only)
|
||||
* postgresql : changed logrotate config to 10 days (and fixed permissions)
|
||||
* rbenv: changed default Ruby version to 2.7.0
|
||||
* squid: Remove wait time when we turn off squid
|
||||
|
|
|
@ -8,21 +8,11 @@
|
|||
mode: "0644"
|
||||
create: yes
|
||||
with_items:
|
||||
- { option: "short_open_tag", value: "Off" }
|
||||
- { option: "expose_php", value: "Off" }
|
||||
- { option: "display_errors", value: "Off" }
|
||||
- { option: "log_errors", value: "On" }
|
||||
- { option: "html_errors", value: "Off" }
|
||||
- { option: "allow_url_fopen", value: "Off" }
|
||||
- { option: "display_errors", value: "On" }
|
||||
- { option: "allow_url_fopen", value: "On" }
|
||||
- { option: "disable_functions", value: "" }
|
||||
|
||||
- name: "Disable PHP functions for CLI"
|
||||
ini_file:
|
||||
dest: "{{ php_cli_defaults_ini_file }}"
|
||||
section: PHP
|
||||
option: disable_functions
|
||||
value: "exec,shell-exec,system,passthru,putenv,popen"
|
||||
|
||||
- name: Custom php.ini for CLI (jessie)
|
||||
- name: Custom php.ini for CLI
|
||||
copy:
|
||||
dest: "{{ php_cli_custom_ini_file }}"
|
||||
content: |
|
||||
|
|
Loading…
Reference in a new issue