Solution to php-fpm500 error: first edit "php.ini" and turn on the error prompt; then edit the "php-fpm.conf" file and add "php_flag[display_errors]=on"; finally restart" php-fpm".
Recommended: "PHP Video Tutorial"
Open php error message php-fpm restart nginx 500 error solution The wdlinux lnmp one-click package php script cannot be parsed and executed...
Edit php.ini to open the error prompt
display_errors = On
Edit the php-fpm.conf file
Add php_flag[display_errors] = on at the end
Restart php-fpm
/etc/init.d/php-fpm restart
Restart nginx
nginx -s reload
The above is the detailed content of How to solve the problem of php-fpm 500 error. For more information, please follow other related articles on the PHP Chinese website!