« Further modification of the housing form | Main | Downgrading from PHP 5.3 to 5.2 all for Drupal »

January 18, 2011

Logging php errors

Note schmotes...

Configure php.ini

$ sudo nano /etc/php5/apache2/php.ini

log_errors = On
error_log = /var/log/apache2/php_errors.log

$ sudo /etc/init.d/apache2 restart


View the log:
$ less /var/log/apache2/php_errors.log


Posted by kkwaiser at January 18, 2011 11:26 AM

Comments

Login to leave a comment. Create a new account.