VPS侦探论坛

 找回密码
 注册
查看: 3994|回复: 1

lnmpa1.1升级php报错

[复制链接]
发表于 2015-9-17 23:00:08 | 显示全部楼层 |阅读模式

Download php-5.6.13.tar.gz successfully!
============================check files==================================
Backup old php version configure files......
Stoping Nginx...
Stoping nginx...  done
Stoping MySQL...
Shutting down MySQL
. *
Stoping Apache...
httpd: Syntax error on line 362 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/modules/libphp5.so into server: /usr/local/apache/modules/libphp5.so: cannot open shared object file: No such file or directory
Starting install php......




中间略去N多行安装过程的信息




Starting Nginx...
Starting nginx...  done
Starting MySQL...
Starting MySQL
. *
Starting Apache...
httpd: Syntax error on line 362 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/modules/libphp5.so into server: /usr/local/apache/modules/libphp5.so: cannot open shared object file: No such file or directory
=========================================================================
You have successfully upgrade PHP of LNMPA from 5.6.7 to 5.6.13
=========================================================================


虽然提示安装成功,但是php -v的时候,仍然提示找不到php的相关文件,到此,网站502 错误
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2015-9-18 09:56:03 | 显示全部楼层


你这个之前php就没安装成功

而且最重要的安装过程还来个省略。。
上传完整的安装日志
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-17 04:37 , Processed in 0.025411 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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