# Probably a php issue but maybe not, error reporting

**URL:** <https://www.ruby-forum.com/t/probably-a-php-issue-but-maybe-not-error-reporting/201661>\
**Category:** NGINX\
**Created:** [January 12, 2011, 2:52pm UTC](https://www.ruby-forum.com/t/probably-a-php-issue-but-maybe-not-error-reporting/201661 "2011-01-12T14:52:48Z")\
**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:** [January 12, 2011, 2:52pm UTC](https://www.ruby-forum.com/t/probably-a-php-issue-but-maybe-not-error-reporting/201661/1 "2011-01-12T14:52:48Z")

</div>

Hi All,

I have 2 sites configured in my Nginx configuration (i.e. two server  
blocks). The sites each point to a different root directory but run  
through  
the same php-fpm process via a fastcgi\_pass. PHP script errrors are  
reporting via the nginx error log, they are also reporting via the php  
error  
log file (configured in php.ini) on site1.

PHP errors on site2 are not reporting via the php error log file. Any  
suggestions?

Thanks

---

<div class="post-metadata">

**Author:** ![iberci](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/a3d4f5/32.png) [@iberci](https://www.ruby-forum.com/u/iberci)\
**Post date:** [January 16, 2011, 10:46am UTC](https://www.ruby-forum.com/t/probably-a-php-issue-but-maybe-not-error-reporting/201661/2 "2011-01-16T10:46:06Z")

</div>

Please provide nginx, php-fpm and php configs.
