Where is the php error log location

Don

Verified User
Joined
Mar 7, 2020
Messages
5
Where is the php error log location inside Directadmin for a normal access user without SSH. Can it be locate inside Directadmin user panel?
 

scriptkitty

Verified User
Joined
Jul 10, 2019
Messages
149
Do you see an error_log or similar in your site's document root? Perhaps via File Manager?
 

Richard G

Verified User
Joined
Jul 6, 2008
Messages
5,254
Location
Maastricht
Aren't php errors also logged in your domains error logfile? You should be able to visit that one via your DA panel as user under Site Summary / Statistics / Logs.

Otherwise, in apache, you could add something like this temporarily in the .htaccess file:
Code:
php_flag display_startup_errors on
php_flag display_errors on
php_flag html_errors on
php_flag  log_errors on
php_value error_log  /home/user/domains/domain.com/public_html/PHPERROR.log
 

Richard G

Verified User
Joined
Jul 6, 2008
Messages
5,254
Location
Maastricht
@wattie That's the same I pointed out in my first reply "Site Summary / Statistics / Logs".
Those are the webserver domain error logs. They do not always show all php errors as I discovered. That's why I wrote the additional .htaccess option.
 
Top