VPS侦探论坛

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

lnmp 安装失败

[复制链接]
发表于 2016-9-20 00:45:02 | 显示全部楼层 |阅读模式

安装 centos7 64

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-9-20 10:28:23 | 显示全部楼层


安装日志里显示openssl-devel已经安装
Package 1penssl-1.0.1e-51.el7_2.5.x86_64 already installed and latest version
Nothing to do
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.sina.cn
* extras: mirrors.sina.cn
* updates: centost5.centos.org
Package 1penssl-devel-1.0.1e-51.el7_2.5.x86_64 already installed and latest version
Nothing to do

但是
/usr/local/src/lnmp1.3-full/src/php-5.5.36/ext/openssl/openssl.c:43:25: fatal error: openssl/evp.h: No such file or directory
#include <openssl/evp.h>
                         ^
compilation terminated.
make: *** [ext/openssl/openssl.lo] Error 1
。。。。。。
checking for OpenSSL library in /opt/local/ ... not found

./configure: error: SSL modules require the OpenSSL library.
You can either do not enable the modules, or install the OpenSSL library
into the system, or build the OpenSSL library statically from the source
with nginx by using --with-openssl=<path> option.


你再yum install openssl-devel 看一下
find / -name evp.h 看一下
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-16 23:58 , Processed in 0.026035 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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