Joke Collection Website - Public benefit messages - How to enable openssl on Tencent Cloud Server

How to enable openssl on Tencent Cloud Server

The windows server does not enable the PHP extension support for openss by default, but this feature is generally installed in the server by default.

Just turn it on yourself. Today when I was installing a certain program, I needed the support of openss, only to find that it was turned on in the windows server.

"Little Bird Cloud" focuses on providing one-stop core network cloud deployment services for individual developer users, small and medium-sized, and large enterprise users. It is one of the few professional cloud computing companies in China with dual ISP/IDC qualifications. The service provider also holds the system software copyright certificate and the CNNIC Address Allocation Alliance member certificate, and has passed the ISO27001 information security management system international certification and the ISO9001 quality assurance system international certification.

1: Check extension=php_openssl.dll in the php configuration file

Check whether the sentence ";extension=php_openssl.dll" exists in php.ini. If it exists, remove the preceding sentence. The semicolon comment character ';', if this line does not exist, just add this sentence directly:

extension=php_openssl.dll

2: Copy the support files to WINDOWS \system32\

Find this file in the php installation directory and copy it to the Windows\system32\ folder in the system:

php_openssl.dll (in the ext folder of the php directory )

Note: You also need to copy the following 2 files to the Windows\system32\ folder. In fact, you can do it without copying, but for the sake of perfection, copy them both.

ssleay32.dll

libeay32.dll

Both files are in the PHP installation directory folder.

3: Now just restart the iis service.

Openssl is enabled to support certain program source codes, generally involving payment, APIs of some interfaces, etc., all require openssl support.