I am beginner for symfony. I have to configure the already developed project that is built using symfony. I changed the database information but when browse localhost/myproject/web there is nothing displayed. What can i do to configure the project in local server. I have created the database as well. Hope to get help. Thanks ..........
1 に答える
you need to point apache to the web folder in your symfony project. or if your project reside inside apache web root you could use:
http://localhost/myproject/web/index.php but that won't show any errors. insted of that you could use:
http://localhost/myproject/web/frontend_dev.php where frontend is the name of front controler ( this file is in web/ folder).
and if then you don't get any output look into your apache server error log to find why project isn't working.
few resolves:
when in symfony project root execute this in command prompt:
php symfony cache:clear
php symfony fix-perms
and then try url above.
more info here