(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
|
@ -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: 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: 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: 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)
|
* postgresql : changed logrotate config to 10 days (and fixed permissions)
|
||||||
* rbenv: changed default Ruby version to 2.7.0
|
* rbenv: changed default Ruby version to 2.7.0
|
||||||
* squid: Remove wait time when we turn off squid
|
* squid: Remove wait time when we turn off squid
|
||||||
|
|
|
@ -8,21 +8,11 @@
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
create: yes
|
create: yes
|
||||||
with_items:
|
with_items:
|
||||||
- { option: "short_open_tag", value: "Off" }
|
- { option: "display_errors", value: "On" }
|
||||||
- { option: "expose_php", value: "Off" }
|
- { option: "allow_url_fopen", value: "On" }
|
||||||
- { option: "display_errors", value: "Off" }
|
- { option: "disable_functions", value: "" }
|
||||||
- { option: "log_errors", value: "On" }
|
|
||||||
- { option: "html_errors", value: "Off" }
|
|
||||||
- { option: "allow_url_fopen", value: "Off" }
|
|
||||||
|
|
||||||
- name: "Disable PHP functions for CLI"
|
- name: Custom php.ini 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)
|
|
||||||
copy:
|
copy:
|
||||||
dest: "{{ php_cli_custom_ini_file }}"
|
dest: "{{ php_cli_custom_ini_file }}"
|
||||||
content: |
|
content: |
|
||||||
|
|
Loading…
Reference in a new issue