php: Don't disable putenv() by default in PHP settings

This commit is contained in:
Ludovic Poujol 2020-06-04 11:52:04 +02:00 committed by Gitea
parent 2dcf99a117
commit c521c98a11
3 changed files with 3 additions and 2 deletions

View File

@ -18,6 +18,7 @@ The **patch** part changes incrementally at each release.
* mysql: option to define as read only * mysql: option to define as read only
* packweb-apache: Install zip & unzip by default * packweb-apache: Install zip & unzip by default
* php: Install php-sqlite by default * php: Install php-sqlite by default
* php: Don't disable putenv() by default in PHP settings
### Changed ### Changed

View File

@ -23,7 +23,7 @@
dest: "{{ php_apache_defaults_ini_file }}" dest: "{{ php_apache_defaults_ini_file }}"
section: PHP section: PHP
option: disable_functions option: disable_functions
value: "exec,shell-exec,system,passthru,putenv,popen" value: "exec,shell-exec,system,passthru,popen"
mode: "0644" mode: "0644"
- name: Custom php.ini - name: Custom php.ini

View File

@ -24,7 +24,7 @@
dest: "{{ php_fpm_defaults_ini_file }}" dest: "{{ php_fpm_defaults_ini_file }}"
section: PHP section: PHP
option: disable_functions option: disable_functions
value: "exec,shell-exec,system,passthru,putenv,popen" value: "exec,shell-exec,system,passthru,popen"
notify: "restart {{ php_fpm_service_name }}" notify: "restart {{ php_fpm_service_name }}"
- name: Custom php.ini for FPM - name: Custom php.ini for FPM