PHP Logging problem
| From: | Edward Prendergast | Date: | Thu, 11 Dec 2003 12:10:26 +0000 |
| Subject: | PHP Logging problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-172462@lists.php.net to get a copy of this message | ||
Hi,
I’m having a problem when I try and log to a file.
I cracked open /etc/php.ini and altered the following settings:
error_reporting = E_ALL
log_errors = On
error_log = /path/to/file.htm
The problem I'm having here is that file.htm produces one error when I
reload apache - but isn't accepting any other error, notice, etc messages
and I can't figure out why. I've checked the bugs list and nothing seems to
come up under this.
The only error it makes a note of is as follows:
[11-Dec-2003 09:55:36] PHP Warning: Cannot open 'extra/browscap.ini' for
reading in Unknown on line 0
I realise that logging this way creates a higher overhead but it's an
acceptable price for what I'm working on.
The system is as follows:
Linux 2.4.18-18.7.x i686
PHP 4.3.2
Many thanks,
Edward
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.518 / Virus Database: 316 - Release Date: 11/09/2003