VPS侦探论坛

 找回密码
 注册
查看: 2818|回复: 2

lnmp1.4安装多版本PHP出错

[复制链接]
发表于 2018-7-19 13:09:10 | 显示全部楼层 |阅读模式

lnmp1.4 已经安装了php5.4 正常运行 现在需要再安装一个PHP 7.1版本.通过官网脚本安装出错.附上安装日志.希望军哥或其他大神能尽快解答一下.谢谢

本帖子中包含更多资源

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

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


安装日志安装了几个依赖包后.提示是安装成功了,但是貌似没启动..vhost add的时候也没有PHP版本的选择.是啥情况?
Warning! a PEAR user config file already exists from a previous PEAR installation at '/root/.pearrc'. You may probably want to remove it.
Wrote PEAR system config file at: /usr/local/php7.1/etc/pear.conf
You may want to add: /usr/local/php7.1/lib/php to your php.ini include_path
/root/lnmp1.4/src/php-7.1.7/build/shtool install -c ext/phar/phar.phar /usr/local/php7.1/bin
ln -s -f phar.phar /usr/local/php7.1/bin/phar
Installing PDO headers:           /usr/local/php7.1/include/php/ext/pdo/
Copy new php configure file...
Modify php.ini......
Install ZendGuardLoader for PHP 7.1...
unavailable now.
Write ZendGuardLoader to php.ini...
Creating new php-fpm configure file...
Copy php-fpm init.d file...
Add php-fpm7.1 service at system startup...
+-------------------------------------------+
|    Manager for LNMP, Written by Licess    |
+-------------------------------------------+
|              http://lnmp.org              |
+-------------------------------------------+
Starting LNMP...
Starting nginx...  done
Starting MySQL.[  OK  ]
Starting php-fpm  done
===========================================
You have successfully install php-7.1.7 
===========================================
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2018-7-19 16:32:26 | 显示全部楼层

回复 2# 的帖子


/etc/init.d/php-fpm7.1 restart 重启试一下
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-19 11:24 , Processed in 0.026268 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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