• 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 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