PHP-FPM doesn't write to error log

前端 未结 11 1118
予麋鹿
予麋鹿 2020-11-27 09:12

I\'ve just installed a nginx+php-fpm server. Everything seems fine except that PHP-FPM never writes error to its log.

fpm.conf

[default]
listen = /va         


        
11条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-11-27 10:02

    Check the Owner directory of "PHP-FPM"

    You can do:

    ls -lah /var/log/php-fpm/
    chown -R webusr:webusr /var/log/php-fpm/
    chmod -R 777 /var/log/php-fpm/
    

提交回复
热议问题