Home  >  Article  >  Operation and Maintenance  >  PHP error 404 in linux system

PHP error 404 in linux system

王林
王林Original
2019-10-16 16:11:163645browse

PHP error 404 in linux system

PHP error 404 in Linux system

Reason for error:

php-fpm is not open 9000 monitoring.

Solution steps:

1. Change listen = /tmp/php-cgi.sock in php-fpm.conf to listen = 127.0.0.1:9000

2. Restart php

Restart command:

service php-fpm restart

Recommended tutorial: Linux video tutorial

The above is the detailed content of PHP error 404 in linux system. 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