lnmp1.7安装php5.6问题
我在centos7离线环境下安装lnmp1.7完整版安装包,过程中nginx和mysql都安装成功了,但是php5.6一直安装不成功,安装日志信息中关于PHP报错的信息如下:configure: error: Cannot find OpenSSL's <evp.h>make: *** No targets specified and no makefile found.Stop.
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 86: pear: command not found
include/php.sh: line 87: pecl: command not found
Downloading Composer...
--2020-06-30 16:43:47--https://soft.vpser.net/web/php/composer/composer.phar
Resolving soft.vpser.net (soft.vpser.net)... failed: Temporary failure in name resolution.
wget: unable to resolve host address ‘soft.vpser.net’
Composer install failed, try to from composer official website...
include/php.sh: line 99: php: command not found
curl: (28) Resolving timed out after 30540 milliseconds
Install ZendGuardLoader for PHP 5.6...
Notice:not found!!!download now...
--2020-06-30 16:45:07--https://soft.vpser.net/web/zend/zend-loader-php5.6-linux-x86_64.tar.gz
Resolving soft.vpser.net (soft.vpser.net)... failed: Temporary failure in name resolution.
wget: unable to resolve host address ‘soft.vpser.net’
Write ZendGuardLoader to php.ini...
grep: /usr/local/apache/conf/httpd.conf: No such file or directory
Creating new php-fpm configure file...
Copy php-fpm init.d file...
cp: cannot stat ‘/data/software/lnmp1.7-full/src/php-5.6.40/sapi/fpm/init.d.php-fpm’: No such file or directory
chmod: cannot access ‘/etc/init.d/php-fpm’: No such file or directory
Clean PHP src directory...
离线安装也有单独的参数,还需要你自己另外设置本地源否则无法安装,https://www.vpser.net 上都有具体教程,可以自行搜索:离线安装
没有日志无法确定什么原因
页:
[1]