How do I enable PHP's openssl extension to install Composer?
P粉493534105
P粉493534105 2023-08-23 23:23:30
0
1
551
<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>
P粉493534105
P粉493534105

reply all(1)
P粉391677921

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.

  1. Open the command prompt, type: echo %PATH%, and then check the PHP installation location.
  2. Go to that location and edit the file named: php.ini.
  3. Uncomment the extension=php_openssl.dll line by removing the leading semicolon.

Now you can install Composer.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!