• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/
  • On Plesk for Linux mod_status is disabled on upgrades to improve Apache security.
    This is a one-time operation that occurs during an upgrade. You can manually enable mod_status later if needed.

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