Home  >  Article  >  Backend Development  >  How to solve the problem of php-fpm 500 error

How to solve the problem of php-fpm 500 error

藏色散人
藏色散人Original
2020-10-15 11:05:503076browse

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".

How to solve the problem of php-fpm 500 error

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn