Re: How to Separate PHP Errors to a file different than Apache Errors

From: Date: Sun, 24 Dec 2006 05:56:49 +0000
Subject: Re: How to Separate PHP Errors to a file different than Apache Errors
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-246185@lists.php.net to get a copy of this message
dear sir,
But Apache php errors generated by scripts served up by Apache as web pages
all show up in error_log. I'd like these Apache errors to go into php_errors so I can keep my "Apache:
file not found type errors" and "PHP Syntax" errors separate.
when u run a script, apache first accesses the script. if there are no errors, then passes the same to php. if errors are generated, the script is not passed to php.exe but immediately stopped. hence i cannot see a way to access apache errors in php...
Is this possible? Thanks again, Shanon
-- Thanking You Sumeet Shroff http://www.prateeksha.com Web Designers and PHP / Mysql Ecommerce Development, Mumbai India

« previous php.general (#246185) next »