• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question php-fpm error log full of warnings

Michael Huber

Basic Pleskian
nice weekend to all ..

some of my customers runs websites i get a lot of warnings in the fpm log like database table not found and something like this. the logs are 10-15GB together.

How can I disable the warnings for the FPM log?

best regrads, Michael
 
root@sw-cz01:~# cat /var/log/plesk-php56-fpm/error.log |more
[23-Sep-2018 05:37:39] WARNING: [pool ZXZ.com] child 27139 said into stderr: "NOTICE: PHP message: WordPress-Datenbank-Fehler You have an err
or in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-ZXZ_wordpress WHERE Nam
e LIKE 'wp_1interlinker%'' at line 1 für Abfrage SHOW TABLE STATUS FROM ZXZ_wordpress WHERE Name LIKE 'wp_1interlinker%'; von require_once('w
p-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), include_once('/plugins/cross-linker/crosslink.php'), crossLinkerClass->
table_interlinker_install"

is a customer wensite. i want to set the loglevel of PHP-FPM so that no warnings are logged in the system log
 
You should only need to turn log_errors on. Then it will go to the default error logging file. For nginx it would be /var/log/nginx/default-error.log

I have now turned on log_errors in the latest image.
 
Resolution
  • Enable 'OPcache' in Plesk > Domains > example.com > PHP Settings .
OR

  • Disable Zend Guard Loader on a domain level by adding zend_loader.enable = 0 in Additional configuration directives at Plesk > Domains > example.com > PHP Settings .
 
Back
Top