1. Check whether the server has SSL enabled
Copy code The code is as follows:
phpinfo();
?>
Check the openssl column of the page. If the value of OpenSSL support in this column is enabled, it means that SSL is on, otherwise it is off.
2. How to enable SSL
1. Open php.ini and remove the previous symbols of extension=php_openssl.dll.
2. Restart apache or iis and recheck the SSL opening status.
If the above operation is invalid, you need to perform the next step (this step is not necessary in many cases, for example, in some combination environments, this step can be ignored):
3. Installation in PHP Find the following three files under the file and copy them to the system32 folder under the system target (usually: c:windowssystem32):
Copy the code The code is as follows:
ssleay32.dll
libeay32.dll
php_openssl.dll
4. Restart apache or iis.
http://www.bkjia.com/PHPjc/761020.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/761020.htmlTechArticle1. Check whether the server has SSL enabled. Copy the code as follows: ?php phpinfo(); ? Check the openssl of the page Column, if the value of OpenSSL support in this column is enabled, it means that SSL is in...