RE: [PHP] Logging Errors to a File

From: Date: Wed, 15 May 2002 16:13:09 +0000
Subject: RE: [PHP] Logging Errors to a File
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-97749@lists.php.net to get a copy of this message
OOps ... typo in the message below. What I meant to say was I tried setting these two parameters in my .htaccess file. When I do a phpinfo() I see that error_log has been set, but the log_errors value doesn't seem to change. It remains off no matter what I do. > -----Original Message----- > From: Jonathan Rosenberg [mailto:jr@tabbysplace.org] > Sent: Wednesday, May 15, 2002 11:45 AM > To: php-general@lists.php.net > Subject: [PHP] Logging Errors to a File > > > I am using an Apache webserver w/ PHP provided by a > hosting company & I can't seem to get PHP errors > logged to a file. > > From reading the docs, my understanding is that I need > to set error_log to the name of a file & set > log_errors to on in the php.ini file (.htaccess, in my > case). Is this correct? > > I tried setting these two parameters in my .htaccess > file. When I do a phpinfo() I see that error_log has > been set, but the error_log value doesn't seem to > change. It remains off no matter what I do. > > I'm wondering whether the hosting company may not > allow this value to be overridden. Does this make sense? > > Any other thoughts? > > -- > JR > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#97749) next »