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

kram@

Regular Pleskian
---------------------------------------------------------------
PRODUCT, VERSION, MICROUPDATE, OPERATING SYSTEM, ARCHITECTURE

CentOS 6.3 (Final)
Panel version 11.0.9
Update #4, last updated at July 10, 2012 12:59 AM

PROBLEM DESCRIPTION

When setting the error_reporting: E_ALL & ~E_DEPRECATED & ~E_NOTICE on a per domain /etc/php.ini the error_log is full of mod_fcgid: stderr: PHP Notice:

When viewing the sites info.php it shows error_reporting: E_ALL & ~E_DEPRECATED & ~E_NOTICE

STEPS TO REPRODUCE

Set the value in /etc/php.ini to error_reporting: E_ALL & ~E_DEPRECATED & ~E_NOTICE
Set the value per domain /var/www/vhosts/xyz.co.za/etc/php.ini

ACTUAL RESULT

[Wed Jul 18 22:22:52 2012] [warn] [client 66.249.72.244] mod_fcgid: stderr: PHP Notice: Trying to get property of non-object in ...

EXPECTED RESULT

No PHP Notice: messages in the log
--------------------------------------------------------------
 
@IgorG thanks ,I tried your solution but it's still not working.

Added Custom Value = 6135

info.php reports: error_reporting = 6135

error_log

mod_fcgid: stderr: PHP Notice: Trying to get property of non-object in
 
Back
Top