How do I enable PHP's openssl extension to install Composer?
P粉493534105
2023-08-23 23:23:30
<p>I'm trying to install Laravel in the WAMP installer. I'm getting a warning that <strong>openssl</strong> is not enabled, even though I've enabled it in WAMP. </p>
<p>This is a screenshot of the message. </p>
WAMP and Composer may use different PHP installations. Composer will use PHP as set in the
PATHenvironment 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.dllline by removing the leading semicolon.Now you can install Composer.