User error_log files not being created. Also not listed in cPanel Error Log area.

Solokron

Well-Known Member
Aug 8, 2003
850
1
168
Seattle
cPanel Access Level
DataCenter Provider
php.ini does include a non-remarked:

log_errors = On

RUID2, PHP 5.3.27 (cli) (built: Dec 9 2013 06:22:32)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies
with XCache v3.0.3, Copyright (c) 2005-2013, by mOo
with the ionCube PHP Loader v4.4.1, Copyright (c) 2002-2013, by ionCube Ltd., and
with Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies
with XCache Cacher v3.0.3, Copyright (c) 2005-2013, by mOo

/usr/local/apache/logs/error_log is being wrote to fine.
 

quietFinn

Well-Known Member
Feb 4, 2006
1,071
32
178
Finland
cPanel Access Level
Root Administrator
When
log_errors = On
it means that errors are logged.
If you want that errors are logged in file "error_log" you must have line:
error_log = error_log
in php.ini

PHP's error_log has never been listed in cPanel's error log area.
 

Solokron

Well-Known Member
Aug 8, 2003
850
1
168
Seattle
cPanel Access Level
DataCenter Provider
That is correct. As mentioned, these settings are in place and no error_log is created on a user account basis.



When
log_errors = On
it means that errors are logged.
If you want that errors are logged in file "error_log" you must have line:
error_log = error_log
in php.ini

PHP's error_log has never been listed in cPanel's error log area.
- - - Updated - - -

I am suspecting this is a result of RUID2.

- - - Updated - - -

As for...

PHP's error_log has never been listed in cPanel's error log area.
cPanel displays the contents of the error_log in the users account, also as mentioned.
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,233
363
cPanel Access Level
DataCenter Provider
Twitter
That is correct. As mentioned, these settings are in place and no error_log is created on a user account basis.
Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome.

Thank you.