briefchain
New Pleskian
I'm trying to set
PATH = /usr/local/bin:/usr/bin:/bin
security.limit_extensions = .php .php3 .php4 .php5 .xml
If I enter this in the subdomains PHP Settings in Plesk, the according file in /etc/php5/fpm/pool.d is changed like this:
php_value[PATH] = /usr/local/bin:/usr/bin:/bin
php_value[security.limit_extensions] = .php .php3 .php4 .php5 .xml
The changes have no effect on the website. If I manually enter the settings in the file (without php_value[]; and restart php-fpm/apache/nginx (without httdmng --reconfigure), the changes take place. However, if httdmng is run, the changes are revoked.
What is the correct way to implement this config in Plesk?
PATH = /usr/local/bin:/usr/bin:/bin
security.limit_extensions = .php .php3 .php4 .php5 .xml
If I enter this in the subdomains PHP Settings in Plesk, the according file in /etc/php5/fpm/pool.d is changed like this:
php_value[PATH] = /usr/local/bin:/usr/bin:/bin
php_value[security.limit_extensions] = .php .php3 .php4 .php5 .xml
The changes have no effect on the website. If I manually enter the settings in the file (without php_value[]; and restart php-fpm/apache/nginx (without httdmng --reconfigure), the changes take place. However, if httdmng is run, the changes are revoked.
What is the correct way to implement this config in Plesk?