sep 242012
 

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

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)