Re: Need help with using htaccess to override php.ini error
| From: | Al | Date: | Tue, 24 Aug 2004 18:48:41 +0000 |
| Subject: | Re: Need help with using htaccess to override php.ini error | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-194625@lists.php.net to get a copy of this message | ||
test
Al wrote:
The php.ini is already set to log errors and it works; but, they are appended to the system log. Just for the heck of it I tried; but it doesn't work. php_value error_reporting 2047 php_value log_errors TRUEphp_value error_log "./errors.txt" [and the full path string]John Holmes wrote:From: "Al" <news@ridersite.org>Per the documentation, error_reporting must use the bitmask values form. And, that works great. However, I can't get the errors to log in a special file. They insist on being logged in the system's error log file.There is a "log_errors" setting and a "error_log" setting. Try setting the "log_errors" value. http://us3.php.net/manual/en/ref.errorfunc.php#ini.log-errors ---John Holmes...