php7 configure: error: Cannot find OpenSSL's <evp.h> 问题解决

开始以为是没有安装openssl, openssl-devel,安装后发现还是提示这个错误,搜索了一下evp.h,这个文件也存在。GOOGLE 了一下,在stackoverflow,找到了答案,原来是 phpize 生成的configure脚本有问题。

解决方法:修改configure 文件加入

这个是安装mysqlnd扩展报错的

export PHP_OPENSSL_DIR=yes

./configure --with-php-config=/home/php/bin/php-config --enable-mysqlnd


php7 configure: error: Cannot find OpenSSL's <evp.h> 问题解决

原文地址:https://www.cnblogs.com/wanglijun/p/8901494.html

时间: 2025-01-06 06:12:18

php7 configure: error: Cannot find OpenSSL's <evp.h> 问题解决的相关文章

php安装编译时 configure: error: Cannot find OpenSSL&#39;s &lt;evp.h&gt;

=============================================== yum install error: protected multilib versions error===============================================sudo yum downgrade openssl 降级sudo yum install openssl-devel ===另外参考====================================

解决 Cannot find OpenSSL&#39;s &lt;evp.h&gt;

yum install openssl openssl-devel ln -s /usr/lib64/libssl.so /usr/lib/ 解决 Cannot find OpenSSL's <evp.h>

mac编译openssl扩展报错 openssl.c:44:10: fatal error: &#39;openssl/evp.h&#39; file not found

解决办法 brew link openssl --force 然后 ./configure --with-openssl --with-php-config=/usr/local/php/bin/php-config make sudo make install mac编译openssl扩展报错 openssl.c:44:10: fatal error: 'openssl/evp.h' file not found

nginx 编译某个模板的问题./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 stati

[email protected]:/usr/local/src/nginx-1.9.8# ./configure --prefix=/usr/local/nginx  --add-module=/usr/local/src/nginx-rtmp-module  --with-htchecking for OS + Linux 4.4.0-116-generic x86_64checking for C compiler ... found + using GNU C compiler + gc

How to Install wget in OS X如何在Mac OS X下安装wget并解决configure: error:

1.ftp://ftp.gnu.org/gnu/wget/官网下载最新的安装包 wget-1.19.tar.gz 2.打开终端输入 tar zxvf wget-1.9.1.tar.gz 解压缩 3.进入wget所在文件夹 终端输入cd wget-1.9.1 4.终端输入 ./configure 如果出现configure: error: The pkg-config script could not be found or is too old. Make sure it is in your

./configure: error: the HTTP rewrite module requires the PCRE library解决

有时候,我们需要单独安装nginx,来处理大量的下载请求. 单独在Centos5安装nginx遇到的rewrite和HTTP cache错误解决办法: wget http://nginx.org/download/nginx-0.8.33.tar.gz tar -zxvf nginx-0.8.33.tar.gz cd nginx-0.8.33 ./configure --prefix=/usr/local/nginx 安装Nginx时报错 ./configure: error: the HTTP

./configure: error: the GeoIP module requires the GeoIP library.

近期安装的nginx的geo的模块在编译nginx的时候遇到报错,报错信息如下: checking for OpenSSL library ... found checking for zlib library ... found checking for GeoIP library ... not found checking for GeoIP library in /usr/local/ ... not found checking for GeoIP library in /usr/pk

安装postgreSQL出现configure:error:readline library not found解决方法

要安装 readline , readline-dev 开发包,要么使用 --without-readline 选项关闭 readline 功能. #yum install readline; #yum install readline-dev; readline 也就是命令行编辑,关闭的话,你直接用psql 就不能编辑命令行,如果输错指令,不能回滚命令历史记录,只能手工重新输入. 在安装postgreSQL的过程中遇到一个问题,在执行 configure 过程中报以下错误,configure:

ngingx安装错误 ./configure: error: the HTTP rewrite module requires the PCRE library.

有时候,我们需要单独安装nginx,来处理大量的下载请求.单独在Centos5安装nginx遇到的rewrite和HTTP  cache错误解决办法: wget http://nginx.org/download/nginx-0.8.33.tar.gztar -zxvf nginx-0.8.33.tar.gz cd nginx-0.8.33./configure --prefix=/usr/local/nginx 安装Nginx时报错 ./configure:  error: the HTTP