See the following can be set to the next method nginx php-fpm php error log is not recorded:
1, modify the php-fpm.conf configuration, if not please add:
Copy the code code is as follows:
[global]
error_log = log/php_fpm.log
[www]
catch_workers_output = yes
2. Modify the php.ini configuration, there is no increase:
Copy the code code is as follows:
log_errors = On
error_log = log/php_error_log
error_reporting=E_ALL&~E_NOTICE
error_reporting=E_ALL & ~E_DEPRECATED & ~E_STRICT
3. restart php-fpm
systemctl restart php-fpm
When PHP execution error will be able to see the error log in "/ usr / local / php / var / log / php_error_log" in the