VPS侦探论坛

 找回密码
 注册
查看: 3353|回复: 3

升级php7.2出错

[复制链接]
发表于 2020-11-26 17:40:49 | 显示全部楼层 |阅读模式

本帖最后由 liguilin 于 2020-11-26 17:46 编辑

升级失败后,发现php也被卸载了,附件已上传,麻烦帮忙看看系统是cetnos7.6

Composer install successfully.
Install ZendGuardLoader for PHP 7...
unavailable now.
Creating new php-fpm configure file...
Copy php-fpm init.d file...
+-------------------------------------------+
|    Manager for LNMP, Written by Licess    |
+-------------------------------------------+
|              https://lnmp.org             |
+-------------------------------------------+
Starting LNMP...
Starting nginx...  done
Starting MySQL. SUCCESS!
Starting php-fpm /etc/init.d/php-fpm: line 57: /usr/local/php/sbin/php-fpm: No such file or directory
failed



本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2020-11-26 19:29:15 | 显示全部楼层


ext/curl/.libs/multi.o: In function `_php_server_push_callback':
/root/lnmp1.7-full/src/php-7.2.31/ext/curl/multi.c:524: undefined reference to `curl_pushheader_bynum'

有可能你系统上的curl自己编译curl升级过或做过类似的操作

不管是nginx、php、mysql升级都是备份了的,可以安装升级教程里面的步骤恢复原版本
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2020-12-1 09:22:11 | 显示全部楼层

licess 发表于 2020-11-26 19:29
有可能你系统上的curl自己编译curl升级过或做过类似的操作

不管是nginx、php、mysql升级都是备份了的,可 ...

是的,我编译过curl,让他支持http2.恢复原来是没有问题,编译了curl后,我想直接用lnmp重新编译一次php,这个有办法解决吗?
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2020-12-1 18:23:39 | 显示全部楼层



liguilin 发表于 2020-12-1 09:22
是的,我编译过curl,让他支持http2.恢复原来是没有问题,编译了curl后,我想直接用lnmp重新编译一次php ...

lnmp的本来就是支持http2的,不需要自己做改动
恢复原来的,并重新reinstall curl及devel包
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-21 08:13 , Processed in 0.026915 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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