Symfony 2 install / setup for window xp, windows 7 or windows 8 is lot easier than installing the symfony 1.* especially 1.4 version. Follow the steps how to install or setup it.
Step 1. Go to http://symfony.com/download and download symfony 2.* version and unpack it. I used 7zip to unpack it. In my case I had to extract twice the file and got a folder named Symfony. Which I copied to my htdocs folder. in my case it is d:/xampp/htdocs
Step 2. Install Composer. I did it by the command
php -r "eval('?>'.file_get_contents('https://getcomposer.org/installer'));"
for this you need to go to your command prompt and if the php environmental variable is not set then you have go to the php directory and run the above command. In my case it is d:/xampp/php. You might get error for 'https' if it arises just type the following command in commandprompt
<code>php -r "eval('?>'.file_get_contents('http://getcomposer.org/installer'));"
for this you need to go to your command prompt and if the php environmental variable is not set then you have go to the php directory and run the above command. In my case it is d:/xampp/php. You might get error for 'https' if it arises just type the following command in commandprompt
<code>php -r "eval('?>'.file_get_contents('http://getcomposer.org/installer'));"
Step 3. Its almost done the installing part. just for checking run php
app/check.php
for my case it is
D:\xampp\php>php d:/xampp/htdocs/Symfony/app/check.php
. There might be some warnings but you can correct them later.
Hi.
I chose the packaged version from the site. Is that the zip file you are pertaining to?