• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

php.ini custom configurations

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?
 
I have exactly the same problem. I have days looking for this, and in the IRC everyone seems sleeping,someone can please help?
 
Back
Top