aka134652 发表于 2021-12-1 15:58:28

离线安装提示还是要连接soft.vpser.net

你好,军哥,请问为什么我按教程下载了镜像iso文件,设置了yum源之后,执行CheckMirror=n ./install.sh lnmp,到了安装php的时候还是提示要连接外网呢

Installing shared extensions:   /usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/
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/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.4.4
Console_Getopt - installed: 1.4.1
Structures_Graph- installed: 1.1.1
XML_Util       - installed: 1.4.3
PEAR         - installed: 1.10.7
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/php/etc/pear.conf
You may want to add: /usr/local/php/lib/php to your php.ini include_path
/usr/local/src/lnmp1.7-full/src/php-5.6.40/build/shtool install -c ext/phar/phar.phar /usr/local/php/bin
ln -s -f 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
Downloading Composer...
--2021-12-01 15:48:22--https://soft.vpser.net/web/php/composer/composer.phar
Resolving soft.vpser.net (soft.vpser.net)... 81.70.180.148
Connecting to soft.vpser.net (soft.vpser.net)|81.70.180.148|:443... failed: Connection timed out.
Retrying.

--2021-12-01 15:50:24--(try: 2)https://soft.vpser.net/web/php/composer/composer.phar
Connecting to soft.vpser.net (soft.vpser.net)|81.70.180.148|:443... failed: Connection timed out.
Retrying.

--2021-12-01 15:52:26--(try: 3)https://soft.vpser.net/web/php/composer/composer.phar
Connecting to soft.vpser.net (soft.vpser.net)|81.70.180.148|:443... failed: Connection timed out.
Giving up.

Composer install failed, try to from composer official website...
Composer install successfully.
Install ZendGuardLoader for PHP 5.6...
Notice:not found!!!download now...
--2021-12-01 15:54:26--https://soft.vpser.net/web/zend/zend-loader-php5.6-linux-x86_64.tar.gz
Resolving soft.vpser.net (soft.vpser.net)... 81.70.180.148
Connecting to soft.vpser.net (soft.vpser.net)|81.70.180.148|:443...

licess 发表于 2021-12-1 19:31:28

之前的版本上判断稍微有些bug,但不影响正常安装

aka134652 发表于 2021-12-1 20:05:22

licess 发表于 2021-12-1 19:31
之前的版本上判断稍微有些bug,但不影响正常安装

不行啊,到了后面安装就一直停在Install ZendGuardLoader for PHP 5.6...这里,一直在尝试连接soft.vpser.net
而且我看了下载的源的packages里面也没有zend-loader-php5.6-linux-x86_64.tar.gz这个包

licess 发表于 2021-12-2 08:15:18

aka134652 发表于 2021-12-1 20:05
不行啊,到了后面安装就一直停在Install ZendGuardLoader for PHP 5.6...这里,一直在尝试连接soft.vpser ...

系统上没特别设置的话wget重试几次就不再下载,不行就改一下源码找到Download_Files 开头,最后面是 zend-loader-php5.6-linux-x86_64.tar.gz 的行删掉
lnmp上一直就没有过packages的目录,所有源码均在src 目录下

aka134652 发表于 2021-12-2 10:47:56

licess 发表于 2021-12-2 08:15
系统上没特别设置的话wget重试几次就不再下载,不行就改一下源码找到Download_Files 开头,最后面是 zend ...

请问军哥,这个Download_Files是在哪一个源码文件里面?

licess 发表于 2021-12-2 19:30:06

aka134652 发表于 2021-12-2 10:47
请问军哥,这个Download_Files是在哪一个源码文件里面?

include/php.sh
页: [1]
查看完整版本: 离线安装提示还是要连接soft.vpser.net