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!