VPS侦探论坛

 找回密码
 注册
查看: 2526|回复: 1

lnmp1.7安装php5.6问题

[复制链接]
发表于 2020-7-1 10:25:46 | 显示全部楼层 |阅读模式

我在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/ ... 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...

美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2020-7-1 13:27:17 | 显示全部楼层


离线安装也有单独的参数,还需要你自己另外设置本地源否则无法安装,https://www.vpser.net 上都有具体教程,可以自行搜索:离线安装
没有日志无法确定什么原因
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-27 00:43 , Processed in 0.025797 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表