Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

The openssl extension is required for SSL/TLS protection but is not available

Started by Muut Archive 10 years ago · 2 replies · 1350 views
10 years ago

Well I got this new issue on Windows 10 while trying to use bin/gpm or bin/grav:

TXT
[RuntimeException]
The openssl extension is required for SSL/TLS protection but is not available.If you can not enable the openssl extension, you can disable this error, at your own risk, by setting the 'disable-tls' option to true.

I am certain I have openssl:

TXT
openssl -h

Standard commands
asn1parse         ca                ciphers           cms
crl               crl2pkcs7         dgst              dh
dhparam           dsa               dsaparam          ec
ecparam           enc               engine            errstr
gendh             gendsa            genpkey           genrsa
nseq              ocsp              passwd            pkcs12
pkcs7             pkcs8             pkey              pkeyparam 
....

So I am not sure what is the actual problem.

10 years ago

You may have the openssl libraries installed, but you need to ensure the openssl extension is installed for PHP. Check out the requirements page

You can also check real quick with:

BASH
php -i | grep ssl

Something should show up.

10 years ago

Extension was there, apparently I had wrong path to extensions in php.ini file. Thanks for help.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1355 9 years ago
Archive · by Muut Archive, 9 years ago
2 935 9 years ago
Archive · by Muut Archive, 9 years ago
2 4065 9 years ago
Archive · by Muut Archive, 9 years ago
1 2953 9 years ago
Archive · by Muut Archive, 9 years ago
3 1119 9 years ago