Is there are way to log PHP errors in fastcgi?

Frank Church vfclists at gmail.com
Fri Nov 5 14:48:23 MSK 2010


On 3 November 2010 23:58, Frank Church <vfclists at gmail.com> wrote:

>
>
> On 3 November 2010 00:38, Frank Church <vfclists at gmail.com> wrote:
>
>>
>> I have configured the virtual host with a custom php.ini which has the
>> error_log  value configured, but the file is empty, it is not created at
>> all.
>>
>> Does the FastCGI have another way to log the PHP errors?
>>
>>
>> --
>> Frank Church
>>
>> =======================
>> http://devblog.brahmancreations.com
>>
>
> Any help?
>
> Does nginx or the fastcgi module cause all the php errors to show in the
> main error log?
> The configuration is definitely correct, phpinfo() shows them both
> correctly, but the php error log is still not created.
>
>
> --
> Frank Church
>
> =======================
> http://devblog.brahmancreations.com
>


Output of phpinfo()

display_errors Off
display_startup_errors Off
error_log  /opt/manager_app/www/logs/php_error.log
log_errors  On
log_errors_max_len  1024

Everything appears to be set correctly.

Can something in the additional ini files affect it?



-- 
Frank Church

=======================
http://devblog.brahmancreations.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20101105/4ebcf7ed/attachment.html>


More information about the nginx mailing list