MainelyDesign.com Blog

Getting Composer to Install on Windows 8 (Wamp / PHP)

Posted on 03/17/2014 at 08:43 pm by Kevin Wentworth
Viewed 11,707 times | 0 comments

Get the Windows Installer for Composer

If you are on Windows and want to install Composer, no worries, there is a quick (and easy) Windows installer for Composer.

Add PHP Folder to System Path

This is supposedly done by the Composer installer, but I couldn't get the darn thing running the first few tries, so I did this manually.  I added C:\wamp\bin\PHP\PHPx.x.x\ to my Windows system path.

Modify CLI PHP.ini File

This is important- do not use the WAMPServer Context menu options (the Wamp menu options in the system tray).  This is the wrong PHP.ini file!!  You have to edit the php.ini file that is in the same folder as the PHP.exe program you will be running.  This is because the PHP.ini file in the same folder is used when PHP.exe is running in CLI mode (which is the mode that Composer will run PHP in).

Turn on the extensions for php_curl.dll and php_openssl.dll

I'll repeat this for my future self: edit the php.ini file in the same folder as php.exe (C:\wamp\bin\PHP\phpx.x.x\php.ini)

Cheers,
-Kevin Wentworth

Bookmark and Share

Tags for Getting Composer to Install on Windows 8 (Wamp / PHP)

Php | Web Programming | Wamp | Web Server Admin | Windows

Comments for this Posting

No comments. Be the first to post a reply.

Sorry, comments are closed for this posting.

Please Email Kevin if you have any questions. Thanks!

Meet Site Avenger - Hosted Content Management System

Powered By: Site Avenger | Site Production: Saco Design