请在下面找到状态
# php -i |grep -A 5 openssl
Configure Command => './configure' '--prefix=/usr/local/php' '--enable-fpm' '--disable-short-tags' '--with-openssl' '--with-pcre-regex' '--with-pcre-jit' '--with-zlib' '--enable-bcmath' '--with-bz2' '--enable-calendar' '--with-curl' '--enable-exif' '--with-gd' '--enable-intl' '--with-mysqli' '--enable-pcntl' '--with-pdo-mysql' '--enable-soap' '--enable-sockets' '--enable-mbstring' '--with-xmlrpc' '--enable-zip' '--with-webp-dir' '--with-jpeg-dir'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /usr/local/php/lib
Loaded Configuration File => (none)
Scan this dir for additional .ini files => (none)
--
openssl
OpenSSL support => enabled
OpenSSL Library Version => OpenSSL 1.0.2k-fips 26 Jan 2017
OpenSSL Header Version => OpenSSL 1.0.2k-fips 26 Jan 2017
Openssl default config => /etc/pki/tls/openssl.cnf
Directive => Local Value => Master Value
openssl.cafile => no value => no value
openssl.capath => no value => no value
pcntl
pcntl support => enabled
php -m
显示openssl
但是我无法运行需要openssl的php,也无法在phpinfo.php上运行以下消息:
请帮助我需要从源代码安装此扩展。 我使用--with-openssl和--with-openssl-dir选项来启用此扩展,并且在进行安装之前效果很好 请帮助