PHP Selector ignoring my default settings for error_reporting
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and cPanel
  1. Scott Neader
  2. Tuesday, 24 March 2015
  3.  Subscribe via email
In /opt/alt/php55/etc/php.ini, I have the following:
     error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED

In /etc/cl.selector/php.conf has:

   Directive = error_reporting
   Default   = E_ALL & ~E_NOTICE
   Type      = list
   Comment   = The error reporting level.

The server is using 5.4 as Native.

As a user, in cPanel, if I go into "Sel ect PHP Version" and choose PHP 5.5, then Switch to Settings, this shows up:
     error_reporting  E_CORE_WARNING

My questions are:

1) Where is E_CORE_WARNING coming fr om?
2) Why is PHP Selector ignoring my default choice of "E_ALL & ~E_NOTICE" ?

As a test, I edited /opt/alt/php55/etc/php.ini, to change error_reporting to:
     error_reporting = E_ALL

Now, in cPanel PHP Selector, when I change to PHP 5.5 and view Settings, it now shows:
     error_reporting  E_ALL

This removed the problem with E_CORE_WARNING, but still... why is PHP Selector ignoring my default choice of "E_ALL & ~E_NOTICE" ?


- Scott
Rate this post:
  1. 25.03.2015 11:03:54
  2. # 1
Scott Neader Accepted Answer
Posts: 89
Joined: 12.06.2014
I opened a ticket on this, and after logging into our server and investigating, I received the following response:

Seems it's a bug and our developers are working on this -- it'll be fixed in the next version.
Great support, as always!  Thanks Igor and team!!

- Scott
  1. 12.04.2015 05:04:39
  2. # 2
Posts: 1
Joined: 12.04.2015
but i have the same problem.. 

so its not fixed again ?
  1. 12.04.2015 13:04:03
  2. # 3
Scott Neader Accepted Answer
Posts: 89
Joined: 12.06.2014
Hi Richard.  I just updated my ticket to ask if it's been fixed or not (since it's still not working) and I was told that it was NOT yet fixed.

- Scott
  • Page :
  • 1

There are no replies made for this post yet.
Be one of the first to reply to this post!
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.

EU e-Privacy Directive

We use cookies to ensure you get the best experience using our website and services. Read more about it in our Privacy Policy. Please agree to the use of cookies to proceed. Alternatively, you may disable cookies in your browser at any time.

You have declined cookies. This decision can be reversed.

You have allowed cookies to be placed on your computer. This decision can be reversed.