- 积分
- 7
- 威望
-
- 金钱
-
- 注册时间
- 2022-11-20
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
第一次安装 lnmp 选择了 php8
然后用mphp 安装了7.3, 之后访问/phpapi/b.php 就404了,
---------------------
nginx error log:
2022/11/20 23:11:06 [error] 30422#0: *1 FastCGI sent in stderr: "Unable to open primary script: /home/......./phpapi/b.php (No such file or directory)"
while reading response header from upstream, client: 127.0.0.1, server: xxx.net, request: "GET /phpapi/b.php HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "xxx.net"
2022/11/20 23:11:06 [info] 30422#0: *1 client 127.0.0.1 closed keepalive connection
看样子是php fpm不能正常运行
|
|