究竟是version.sh里哪个版本升级导致了PHP无法安装?
Modify php.ini......include/php.sh: line 23: pear: command not found
include/php.sh: line 24: pecl: command not found
include/php.sh: line 29: php: command not found
curl: (23) Failed writing body (0 != 16133)
Install ZendGuardLoader for PHP 7.0...
unavailable now.
Write ZendGuardLoader to php.ini...
Creating new php-fpm configure file...
Copy php-fpm init.d file...
version.sh里诸如autoconf都已经更新版本号且文件放到了src
nginx改用libressl编译,用lnmp.conf加了参数
#!/bin/bash
Autoconf_Ver='autoconf-2.69'
Libiconv_Ver='libiconv-1.15'
LibMcrypt_Ver='libmcrypt-2.5.8'
Mcypt_Ver='mcrypt-2.6.8'
Mhash_Ver='mhash-0.9.9.9'
Freetype_Ver='freetype-2.8'
Curl_Ver='curl-7.54.0'
Pcre_Ver='pcre-8.40'
Jemalloc_Ver='jemalloc-4.5.0'
TCMalloc_Ver='gperftools-2.5'
Libunwind_Ver='libunwind-1.2'
Libicu4c_Ver='icu4c-59_1'
Boost_Ver='boost_1_59_0'
Openssl_Ver='openssl-1.0.2k'
Nginx_Ver='nginx-1.12.0'
if [ "${DBSelect}" = "1" ]; then
Mysql_Ver='mysql-5.1.73'
elif [ "${DBSelect}" = "2" ]; then
Mysql_Ver='mysql-5.5.55'
elif [ "${DBSelect}" = "3" ]; then
Mysql_Ver='mysql-5.6.36'
elif [ "${DBSelect}" = "4" ]; then
Mysql_Ver='mysql-5.7.18'
elif [ "${DBSelect}" = "5" ]; then
Mariadb_Ver='mariadb-5.5.56'
elif [ "${DBSelect}" = "6" ]; then
Mariadb_Ver='mariadb-10.0.30'
elif [ "${DBSelect}" = "7" ]; then
Mariadb_Ver='mariadb-10.1.23'
fi
if [ "${PHPSelect}" = "1" ]; then
Php_Ver='php-5.2.17'
elif [ "${PHPSelect}" = "2" ]; then
Php_Ver='php-5.3.29'
elif [ "${PHPSelect}" = "3" ]; then
Php_Ver='php-5.4.45'
elif [ "${PHPSelect}" = "4" ]; then
Php_Ver='php-5.5.38'
elif [ "${PHPSelect}" = "5" ]; then
Php_Ver='php-5.6.30'
elif [ "${PHPSelect}" = "6" ]; then
Php_Ver='php-7.0.19'
elif [ "${PHPSelect}" = "7" ]; then
Php_Ver='php-7.1.4'
fi
if [[ "${PHPSelect}" = "1" || "${PHPSelect}" = "2" || "${PHPSelect}" = "3" ]]; then
PhpMyAdmin_Ver='phpMyAdmin-4.0.10.20-all-languages'
else
PhpMyAdmin_Ver='phpMyAdmin-4.7.0-all-languages'
fi
APR_Ver='apr-1.5.2'
APR_Util_Ver='apr-util-1.5.4'
if [ "${ApacheSelect}" = "1" ]; then
Apache_Ver='httpd-2.2.32'
elif [ "${ApacheSelect}" = "2" ]; then
Apache_Ver='httpd-2.4.25'
fi
Pureftpd_Ver='pure-ftpd-1.0.46'
XCache_Ver='xcache-3.2.0'
ImageMagick_Ver='ImageMagick-7.0.5-6'
Imagick_Ver='imagick-3.4.3'
ZendOpcache_Ver='zendopcache-7.0.5'
Redis_Stable_Ver='redis-3.2.8'
PHPRedis_Ver='redis-3.1.2'
Memcached_Ver='memcached-1.4.36'
Libmemcached_Ver='libmemcached-1.0.18'
PHPMemcached_Ver='memcached-2.2.0'
PHP7Memcached_Ver='memcached-3.0.3'
PHPMemcache_Ver='memcache-3.0.8'
PHPOldApcu_Ver='apcu-4.0.11'
PHPNewApcu_Ver='apcu-5.1.8'
PHPApcu_Bc_Ver='apcu_bc-1.0.3'
另一部VPS,version.sh只改数据库版本为5.5.56其余都用旧版本,nginx改用libressl编译,PHP安装正常
很纳闷
[ 本帖最后由 nougat401 于 2017-5-14 23:46 编辑 ] Add Startup and Starting LNMP...
Add nginx service at system startup...
Starting nginx...done
Add mariadb service at system startup...
Starting mariadb (via systemctl): mariadb.service.
Add php-fpm service at system startup...
Starting php-fpm /etc/init.d/php-fpm: 57: /etc/init.d/php-fpm: /usr/local/php/sbin/php-fpm: not found
failed
============================== Check install ==============================
Checking ...
Nginx: OK
MariaDB: OK
Error: PHP install failed.
Sorry, Failed to install LNMP! 另外那台VPS,version.sh版本全部升级,不装db,同样的失败信息
[ 本帖最后由 nougat401 于 2017-5-14 23:50 编辑 ] main.sh里autoconf路径从2.13改为2.69
php.sh里autoconf路径从2.13改为2.69 所有依赖包都是测试过了的,过高过低都可能会有问题不是用最新的就是最好的
估计可能是freetype的问题 原帖由 licess 于 2017-5-15 10:10 发表 http://bbs.vpser.net/images/common/back.gif
所有依赖包都是测试过了的,过高过低都可能会有问题不是用最新的就是最好的
估计可能是freetype的问题
改天再一个个降级试验吧
autoconf 2.13太老版本控不自在,哈哈
页:
[1]