• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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