php - How to move a Symfony project from web hosting to localhost? -
i tried solutions (ex: transfer symfony2 site onto localhost web server), never works, result blank page.
the project on symfony 2.3 , php version 5.5
thanks
when accessing symfony2 site locally need reference 1 of routing files in web folder directly. try http://localhost/app_dev.php/ , might give error message telling going wrong. can check log files in /app/logs folder see problem might be.
edit:
there several command line tools might needed set project.
app/console doctrine:schema:update --force
this check database in sync code , update database if necessary.
app/console assetic:dump app/console assets:install app/console cache:clear
these used install css, javascript , other static assets clearing cache.
Comments
Post a Comment