I just set up PHP and Apache and would like to find where the errors are going. What is the default path of the error logs in apache for PHP?
I just set up PHP and Apache and would like to find where the errors are going. What is the default path of the error logs in apache for PHP?
There are the locations in these popular operating systems:
RHEL / Red Hat / CentOS / Fedora Linux Apache error file location - /var/log/httpd/error_log
Debian / Ubuntu Linux Apache error log file location - /var/log/apache2/error.log
FreeBSD Apache error log file location - /var/log/httpd-error.log
The detailed answer about the Apache log files is here: http://www.cyberciti.biz/faq/apache-logs/
Try this:
Now you can view PHP errors by this way