Email

If open_ssl is not complied with PHP or it is not enabled from php.ini file, you will see that error.

Solution in Linux:

Compile PHP with open_ssl, command-

–with-openssl[=DIR] Include OpenSSL support (requires OpenSSL >= 0.9.6)

Windows with XAMP:

Stop your Apache service

Find libeay32.dll and ssleay32.dll in xampp\php\ folder, and copy it into xampp\apache\bin\ folder. Overwrite the older files in there.

Edit php.ini file in xampp\apache\bin, remove the semicolon in “;extension=php_openssl.dll”

Start the Apache service