VPS侦探论坛

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

lnmp 1.3 安装php失败求助

[复制链接]
发表于 2016-9-14 11:27:48 | 显示全部楼层 |阅读模式

无网络环境下nginx和mysql 安装成功,php安装失败,通过rpm包安装了依赖好像也无法解决问题,求助!!!

单独编译php模块也不行


checking whether to enable internationalization support... yes
checking for icu-config... no
checking for location of ICU headers and libraries... not found
configure: error: Unable to detect ICU prefix or no failed. Please verify ICU install prefix and make sure icu-config works.
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.
Copy new php configure file...
Modify php.ini......
include/php.sh: line 22: pear: command not found
include/php.sh: line 23: pecl: command not found
include/php.sh: line 28: php: command not found
curl: (6) Couldn't resolve host 'getcomposer.org'
Install ZendGuardLoader for PHP 5.6...
Notice:  not found!!!download now...
--2016-09-14 11:02:22--  http://soft.vpser.net/web/zend/zend-loader-php5.6-linux-x86_64.tar.gz
Resolving soft.vpser.net... 45.34.93.228, 2600:3c01::f03c:91ff:fe96:d57a
Connecting to soft.vpser.net|45.34.93.228|:80... failed: Connection timed out.
Connecting to soft.vpser.net|2600:3c01::f03c:91ff:fe96:d57a|:80... failed: Network is unreachable.
Write ZendGuardLoader to php.ini...
Creating new php-fpm configure file...
Copy php-fpm init.d file...
cp: cannot stat `/home/appadmin/lnmp1.3-full/src/php-5.6.22/sapi/fpm/init.d.php-fpm': No such file or directory
chmod: cannot access `/etc/init.d/php-fpm': No such file or directory
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-9-14 12:20:10 | 显示全部楼层


只按这个错误信息是缺少libicu-devel包

无网络是很难完整安装好所有依赖包的
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-16 23:37 , Processed in 0.025348 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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