PHP Selector игнорирует мои настройки по умолчанию для 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
   Range     = ~E_ALL,E_ALL & ~E_NOTICE,E_ALL,E_ALL & ~E_NOTICE & ~E_DEPRECATED
   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" ?

Thanks!

- Scott
Rate this post:
  1. 25.03.2015 11:03:54
  2. # 1
Scott Neader Accepted Answer
Posts: 89
Joined: 12.06.2014
0
Votes
Undo
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
RICHARD LINCOURT Accepted Answer
Posts: 1
Joined: 12.04.2015
0
Votes
Undo
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
0
Votes
Undo
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)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.