Re: shell script - disable log output
| From: | Jason Barnett | Date: | Wed, 09 Mar 2005 21:24:53 +0000 |
| Subject: | Re: shell script - disable log output | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-210365@lists.php.net to get a copy of this message | ||
Eli wrote:
>> I suppose error_log("My error message", 3, "/dev/null") would work.
>
http://php.net/manual/en/ref.errorfunc.php#ini.error-log
try:
ini_set('error_log', null)
--
Teach a man to fish...
NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA | http://marc.theaimsgroup.com/?l=php-general&w=2
STFM | http://php.net/manual/en/index.php
STFW | http://www.google.com/search?q=php
LAZY |
http://mycroft.mozdev.org/download.html?name=PHP&submitform=Find+search+plugins
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc