# No error logging

**URL:** <https://www.ruby-forum.com/t/no-error-logging/207003>\
**Category:** NGINX\
**Created:** [May 16, 2011, 3:48am UTC](https://www.ruby-forum.com/t/no-error-logging/207003 "2011-05-16T03:48:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [May 16, 2011, 3:48am UTC](https://www.ruby-forum.com/t/no-error-logging/207003/1 "2011-05-16T03:48:44Z")

</div>

I’ve added an error\_log direction to the nginx.conf file, restarted  
nginx.  
However, it’s not logging php errors. What could be wrong?

---

<div class="post-metadata">

**Author:** ![Maksim\_Sosnovskiy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/9de0a6/32.png) [@Maksim\_Sosnovskiy](https://www.ruby-forum.com/u/Maksim_Sosnovskiy)\
**Post date:** [May 16, 2011, 4:22am UTC](https://www.ruby-forum.com/t/no-error-logging/207003/2 "2011-05-16T04:22:00Z")

</div>

## Maksim Sosnovskiy Wrote:

> I’ve added an error\_log direction to the  
> nginx.conf file, restarted nginx.  
> However, it’s not logging php errors. What could  
> be wrong?

Make sure your backend sends errors over fastcgi correctly. Although I’m  
not sure if it is even possible with php.

Posted at Nginx Forum:  
[http://forum.nginx.org/read.php?2,198357,198362#msg-198362](http://forum.nginx.org/read.php?2,198357,198362#msg-198362)
