We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Question: How to Deploy Laravel on Vestacp Ubunto Server
Question: How to Deploy Laravel on Vestacp Ubunto Server
I have finished my laravel application and I wanted to deploy to vps server, I have also successfully setup my vps server with vestacp and it's running and working very well. I've tried to search on google but I could not find any step by step tutorial and my knowledge on server administration is very limited. Hoping for someone could teach me. Thank you in advance.
Re: Question: How to Deploy Laravel on Vestacp Ubunto Server
check the templates in /usr/local/vesta/data/templates/web/apache2, copy the default.tpl and default.stpl to (for example) laravel.tpl and laravel.stpl and modify the docroot (add public). Then you can choose the new template and laravel should run without any troubles.ypildex03 wrote: ↑Tue Feb 20, 2018 9:13 amI have finished my laravel application and I wanted to deploy to vps server, I have also successfully setup my vps server with vestacp and it's running and working very well. I've tried to search on google but I could not find any step by step tutorial and my knowledge on server administration is very limited. Hoping for someone could teach me. Thank you in advance.
Re: Question: How to Deploy Laravel on Vestacp Ubunto Server
If you are trying to deploy the latest Laravel (5.6) you probably need to upgrade your PHP
Laravel 5.6 Server Requirements:
PHP >= 7.1.3
OpenSSL PHP Extension
PDO PHP Extension
Mbstring PHP Extension
Tokenizer PHP Extension
XML PHP Extension
Ctype PHP Extension
JSON PHP Extension
Laravel 5.6 Server Requirements:
PHP >= 7.1.3
OpenSSL PHP Extension
PDO PHP Extension
Mbstring PHP Extension
Tokenizer PHP Extension
XML PHP Extension
Ctype PHP Extension
JSON PHP Extension
Re: Question: How to Deploy Laravel on Vestacp Ubunto Server
kanzen wrote: ↑Tue Feb 20, 2018 11:28 amIf you are trying to deploy the latest Laravel (5.6) you probably need to upgrade your PHP
Laravel 5.6 Server Requirements:
PHP >= 7.1.3
OpenSSL PHP Extension
PDO PHP Extension
Mbstring PHP Extension
Tokenizer PHP Extension
XML PHP Extension
Ctype PHP Extension
JSON PHP Extension
Thank you for your response .. My laravel version is 5.5. And already upgraded the php version to 7.1 since the minimum version is 7.1 for laravel 5.5.
Re: Question: How to Deploy Laravel on Vestacp Ubunto Server
Thank you for this guide. May I know where to put or in what directory should I put my whole laravel apps? I'm using github to clone my laravel app.ScIT wrote: ↑Tue Feb 20, 2018 9:57 amcheck the templates in /usr/local/vesta/data/templates/web/apache2, copy the default.tpl and default.stpl to (for example) laravel.tpl and laravel.stpl and modify the docroot (add public). Then you can choose the new template and laravel should run without any troubles.ypildex03 wrote: ↑Tue Feb 20, 2018 9:13 amI have finished my laravel application and I wanted to deploy to vps server, I have also successfully setup my vps server with vestacp and it's running and working very well. I've tried to search on google but I could not find any step by step tutorial and my knowledge on server administration is very limited. Hoping for someone could teach me. Thank you in advance.
Re: Question: How to Deploy Laravel on Vestacp Ubunto Server
Also tried this one by peterbrinck https://gist.github.com/peterbrinck/266 ... 70be27edc3
but I was not able to work. I'm little bit confused or I dont get this part of the instruction
but I was not able to work. I'm little bit confused or I dont get this part of the instruction
what or w/c web template he/she is referring to?Then, when you edit your domain/site, you can change the web template to Laravel and just upload your whole project into public_html
Re: Question: How to Deploy Laravel on Vestacp Ubunto Server
no need to be so gender friendly xDypildex03 wrote: ↑Wed Feb 21, 2018 12:57 amAlso tried this one by peterbrinck https://gist.github.com/peterbrinck/266 ... 70be27edc3
but I was not able to work. I'm little bit confused or I dont get this part of the instructionwhat or w/c web template he/she is referring to?Then, when you edit your domain/site, you can change the web template to Laravel and just upload your whole project into public_html
If you set the files in your template folder like it is described on your link (https://gist.github.com/peterbrinck/266 ... 70be27edc3) ypu will get a new template called laravel. This new template you can set, when you log in with admin, then clicl on login on the right user, go to web, then edit the wanted domain and set the apache2 template to laravel (normaly from default). that's really not so hard...
Re: Question: How to Deploy Laravel on Vestacp Ubunto Server
ScIT wrote: ↑Wed Feb 21, 2018 7:21 amno need to be so gender friendly xDypildex03 wrote: ↑Wed Feb 21, 2018 12:57 amAlso tried this one by peterbrinck https://gist.github.com/peterbrinck/266 ... 70be27edc3
but I was not able to work. I'm little bit confused or I dont get this part of the instructionwhat or w/c web template he/she is referring to?Then, when you edit your domain/site, you can change the web template to Laravel and just upload your whole project into public_html
If you set the files in your template folder like it is described on your link (https://gist.github.com/peterbrinck/266 ... 70be27edc3) ypu will get a new template called laravel. This new template you can set, when you log in with admin, then clicl on login on the right user, go to web, then edit the wanted domain and set the apache2 template to laravel (normaly from default). that's really not so hard...
Thank you for this guide. I really appreciated your kindness and effort. thank you so much. I will let you know if this one work.
Re: Question: How to Deploy Laravel on Vestacp Ubunto Server
Just a feedback .still not working now my public>index.php is not showing
I've followed the instruction as what instructed here.
Each file should be put in /usr/local/vesta/data/templates/web/apache2
I put the file in the in their respective location..
And change the web template to laravel and restarted apache2.
I've followed the instruction as what instructed here.
Each file should be put in /usr/local/vesta/data/templates/web/apache2
I put the file in the in their respective location..
And change the web template to laravel and restarted apache2.
Re: Question: How to Deploy Laravel on Vestacp Ubunto Server
Which VPS are you using? If it's DigitalOcean, they have a pretty good documentation that could help you in deployment. Otherwise you can check out there marketplace to see if there is any one-click deployment solution there. Have you tried using PHP deployment tools, like Envoyer or DeployBot. These tools can make the deployment process simpler. For example with Envoyer you have to connect your Envoyer account with github and your server through ssh keys and deploy your app from github to the server through this tool. For this to work, you must have created a repo of your Laravel project that is on your localhost.