ohmyga 发表于 2016-7-9 13:18:27

安装lnmp 1.3 卡住不动了

阿里云 新买的机器
# uname -a
Linux xxx 2.6.32-573.22.1.el6.x86_64 #1 SMP Wed Mar 23 03:35:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
# cat /etc/redhat-release
CentOS release 6.5 (Final)




Installing PHP CLI binary:      /usr/local/php/bin/
Installing PHP CLI man page:      /usr/local/php/php/man/man1/
Installing PHP FPM binary:      /usr/local/php/sbin/
Installing PHP FPM config:      /usr/local/php/etc/
Installing PHP FPM man page:      /usr/local/php/php/man/man8/
Installing PHP FPM status page:      /usr/local/php/php/fpm/
Installing PHP CGI binary:      /usr/local/php/bin/
Installing PHP CGI man page:      /usr/local/php/php/man/man1/
Installing build environment:   /usr/local/php/lib/php/build/
Installing header files:          /usr/local/php/include/php/
Installing helper programs:       /usr/local/php/bin/
program: phpize
program: php-config
Installing man pages:             /usr/local/php/php/man/man1/
page: phpize.1
page: php-config.1
Installing PEAR environment:      /usr/local/php/lib/php/
Archive_Tar    - installed: 1.3.12
Console_Getopt - installed: 1.3.1
Structures_Graph- installed: 1.0.4
XML_Util       - installed: 1.2.3
PEAR         - installed: 1.9.5
Wrote PEAR system config file at: /usr/local/php/etc/pear.conf
You may want to add: /usr/local/php/lib/php to your php.ini include_path
/root/lnmp1.3-full/src/php-5.4.45/build/shtool install -c ext/phar/phar.phar /usr/local/php/bin
ln -s -f /usr/local/php/bin/phar.phar /usr/local/php/bin/phar
Installing PDO headers:          /usr/local/php/include/php/ext/pdo/
Copy new php configure file...
Modify php.ini......
config-set succeeded
config-set succeeded

licess 发表于 2016-7-9 14:45:40

日志里没有具体错误信息,在pecl安装那边卡住了,换个php版本试试

xuelon 发表于 2016-7-9 17:22:09

安装 php5.5和楼主一样的问题,阿里云

licess 发表于 2016-7-9 20:38:59

回复 3# 的帖子

将include/php.sh 里的要安装版本里对应的Pear_Pecl_Set前加上#注释掉看看

另外有可能是Composer安装有关,Composer的官网地址是国外的国内有可能无法访问可以一块将对应php安装里面的Install_Composer 前加#注释掉
试试看看
页: [1]
查看完整版本: 安装lnmp 1.3 卡住不动了