Help, how do you configure apache (wamp) in home windows when I wish to use symfony as my php framework, I adopted the guide(pdf) in the symfony site. However I finish track of this after i access http://127.0.0.1:8080/:
However I finish track of this, after i attempt to access http://localhost/sfproject/web/frontend_dev.php
What's the correct hyperlink to access when I wish to begin using symfony?
I installed symfony on:
And also the projects have been in:
I added the lines below on my small httpd.conf. I have tried it by left clicking the wampserver tray icon->apache->httpd.conf I acquired the code below in the pdf, and merely modify it to complement your directory.
#Be sure to only have this line once in your configuration NameVirtualHost 127.0.0.1:8080 #This is the configuration for your project Listen 127.0.0.1:8080 <VirtualHost 127.0.0.1:8080> DocumentRoot "D:\Programs\wamp\www\sfproject\web" DirectoryIndex index.php <Directory "D:\Programs\wamp\www\sfproject\web"> AllowOverride All Allow from All </Directory> Alias /sf C:\dev\sfproject\lib\vendor\symfony\data\web\sf <Directory "C:\dev\sfproject\lib\vendor\symfony\data\web\sf"> AllowOverride All Allow from All </Directory> </VirtualHost>
I additionally did not install symfony using svn. I simply copy copied and pasted the downloaded symfony 1.4.zip. Then removed the contents. It essentially appears like this:
Do not limit your response to my question, I have just began setting up symfony today. If you have something to inform to some beginner much like me, then please, thanks.
You are receiving the right page! Just missing CSS/Images.
This bit inside your config looks wrong:
Alias /sf C:\dev\sfproject\lib\vendor\symfony\data\web\sf <Directory "C:\dev\sfproject\lib\vendor\symfony\data\web\sf">
Individuals two sites should match what is inside your DocumentRoot i believe...
Alias /sf D:\Programs\wamp\www\sfproject\lib\vendor\symfony\data\web\sf <Directory "D:\Programs\wamp\www\sfproject\lib\vendor\symfony\data\web\sf">
Copy lib/vendor/symfony/data/web/sf for your web/ folder to ensure that there's an internetOrsf folder with similar contents because the lib/vendor/symfony/data/web/sf one.