前一段时间一直在处理Nginx报错的问题,但是由于不影响网站访问就没有修复,最近感觉优化SEO遇到了问题,和这个报错有很大关系:
报错内容:
FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 201.215.126.213, server: hd1080.pro, request: "GET /wp-login.php HTTP/1.1", upstream: "fastcgi://unix:/data/myweb/sites/hd1080.pro/php-pool/php-fpm.sock:", host: "www.hd1080.pro"
然后按照网上的排错
执行命令
service nginx status
service php-fpm status
netstat -antp
第一个命令没有问题
第二个命令出现这样的提示:
Unit php-fpm.service could not be found.

请问怎么处理这个问题,困扰我很久,对我影响非常大,希望能得到解决方案