extension = php_openssl.dll不在php.ini

时间:2018-06-13 05:30:06

标签: php apache centos

我的服务器是centos 7,php5.6,apache2.4

 php -i | grep -i openssl


 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
 openssl.cafile => no value => no value
 openssl.capath => no value => no value
 Native OpenSSL support => enabled

启用了Openssl。但我的php.ini文件就是那个。

;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;

; If you wish to have an extension loaded automatically, use the following
; syntax:
;
;   extension=modulename.extension
;
; For example, on Windows:
;
;   extension=msql.dll
;
; ... or under UNIX:
;
;   extension=msql.so
;
; ... or with a path:
;
;   extension=/path/to/extension/msql.so
;
; If you only provide the name of the extension, PHP will look for it in its
; default extension directory.
;

我不想使用extension = php_openssl.dll,但我在php.ini文件中找不到。

我该怎么办?

0 个答案:

没有答案