Created
February 19, 2014 12:42
-
-
Save liverbool/9091219 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://askubuntu.com/questions/14763/where-are-the-apache-and-php-log-files | |
Check this settings in PHP.INI: | |
error_reporting = E_ALL | E_STRICT (as recommended for development in php.ini) | |
error_log = /var/log/php_errors.log | |
Then create log file manually | |
touch /var/log/php_errors.log | |
chown www-data: /var/log/php_errors.log | |
chmod +rw /var/log/php_errors.log | |
Now you can view PHP errors by this way | |
tail /var/log/php_errors.log | |
This is a solution to this issue for me. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment