Browse Source

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

rotate_elasticsearch_logs
Ludovic Poujol 11 months ago
committed by Gitea
parent
commit
c521c98a11
  1. 1
      CHANGELOG.md
  2. 2
      php/tasks/config_apache.yml
  3. 2
      php/tasks/config_fpm.yml

1
CHANGELOG.md

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

2
php/tasks/config_apache.yml

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

2
php/tasks/config_fpm.yml

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

Loading…
Cancel
Save