Found 404 displays distal php file can not be found when requested php file.
Was discovered later after server restart php-fpm is not turned on, the reason is because you want to open:
Nginx default does not support PHP file, you need to open the php-fpm (if there are php-fpm, 1 may not open, 2 see. directory misplaced when the online tutorial);
After seven centos needs
systemctl start php-fpm //这次启动,下次服务器重启不会自动启动
或者
systemctl enable php-fpm //开机自启动