killduak123 发表于 2016-9-20 00:45:02

lnmp 安装失败

安装 centos7 64

licess 发表于 2016-9-20 10:28:23

安装日志里显示openssl-devel已经安装
Package 1:openssl-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 1:openssl-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: *** 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 看一下
页: [1]
查看完整版本: lnmp 安装失败