Symfony is a PHP Framework which documentation for installation is given in official guide mostly for Linux. This is a lengthy but step by step installation procedure for XAMPP on Windows XP:
Download XAMPP.
Download Symfony.1.4
Unzip Symfony in C:\\symfony (or any other directory)
Install XAMPP in C:\\ (not tested with other directories)
Run XAMPP Manager
Start Apache
Start MySQL
Change the MySQL Root Password (no password by default)
Add C:\\symfony\\data\\bin (depending on previous step) to Path Environment Variable
Add C:\\XAMPP\\php (depending on previous step) to Path Environment Variable
Create a New MySQL Database named for example “MyProjectDB” with your favorite Tool.
Run Cmd
Create a Project Directory C:\\MyProject (for example)
Execute Symfony Generate:Project MyProject
Execute symfony configure:database “mysql:host=localhost;dbname=MyProjectDB” root password
Execute
Close Cmd
Goto C:\\XAMPP\\apache\\conf\\extra
Edit httpd-vhosts.conf
Add to the end:
01 |
NameVirtualHost 127.0.0.1:80 |
03 |
<VirtualHost 127.0.0.1:80> |
04 |
DocumentRoot C:/xampp/htdocs/ |
08 |
<VirtualHost myproject> |
09 |
DocumentRoot "C:\\MyProject\\web" |
12 |
<Directory "C:\\MyProject\\web"> |
13 |
Options Indexes FollowSymLinks |
19 |
Alias /sf "C:\\MyProject\\lib\\sf" |
20 |
<Directory "C:\\MyProject\\lib\\sf"> |
21 |
Options Indexes FollowSymLinks |
Stop and Restart Apache
Browse to http://MyProject/