How to solve the problem of php-fpm 500 error

藏色散人
Release: 2023-03-06 17:12:01
Original
3263 people have browsed it

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
Copy after login

Edit the php-fpm.conf file

Add php_flag[display_errors] = on at the end

Restart php-fpm

/etc/init.d/php-fpm restart
Copy after login

Restart nginx

nginx -s reload
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template