flip79
Jun 19th 2009, 1:00 pm
Hello,
(sorry for my english)
I'm trying to configure my server to log every error that is triggered by php, so I activated:
log_errors = On
error_log = /var/log/php/php_errors.log
Now errors from every site that is running on apache logs its php errors on that file. Unfortunately, I find this log not very useful, because it reports the name of the script that caused the error, but without the query string, or the post data, so I often can't determine and recreate the situation, to fix it.
Is there a way to make php log more informations about the errors, for example the full URL?
Thank you in advance!
(sorry for my english)
I'm trying to configure my server to log every error that is triggered by php, so I activated:
log_errors = On
error_log = /var/log/php/php_errors.log
Now errors from every site that is running on apache logs its php errors on that file. Unfortunately, I find this log not very useful, because it reports the name of the script that caused the error, but without the query string, or the post data, so I often can't determine and recreate the situation, to fix it.
Is there a way to make php log more informations about the errors, for example the full URL?
Thank you in advance!