When you access an SSL-enabled resource, 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.