• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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