Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/mongodb/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php OpenSSL版本错误_Php_Mongodb_Openssl - Fatal编程技术网

Php OpenSSL版本错误

Php OpenSSL版本错误,php,mongodb,openssl,Php,Mongodb,Openssl,当我试图通过PECL为php7的XAMPP安装mongodb扩展时,它向我显示错误: checking whether to enable developer build flags... no checking whether to enable code coverage... no checking whether to use system libbson... no checking whether to use system libmongoc... no checking conf

当我试图通过PECL为php7的XAMPP安装mongodb扩展时,它向我显示错误:

checking whether to enable developer build flags... no
checking whether to enable code coverage... no
checking whether to use system libbson... no
checking whether to use system libmongoc... no
checking configuring libmongoc... ...
checking for pkg-config... /usr/local/bin/pkg-config
configure: error: OpenSSL version 1.0.1 or greater required.
ERROR: `/private/tmp/pear/temp/mongodb/configure --with-php-config=/Applications/XAMPP/xamppfiles/bin/php-config' failed
但如果我提示“openssl版本”,它会显示:

MacBook-Pro-dns:~ soldatov$ openssl version
OpenSSL 1.0.2k  26 Jan 2017

我尝试了很多互联网上的东西来修复它。。。但它继续抛出错误。

命令行openssl二进制文件可能存在的重复并不意味着存在openssl头(编译需要这些头)可能存在的重复命令行openssl二进制文件不意味着存在openssl头(编译需要这些头)