hakimkal 0 Newbie Poster

Hey, some weeks ago, a friend asked me to try out the SYMFONY project framework, been a WINDOWS XP User running the WAMPSERVER 2.0 which has php5.2.5 running, I realize that the Symfony definitive guide PDF book had its focus more on *nix core systems though probably with a few regard for Windows User.
This is how I got my own symphony running on my WAMP- SERVER:
1. Downloaded the symfony1.0.18.tgz package
2. Unloaded it to my “c:/wamp/www/vhost” directory (my virtual hosting directory)
3. Renamed the folder “symfony1.0.18” to “symphony”
4. I edited my environmental variables’ SYSTEM VARIABLE ‘s “Path” to add the address location of my symphony folder and my php5.2.5 folder thus:
C:\wamp\www\vhost\symfony\data\bin
C:\wamp\bin\php\php5.2.5
This made it possible for me to invoke my php CLI tool and symphony CLI tool
5. I got back to my
C:\wamp\bin\apache\apache2.2.8\conf\extra
Directory, and opened my “httpd_vhosts.conf” file and added my new site parameters.

<Directory C:/vhosts>
Order Deny,Allow
Allow from all
</Directory>
#
# Use name-based virtual hosting.
NameVirtualHost *:80
<VirtualHost *:80>
    ServerAdmin [email]webmaster@dummy-host.loca[/email]lhost
    DocumentRoot "C:/wamp/www"
    ServerName localhost
    ServerAlias [url]www.dummy-host.localhost[/url]
    ErrorLog "logs/dummy-host.localhost-error.log"
    CustomLog "logs/dummy-host.localhost-access.log" common
</VirtualHost>
<VirtualHost *:80>
    DocumentRoot "C:/wamp/www/vhost/nawa/web"
    ServerName sfhakim_nawa
    <Directory "C:/wamp/www/vhost/nawa/web/sf">
AllowOverride All
Allow from All
</Directory>
</VirtualHost>

At this point, I went back to follow the book’s guide.
Hey don’t forget you have to edit the “hosts” inside system32/drivers/etc/” file.

Good luck.

Cheers!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.