Debugging PHP
| From: | Glen Lee Edwards | Date: | Wed, 23 Oct 2002 14:12:37 +0000 |
| Subject: | Debugging PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-121091@lists.php.net to get a copy of this message | ||
New to PHP: How do I debug a PHP script - where do I look for the error
messages? When a script dies due to a syntax error, I've checked the
apache error log, but it doesn't show anything. I've been able to
debug the scripts by commenting out new lines I've written in until it
works, then one by one uncommenting them until it doesn't. It would
help if I could find a place where it says which line killed the
script.
Regards,
Glen