• 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.ini and my.cnf not being picked up

A

avaksi

Guest
I made changes to /etc/php.ini and /etc/my.cnf. After that I restarted MySQL through the command line and Apache through Plesk.

But none of the settings were picked up. There is no slow query log being generated and apache error logs are still logging PHP_NOTICE errors.

TIA

Changes made to my.cnf
Added the following
log-slow-queries=/var/log/mysql_slow.log
set-variable = long_query_time=3

Changes made to php.ini
Disabled
error_reporting = E_ALL
Enabled the following line
error_reporting = E_ALL & ~E_NOTICE

Server Config
Plesk 8.01 on Fedora Core 4
PHP 5.0.4-10
MySQL 4.1.11-2
Apache 2.0.54-10
 
Back
Top