Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Finding where PHP errors are logged on Ubuntu server?

I can't find the PHP error logs are on the ubuntu server.

Checking phpinfo() has "no value" for error_log. If I run a locate error_log I get nothing for the domain I am working with. This site is on a shared server, so I'm not sure I'll be able to change anything in php.ini -

Where are the PHP error logs?

like image 471
bsod99 Avatar asked Feb 06 '12 22:02

bsod99


1 Answers

Check the main Apache error log for the host:

/var/log/apache2/error.log

like image 179
cEz Avatar answered Oct 05 '22 04:10

cEz