Answer the question
In order to leave comments, you need to log in
How to deploy a php project to shared hosting?
Hello.
Sharer of experience, who deploys php projects to shared hosting?
It is necessary to deploy projects in php (run composer, run database migrations), sometimes wodpress themes.
There is an opinion that deploying via FTP is not correct. There is also an option to deploy via git.
Project code in git repositories (Gitlab or Azure DevOps services). The use of third-party systems should be kept to a minimum.
Answer the question
In order to leave comments, you need to log in
First, the assembly (composer and other tinsel), then the deployment with migrations.
Ftp is so-so, git is no better. It is better to use rsync, and better deployment tools, such as capistrano / ansistrano or analogues - unfortunately, I only had a chance to work with these.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question