2014-07-19 05:58
浏览 351

在php.ini中没有extension = php_openssl.dll用于发送激活链接到电子邮件

I have created login and register page using php with pdo.

After register, the activation link didn't send at registered email.

I refered this link How to configure XAMPP to send mail from localhost? in stackoverflow,

I don't have extension=php_openssl.dll in php. can anyone tell me, what i do?

I m using xampp1.7.4

图片转代码服务由CSDN问答提供 功能建议

我使用 php pdo创建了登录和注册页面。


我提到此链接如何在stackoverflow中配置XAMPP从localhost发送邮件? \ n

我在php中没有extension = php_openssl.dll。 任何人都可以告诉我,我做了什么?

我正在使用 xampp1.7.4

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

2条回答 默认 最新

  • douzhechi2435
    douzhechi2435 2014-07-19 07:39

    Do you have the php_openssl.dll in you ext directory? If you have that you should be able to get it working by adding the line to php.ini.

    If you are missing the dll, you can try to download the same version of php as included in your XAMPP and get the dll file from there. PHP downloads for windows can be found at

    点赞 评论
  • doudou8783
    doudou8783 2016-02-24 08:29

    I had the same issue. did uncomment the extension=php_openssl.dll in php.ini but still was having the issue.

    On checking loaded extensions using the command php -m openssl was missing. At last i found that the directory for extensions was not properly set by default so had to un-comment extension_dir = "ext"

    Hope this will help others

    点赞 评论