Re: [PHP] Need help with using htaccess to override php.ini error settings

2004-08-24 Thread Al
Everything is working, thanks to you and Jason. The key was that I had to provide a seed file since error_log only appends messages to an existing file and doesn't create one if it does not exist. Al John Holmes wrote: From: "Al" <[EMAIL PROTECTED]> php_value error_log /home/jones/publi

Re: [PHP] Need help with using htaccess to override php.ini error settings

2004-08-24 Thread John Holmes
From: "Al" <[EMAIL PROTECTED]> php_value error_log /home/jones/public_html/AutoSch/errors.txt #This doesn't work either. Anyone know how to write the errors to a file? The documentation says it should work. It should. What are the permissions on the above file? Does the apache/php user have perm

Re: [PHP] Need help with using htaccess to override php.ini error

2004-08-24 Thread Al
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 TRUE php_value error_log "./errors.txt"[and the full path string] Joh

Re: [PHP] Need help with using htaccess to override php.ini error settings

2004-08-24 Thread Al
Here is what I having working so far: php_value error_reporting 2# Just warnings, which is what I want php_flag log_errors 1 #this turns logging on and off in the syslog php_flag display_errors 1 #this turns error display at client's br

Re: [PHP] Need help with using htaccess to override php.ini error settings

2004-08-24 Thread Al
Here is what I having working so far: php_value error_reporting 2# Just warnings, which is what I want php_flag log_errors 1 #this turns logging on and off in the syslog php_flag display_errors 1 #this turns error display at client's br

Re: [PHP] Need help with using htaccess to override php.ini error settings

2004-08-24 Thread Al
Here is what I having working so far: php_value error_reporting 2# Just warnings, which is what I want php_flag log_errors 1 #this turns logging on and off in the syslog php_flag display_errors 1 #this turns error display at client's br

Re: [PHP] Need help with using htaccess to override php.ini error settings

2004-08-24 Thread Jason Wong
On Tuesday 24 August 2004 23:37, 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 TRUE > > php_value error_log "./error

Re: [PHP] Need help with using htaccess to override php.ini error settings

2004-08-24 Thread Al
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 TRUE php_value error_log "./errors.txt"[and the full path string] John Holmes wrote

Re: [PHP] Need help with using htaccess to override php.ini error settings

2004-08-24 Thread Jason Wong
On Tuesday 24 August 2004 23:15, John Holmes wrote: > There is a "log_errors" setting and a "error_log" setting. Try setting the > "log_errors" value. To be absolutely clear, you need both, enable log_errors and specify error_log. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open S

Re: [PHP] Need help with using htaccess to override php.ini error settings

2004-08-24 Thread John Holmes
From: "Al" <[EMAIL PROTECTED]> 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"

Re: [PHP] Need help with using htaccess to override php.ini error settings

2004-08-24 Thread Al
Thanks, that has me started. 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. I've tried: php_value error_log "errors.txt" with

Re: [PHP] Need help with using htaccess to override php.ini error settings

2004-08-24 Thread John Holmes
From: "Al" <[EMAIL PROTECTED]> I need to active php error level "Warning" and log the errors in a file for my whole Apache virtual website. It is clear how to do everything on a script-by-script basis; but, I need to do it across the site. http://us2.php.net/manual/en/configuration.changes.php

[PHP] Need help with using htaccess to override php.ini error settings

2004-08-24 Thread Al
I need to active php error level "Warning" and log the errors in a file for my whole Apache virtual website. It is clear how to do everything on a script-by-script basis; but, I need to do it across the site. I can't find any direct documentation to help. The php manual and Apache directives