Fix custom config file name for PHP ini values
This commit is contained in:
parent
6241bdc8ce
commit
521fe2e9f3
|
@ -1,17 +1,17 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
- name: Set default values in /etc/php5/apache2/conf.d/z-evolinux_defaults.ini
|
- name: "Set custom values for PHP config (jessie)"
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: /etc/php5/apache2/conf.d/z-evolinux_defaults.ini
|
dest: /etc/php5/apache2/conf.d/zzz-evolinux-custom.ini
|
||||||
section: PHP
|
section: PHP
|
||||||
option: "disable_functions"
|
option: "disable_functions"
|
||||||
value: "shell-exec,system,passthru,putenv,popen"
|
value: "shell-exec,system,passthru,putenv,popen"
|
||||||
notify: reload apache
|
notify: reload apache
|
||||||
when: ansible_distribution_release == "jessie"
|
when: ansible_distribution_release == "jessie"
|
||||||
|
|
||||||
- name: Set default values in /etc/php5/apache2/conf.d/z-evolinux_defaults.ini
|
- name: "Set custom values for PHP config (Debian 9 or later)"
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: /etc/php/7.0/apache2/conf.d/z-evolinux_defaults.ini
|
dest: /etc/php/7.0/apache2/conf.d/zzz-evolinux-custom.ini
|
||||||
section: PHP
|
section: PHP
|
||||||
option: "disable_functions"
|
option: "disable_functions"
|
||||||
value: "shell-exec,system,passthru,putenv,popen"
|
value: "shell-exec,system,passthru,putenv,popen"
|
||||||
|
|
Loading…
Reference in a new issue