VPS侦探论坛

 找回密码
 注册
查看: 3038|回复: 4

lnmp1.8安装php8再安装7.3,502错误

[复制链接]
发表于 2022-1-25 22:59:55 | 显示全部楼层 |阅读模式

启动服务器后php7.3的站点出现502错误,默认php8的站点正常。
ng log:
connect() to unix:/tmp/php-cgi7.3.sock failed (2: No such file or directory) while connecting to upstream, client:

lnmp restart出现错误提示

Gracefully shutting down php-fpm . done
Gracefully shutting down php-fpm warning, no pid file found - php-fpm is not running ?


但运行restart后服务器就正常了

美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2022-1-25 23:08:12 | 显示全部楼层


debian10-64bit
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2022-1-26 19:58:37 | 显示全部楼层

php7.3可能没开机启动,什么原因不好确定
lnmp 1.7+,比较新的linux发行版参考:https://bbs.vpser.net/thread-25301-1-1.html
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2022-1-27 20:53:43 | 显示全部楼层



licess 发表于 2022-1-26 19:58
php7.3可能没开机启动,什么原因不好确定
lnmp 1.7+,比较新的linux发行版参考:https://bbs.vpser.net/thr ...

想加到rc.local里,但没找到该文件。可能debian10 的自动启动作了变动
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2022-1-28 20:54:15 | 显示全部楼层

smartweb 发表于 2022-1-27 20:53
想加到rc.local里,但没找到该文件。可能debian10 的自动启动作了变动

debian 10+没有rc.local,一般都是使用systemd进行管理开机启动

军哥运维代购:http://shop63846532.taobao.com/

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-20 17:30 , Processed in 0.026506 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表