PHP OpenSSL openssl_get_cert_locations


PHP OpenSSL openssl_get_cert_locations

我的phpinfo显示如下:

OpenSSL support enabled OpenSSL Library Version OpenSSL 1.0.1f 6 Jan 2014 OpenSSL Header Version OpenSSL 1.0.1f 6 Jan 2014

我仍然收到这个错误:

Call to undefined function openssl_get_cert_locations

我错过了什么?即使openssl_get_privatekey也运行良好。

openssl_get_cert_locations从PHP5版本>=5.6.0 开始可用

输入控制台php -v,让我们知道您看到了什么。