david winter

Interested in working with me?

I'm currently available for small projects between December and February, and larger ones thereafter.

Interested? Lets have a chat: i@djw.me or @davidwinter ×

Enable PHP error logging

In php.ini:

display_errors = Off
log_errors = On
error_log = /var/log/php-errors.log

Make the log file, and writable by www-data:

sudo touch /var/log/php-errors.log
sudo chown www-data:www-data /var/log/php-errors.log


June 14, 2009

Questions? Comments? Your 2¢'s? → @davidwinter