扩展丢失:无法发送openssl消息

时间:2016-12-23 17:17:09

标签: php ssl dll phpmailer

我正在使用网站托管网站biz.ht.要发送电子邮件,我已经设置了PHPMailer,我已经在localhost上测试了它并且它工作正常,但是当我尝试使用Web服务器时。我给了我错误

扩展程序丢失:无法发送openssl消息。

有人可以帮助我,biz.ht的php.ini就在这里。

PHP 7.1.0

... and i.rn>1

1 个答案:

答案 0 :(得分:0)

这是服务器配置问题而不是代码。你的php.ini不会有多大帮助,但如果你运行phpinfo()php -m,你可能会发现你错过了PHP's openssl extension。所以你只需要启用它,这可能是一个简单的'apt-get install php71-openssl`,具体取决于你的服务器。您会找到许多有关如何启用它的说明,例如here

相关问题