Menu

If possible you should enable it or recompile php with –with-openssl

Written by

When you trying to install Composer for Laravel in WAMP setup. You may getting a warning message for not enabling openssl in WAMP.

Step 1
1 Find the location and edit the file named: php.ini.
2 Uncomment the line extension=php_openssl.dll by removing the semicolon at the beginning.
3 Try again

Method 2

If above step could not solve your problem. You could install composer manually by following steps.

Step 1

  1. Modify “Path” System variable
    1. My Computer -> System Properties -> Advances system settings
    2. Copy PHP path from wamp  “C:\wamp\bin\php\php5.3.8\;” and Past at last of Path variable.
    3. Do not add space before this line.
    4. Logoff user and login again.
  2. Download composer.phar
  3. Copy to desire directory i.e. C:\composer
  4. Create Batch file for composer as below.
    1. Open cmd
    2. Goto Composer directory
    3. Type as C:\composer>echo @php “%~dp0composer.phar” %*>composer.bat
  5. Modify “Path” System variable again
    1. My Computer -> System Properties -> Advances system settings
    2. Copy “C:\composer\;” and Past at last of Path variable.
    3. Do not add space before this line.
  6. Let’s check by typing command in cmd
  7. C:\composer -v
  8. Now its done.

Article Categories:
Laravel

Comments are closed.

Shares