N
N
Nik2016-07-22 10:23:35
Laravel
Nik, 2016-07-22 10:23:35

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

Monitored a lot of tips, checked the rights to folders, updated the composer, installed from the root and the user, nothing helped (
Php: iqplanets.ru/info.php
The site itself is iqplanets.ru/public
Can anyone come across a similar one?
Thank you!

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
N
Nik, 2016-07-24
@nikitinnv

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!

D
D', 2016-07-22
@Denormalization

Is there a vendor folder? composer dumpautoload -o did?

Влад, 2016-07-25
@Result007

Привет! Может в версии php что-то не так? Меня один раз это спасло :) Стоял 5.3 вместо 5.6 и laravel беспощадно ругался.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question