问题
I try to move Laravel project in simple hosting(PHP), but this hosting does not has SSH and command terminal.
Can I somehow to run this project in hosting?
回答1:
You can run all needed commands on local server (composer, migrate etc.) then move entire directory to the shared server and configure domain to directory with your project, for example:
/home/shared/laravel-project/public
On local server you can use mysqldump (or pg_dump) to export database, so then you can import database via for example phpmyadmin or phppgadmin on shared server.
Remember to change database configuration in .env file.
来源:https://stackoverflow.com/questions/38874863/how-to-move-laravel-in-simple-hosting