How to enable ssl in php _ PHP Tutorial

Source: Internet
Author: User
Php enables ssl. When you access an SSL-enabled resource, the error message "didyouforgettoenableitwhenyouconfiguredPHP" appears. the prompt shows that it must be php. the SSL module is not configured in ini. when accessing and enabling SSL resources, the \ "did you forget to enable it when you configured PHP \" error message is displayed, we can see from the prompt that it must be php. the SSL module is not configured in ini. Open php. ini, find extension = php_openssl.dll, and uncomment

The method for enabling SSL in PHP is very simple. first find the php. ini file, remove the annotation symbol ";" Before extension = php_openssl.dll, and then restart apache to take effect!

Some friends found that ssl does not take effect, so there is a way to copy the ssleay32.dll and libeay32.dll files in the dlls folder to the C: WINDOWSsystem32 folder.

Ssleay32.dll libeay32.dll php_openssl.dll

How can I determine whether ssl is effective? Check phpinfo. write a simple phpinfo () test program and find the openssl location. if OpenSSL support is enabled, ssl is enabled.

Failed "did you forget to enable it when you configured PHP \" error prompt. from the prompt, we can see that the SSL module is not configured in php. ini...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.