Xampp + Symfony + Vista = Headache
Author: FoDaLey
I’ve trying to setup Xampp and Symfony on Vista (probably a bad idea in the first place!) and rain into a lot of trouble. Don’t know why…(well, I probably know why). What I did in XP in < 1 hour took me half a day. I’m not surprised, but it sucks, because today, was a day all for me!
Anyways, what was happening was that Xampp would start and I can run MySQL, but Apache would not start even though it stays it is starting, or it would not do anything when I click start.
http://www.techbol.com/2008/02/13/how-to-set-up-symfony-in-xampp-in-windows/
I believe the VirtualHost settings are incorrect and should be appended with something more like this, as shown on the askeet tutorial.
ServerName askeet
DocumentRoot "C:/sfprojects/askeet/web"
DirectoryIndex index.php
Alias /sf "C:/wamp/php/PEAR/data/symfony/web/sf"
<Directory "C:/sfprojects/askeet/web">
AllowOverride All
Allow from All
</Directory>
<Directory "C:/wamp/php/PEAR/data/symfony/web/sf">
AllowOverride All
Allow from All
</Directory>
</VirtualHost>
Also, the file to edit should be C:\Program Files\xampp\apache\conf\extra\httpd
At least, this is what worked for me.