It is believed that some people have encountered errors like Call to undefined function openssl_pkey_get_public() when enabling zblog themes or plug-ins. Most of these errors occur during local debugging, because currently, the openssl function is basically enabled by default on the php. ini of the hosts on the market, Some website environment installation packages debugged locally need to manually open the openssl function. If openssl function support is enabled, no error will be reported. So how to open the openssl function is very simple:
Open the php configuration file php.ini, search for extension=php_openssl.dll, remove the ";" symbol in front of this code, and then save it; If it cannot be found, add the code extension=php_openssl.dll, save it, and finally restart Apache or IIS or nginx.
As shown in the figure below, there are semicolons by default:
Remove semicolon: