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
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
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
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
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
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
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
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
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"
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
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
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
12 matches
Mail list logo