Answer the question
In order to leave comments, you need to log in
How to host a Laravel project on a VPS with VestaCP?
There is a ready-made application on Laravel that needs to be transferred to a VPS with VestaCP. I say right away that I haven’t been on the Web for so long and therefore I may not know some of the nuances, if possible, explain more intelligibly)
In short, I divided my project, as indicated in this manual, into public and private. blog.bobbyallen.me/2015/03/25/how-to-host-a-larave...
Changed torequire __DIR__ . '/../bootstrap/autoload.php';
require __DIR__ . '/../private/app_data/bootstrap/autoload.php';
There was no start.php , I also made a change for app.php, by analogy with autoload.php Answer the question
In order to leave comments, you need to log in
I do this all the time, the algorithm is something like this:
1. Install laravel in the /home/admin/web/website.ru folder
2. Rename the public folder to public_html
3. Change the open_basedir settings for the site directory (error 500 is most likely due to this ):
In the /home/admin/conf/web folder, create the apache2.website.ru.conf file with the following content:
<Directory /home/admin/web/website.ru/public_html>
php_admin_value open_basedir none
</Directory>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question