View previous topic :: View next topic |
Author |
Message |
dylan_stark Tux's lil' helper
Joined: 30 Aug 2005 Posts: 135 Location: Belgrade, Serbia
|
Posted: Wed Oct 09, 2013 12:35 pm Post subject: nginx and php-fpm not showing php errors |
|
|
I can't make nginx and php-fpm to display or even log PHP errors!
I've been running in circles all morning and don't know where to look anymore.
in php.ini
display_errors = On
log_errors = On
in php-fpm.conf
php_flag[display_errors] = on
;php_admin_value[error_log] = /var/log/fpm-php.www.log
php_admin_flag[log_errors] = on
;php_admin_value[memory_limit] = 32M
catch_workers_output = yes
error_log = /var/log/php-fpm.log
But logs are not showing anywhere!! |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
dylan_stark Tux's lil' helper
Joined: 30 Aug 2005 Posts: 135 Location: Belgrade, Serbia
|
Posted: Wed Oct 09, 2013 1:41 pm Post subject: |
|
|
PHP is working fine.
Just can't see errors |
|
Back to top |
|
|
dylan_stark Tux's lil' helper
Joined: 30 Aug 2005 Posts: 135 Location: Belgrade, Serbia
|
Posted: Wed Oct 09, 2013 1:49 pm Post subject: |
|
|
Solved!
It was opcache "problem" in PHP!!
One general lesson learned.
Start with basic configuration, make sure everything works and that add features one by one. |
|
Back to top |
|
|
|