OpenSSL版本错误

时间:2017-04-07 23:04:48

标签: php mongodb openssl

当我尝试使用php7到PECL为XAMPP安装mongodb扩展时,它显示错误:

for script in extracted_json['ports']['port']['script']:
    for table in script['table']:
        print table['elem']

但如果我提示“openssl版本”,它会显示:

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

我尝试了很多用互联网修复它的东西......但是它继续让我犯错误。

0 个答案:

没有答案