I try install Composer and it returns error: The openssl extension is missing. The recommended option is to enable the extension in your php.ini. In php.ini string "extension=php_openssl.dll" is not commented out. I use Denwer. How can I solve my problem?
Asked
Active
Viewed 956 times
1
-
Denwer is obsolete. Use XAMPP, WampServer, Open Server, etc. And ... ru.stackoverflow.com. – Roman Grinyov Jul 26 '16 at 23:26
1 Answers
1
According with this Question: Composer Warning: openssl extension is missing. How to enable in WAMP WAMP (like Denwer) uses different php.ini for Apache and for CLI (PHP running in terminal, like composer).
As long I can see the php.ini file in Denwer is locate in "C:\WebServers\usr\local\php5\php.ini" and by default line "extension=php_openssl.dll" is commented (;), even uncommenting it PHP doesn't load OpenSSL.
In this site: http://hardmandev.com/article/nastroyka-openssl-dlya-denwer/ (In Russian) they suggest a way to make Openssl works on Denwer. According the feedback in the commentaries, this trick works.
I hope this can help you.

Community
- 1
- 1

Ignacio Salcedo
- 23
- 5