D
D
dllweb2014-09-26 15:47:18
symfony
dllweb, 2014-09-26 15:47:18

How to transfer a symfony2 project to production?

Friends, I just can’t understand how to transfer a project to symfony2 from app_dev to app, that is, to production, who had experience, please share a brief instruction

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2014-09-26
Protko @Fesor

app.php - production environment, app_dev.php is available only locally and for dev environments by default. Just keep people out of app_dev.... and don't forget to clear the cache (app/console cache:c -e=prod)

P
Pavel Solovyov, 2014-09-26
@pavel_salauyou

delete the cache manually, no need to write in htaccess, create a virtual host for apache, there is an example on the symphony website, add write access rights for logs and cache. In general, here is the instruction symfony.com/doc/current/book/installation.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question