Composer Warning: openssl extension missing in WAMP
Installing Composer on Windows 7/64 with WampServer 2.2 may prompt the error "The openssl extension is missing..." Despite enabling the extension through the Wamp UI, Composer still detects its absence.
Solution:
This issue arises because PHP.ini files exist separately for Apache and the Command Line Interface (CLI) within WAMP. While enabling php_openssl through the Wamp UI activates the extension for Apache, it leaves it dormant for the CLI.
To enable openssl for the CLI, edit the following file:
C:\wamp\bin\php\php-5.4.3\php.ini
Steps:
extension=php_openssl.dll ; enabled by Wamp
The above is the detailed content of Why Is Composer Warning About Missing OpenSSL Extension on WAMP?. For more information, please follow other related articles on the PHP Chinese website!