Answer the question
In order to leave comments, you need to log in
How to fix error after installing Laravel 5 on VPS?
I started learning Laravel, everything is ok on the local machine. I decided to put it on vps linux, I ran into a problem.
I installed it according to the instructions through the composer, all the folders were placed as needed, but the site itself does not start and when I try to run artisan I get the following errors:
[[email protected] iqplanets.ru]# php artisan
PHP Warning: require(/var/www/admin/data/www/iqplanets.ru/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /var/www/admin/data/www/iqplanets.ru/bootstrap/autoload.php on line 17
PHP Fatal error: require(): Failed opening required '/var/www/admin/data/www/iqplanets.ru/bootstrap/../vendor/autoload.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/admin/data/www/iqplanets.ru/bootstrap/autoload.php on line 17
Answer the question
In order to leave comments, you need to log in
Thank you very much to Stanislav ( https://toster.ru/user/DJZT) he gave me a lot of great advice in PM and in the end it turned out to launch Lara with his help)))
The initial mistake was in the clumsy vps and PHP settings. I had to rearrange the axis to Ubuntu, and then install everything according to the manuals and set the rights to the folders at the end.
Thanks to everyone who tried to help!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question