user2999173
user2999173

Reputation: 3

moving a symfony2 project to another PC

I developed a project using symfony2/PHP and now I am willing to shift this project to another machine how can I do the same

I tried following 1)I copied project folder to www folder of another machine 2)I edited app\config\parameters.yml on another system but is not working its giving different erros

Can any one tell me exact staeps

Upvotes: 0

Views: 904

Answers (3)

Yasiru Nilan
Yasiru Nilan

Reputation: 1

Cleaning the cache worked for me.

type php app/console cache:clear

Upvotes: 0

Canser Yanbakan
Canser Yanbakan

Reputation: 3870

  • Try clearing cache; open console / terminal and type php app/console cache:clear
  • Try chmod / chown or if you are on a windows machine, try change the owner, check permissions
  • Try re-run: php composer.phar update
  • Check your php-version and extensions. (See: http://symfony.com/doc/current/reference/requirements.html)

Upvotes: 1

i.am.michiel
i.am.michiel

Reputation: 10404

Moving the source and the database should be enough. It is possible, you may have to clean cache.

php app/console cache:clear 

Upvotes: 1

Related Questions