Announcement

Collapse
No announcement yet.

PHP Selector defaut php.conf error_reporting

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • PHP Selector defaut php.conf error_reporting

    Hi,
    Even if my /etc/cl.selector/php.conf error_reporting section is set as such:

    Code:
    Directive = error_reporting
    
    Default   = E_ALL & ~E_STRICT & ~E_NOTICE
    
    Range     = ~E_ALL,E_ALL & ~E_NOTICE,E_ALL,E_ALL & ~E_STRICT & ~E_NOTICE
    
    Type      = list
    
    Comment   = The error reporting level.
    It always defauts to E_CORE_WARNING in each users CPanel PHP Selector ? And I have to manually override it to the wanted settings.

    When user uses php5.4 and up all E_STRICT warning are filling the error_log file as since php 5.4 E_STRICT is included in E_ALL. So this is why Ive included the E_ALL & ~E_STRICT &~E_NOTICE option.

    I can find any files where the E_CORE_WARNING is coming from.

    Do you have any idea how I could fix this ?
    Thanks
Working...
X