Getting started
- Download a fresh copy of ApacheFriend XAMPP System and install it according to the tutorials.
http://www.apachefriends.org/de/xampp-windows.html - In the next step, we have to set the right include path to make sure that all pear packages will be installed in the right locations.
- Goto System Properties into the Advanced tab.
- Click on Environment Variables
- Extend the path variable by adding your path to php, mysql and pear:In my case, as I installed XAMPP to d:progsxampp, it was like adding
;d:progsxamppphpPEARsymfony;d:progsxamppmysqlbin;d:progsxamppphp;d:progsxamppphpPEAR
- Open a command line (Start menu, Start Application, Run “cmd”
- Enter your XAMPP directory:
d:
cd progsxampp(This folder might be different for you!)
- Upgrade pear:
pear upgrade pear - Install phing:
pear install -a http://phing.info/pear/phing-current.tgz –alldeps - Install symfony:
- pear channel-discover pear.symfony-project.com
- pear install symfony/symfony
- Update your xamppapacheconfhttpd.conf: #
# Use name-based virtual hosting.
#
NameVirtualHost myproject:80
#access to /sf – directory
Allow from All
#symfony myproject
ServerName myproject
DocumentRoot “d:progsxampphtdocsmyprojectweb”
DirectoryIndex index.php
Alias /sf “D:progsxamppphpPEARsymfonydatawebsf”
AllowOverride All
Order allow,deny
Allow from All - Update your C:WINDOWSsystem32driversetchosts:
12127.0.0.1 localhost127.0.0.1 myproject - Start your console again and change dir into the xampphtdocs and create the directory “myproject” there.
- Run symfony generate:project myproject
- Run symfony generate:app frontend (This assumes, you will need a app called frontend.)
- Open http://myproject/ in your browser. You should see the default symfony page, saying:
“Symfony Project Created Congratulations! You have successfully created your symfony project.“ - Start your own Symfony project now!

Greate post. Keep writing such kind of info on your site.
Im really impressed by your site.
Hey there, You’ve done an incredible job. I’ll definitely
digg it and individually suggest to my friends.
I am confident they’ll be benefited from this web site.
Thanks for the info. One thing though, step 3 on Win 7 should include ‘run as administrator’.