The method for enabling SSL in PHP is very simple. first find the phpini file, remove the annotation symbol ";" before extensionphp_openssldll, and then restart apache to take effect.
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 location of openssl. if OpenSSL support is enabled, it indicates that ssl is enabled.