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

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