adslmade 发表于 2016-11-19 16:52:43

安装时停在这一步不动了

Build complete.
Don't forget to run 'make test'.

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
All settings correct for using Composer
Downloading 1.2.2...
请问应该重新开始还是等?已经一个小时了

licess 发表于 2016-11-19 18:43:49

你的可能是国内的网络环境

可以修改 include/php.sh 将里面Install_Composer()
{
    curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
}删除掉后再重新安装

或者执行sed -i 's#curl -sS https://getcomposer.org/installer#curl -sS --connect-timeout 10 -m 60 https://getcomposer.org/installer#g' include/php.sh加上个超时时间
也可以使用1.4进行安装,1.4是有设置超时时间的
update:1.4已经添加了composer的国内下载地址

adslmade 发表于 2016-11-21 05:54:32

谢谢军哥:) :lol

zhuxueli 发表于 2017-4-11 12:15:23

回复 2# 的帖子

厉害,已解决,非常感谢:lol
页: [1]
查看完整版本: 安装时停在这一步不动了