After I finished the Getting Started Guide from Vagrant I’m now looking at the Composer screencast from Roots.
At 3:16 there is a check if PHP is installed, because Composer requires PHP:
However, when I do this:
What I wonder, in het command line tool he is just working on his local PC right? Not logged in to a guest machine that has PHP installed?
Does that mean, if I’m correct with question 1, I need to download and install PHP on my PC, that same like I did with Vagrant, VirtualBox, Git that is now all installed on my PC? If yes, which download of PHP do I need for my Windows PC?
So you confirm that I need to install PHP on my local PC? I find that hard to understand since my local PC does not function as a webserver, for that i’m using vagrant plus virtualbox. For example I could use the VVV vagrant setup and they seem to install lots of things. See upload. For the same reason I dont understand why I need PHP on my local PC I also dont understand why they seem to install Git on the webserver. Why would that be needed since I have git installed on my local PC. Hope somebody can provide some explenation.
So if you want to run the PHP script composer on your local PC you have to have PHP and Git installed on your local PC. Or you can run it in your vagrant box that has all that stuff installed. If you want to run the PHP script composer on your server you need PHP and Git installed.
Ok, but when I follow your link the first thing mentioned is I should read the manual installation steps, and I hope you understand that does not make it easy for me which download I should take since all situations are not where I need PHP for…
Download the PHP zip binary distribution from » PHP for Windows: Binaries and Sources. There are several different versions of the zip package - choose the version that is suitable for the web server being used:
If PHP is used with IIS then choose PHP 5.3 VC9 Non Thread Safe or PHP 5.2 VC6 Non Thread Safe;
If PHP is used with IIS7 or greater and PHP 5.3+, then the VC9 binaries of PHP should be used.
If PHP is used with Apache 1 or Apache 2 then choose PHP 5.3 VC6 or PHP 5.2 VC6.
So which specific download should I now install on my local PC?
look for the php.ini-production file where you stored the PHP files from your PHP ZIP download, rename this to php.ini, then uncomment the lines extension_dir = “ext” and extension=php_openssl.dll.
After this I could run the install programm Composer for Windows without any errors, so hope I can continue with the screencast now .