AlexMI AlexMI - 5 months ago 14
PHP Question

Xampp and symfony on windows7

I'm quite new with symfony and I'm trying to develop a base web application.

I install and configured symfony on my pc (windows 7 64bit) following the documentation and all works fine.

I run the server with command line (

php bin/console server:run
) and test the application in browser successfully.

Then I would like to move the symfony folder under my local Xampp (
xampp\htdocs\symfony\myproject
) installation that i use for php development since now.

My problem is that when I run
localhost\symfony\myproject\web
the symfony welcome page is shown but if I modify the
index.html.twig
template no change are displayed.

Some routing problem?
vhosts
config?

Answer

try with

localhost\symfony\myproject\web\app_dev.php 

since localhost\symfony\myproject\web is the prod url and has some cache, which may "hide" your modification

Comments