P粉3916779212023-08-24 12:07:37
WAMP and Composer may use different PHP installations. Composer will use PHP as set in the PATH
environment variable.
If you want to enable the openssl extension to install Composer, you first need to check where PHP is installed.
echo %PATH%
, and then check the PHP installation location. php.ini
. extension=php_openssl.dll
line by removing the leading semicolon. Now you can install Composer.