|
Posted by Eli on 10/04/86 11:10
John Nichel wrote:
> Eli wrote:
>
>> From all the suggestions the script now looks like this:
>>
>> #!/usr/local/php5/bin/php -q
>> <?php
>> ob_start();
>> ini_set("error_log",null);
>> @error_log("My error message");
>> ob_end_clean();
>> ?>
>>
>> But it still output the error to the screen.. :(
>>
>
> I saw someone suggest this....
>
> error_log ( "My error message", 3, "/dev/null" );
>
> And that works fine on my machine...have you tried that?
>
Basically, I cannot change the line of the error_log() since it used in
extern lib. I can only add lines before the include (that calls it) to
prevent this, or call php with some other params (on the first exec line
#!/usr/...), but nothing helps so far for this situation.
Navigation:
[Reply to this message]
|