• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

php does not use /etc/php.ini

D

danielh

Guest
Hello

After upgrading to RHEL4 and Plesk8 php suddenly does not seem to read /etc/php.ini.

I've made changes there and they do not reflect to my customers.

After a php -i|grep php.ini it shows /etc/php.ini and if I create a .htaccess file with some configuration changes (using php_flag) those DO reflect.

What could cause this and how do I resolve it?


Regards
Daniel
 
It's normal, I had the same problem.

Solution:

Type this as root over /etc/ directory:

chcon -t httpd_sys_content_t php.ini

Now, I will to wait thanks!
 
Back
Top