找不到CentOS OpenSSL php_openssl.dll

时间:2016-04-29 12:59:21

标签: php ssl openssl centos

我偶尔会在我的网站上收到此错误。经过一些谷歌搜索,我注意到Linux不支持.dll文件 - 但我如何摆脱这条消息呢?

完整的错误消息:

A PHP Error was encountered

Severity: Core Warning

Message: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20121212/php_openssl.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20121212/php_openssl.dll: cannot open shared object file: No such file or directory

Filename: Unknown

Line Number: 0

Backtrace:

1 个答案:

答案 0 :(得分:0)

好像我的php.ini中包含了php_openssl.dll,我评论了这一行,它确实有效!