php - How to create a test environnement on the production FTP -
i'm working on symfony webapp, on production. develop , add/delete/modify functionnality of model, work on laptop, using symfony 'dev' environnemment.
i test if work fine, pray little , deploy on prod server (with risk of data error, when add new not null attributes on model, prod server configuration special stuff, version of php/apache etc.).
the problem setup "staging" server, copy of production server (same database, same configuration apache/php), that, if deployment goes bad, production user stay untouched , working, staging server down. client has 1 ftp available.
so, question : can run 2 symfony project, different models, on same ftp ?
or there way want ?
thank !
a staging server should same production. same versions, same directory structure, etc... clone. however, can still of benefits installing site subdomain (staging.domain.com). check see if host allows subdomains (%99.999 of them do) , install application there.
Comments
Post a Comment