cms icon indicating copy to clipboard operation
cms copied to clipboard

php artisan install eror

Open Tzeenchist opened this issue 5 years ago • 6 comments

Hello! I install on the guide https://lavalite.org/docs/master/installation. Server based on CentOS 7. Installed php 7.2 (+fpm), Maria DB, nginx. Not performed php artisan lavalite:install or php artisan install.

console:

[root@... lava]# php artisan lavalite:install
PHP Warning:  require(/var/www/lava/vendor/autoload.php): failed to open stream: No such file or directory in /var/www/lava/artisan on line 18
PHP Fatal error:  require(): Failed opening required '/var/www/lava/vendor/autoload.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/lava/artisan on line 18

/var/www/lava/artisan on line 18: require __DIR__.'/vendor/autoload.php';

I am a beginner and I do not understand the essence of the error. Tell me how to solve.

Tzeenchist avatar May 05 '19 08:05 Tzeenchist

Try composer install first

dtr0yan avatar May 07 '19 12:05 dtr0yan

Try composer install first

Same result, same error

Tzeenchist avatar May 07 '19 13:05 Tzeenchist

Try composer update first

Younesi avatar Jul 13 '19 18:07 Younesi

Try composer update first

Same result with composer update giving same error

fkurtulus avatar Aug 24 '19 13:08 fkurtulus

Try composer update first

I tried again. The situation has not changed.

Tzeenchist avatar Sep 04 '19 07:09 Tzeenchist

There might be an error with your composer install. In my case, it is out of memory so I need to increase the PHP memory limit, and run the composer install again.

fazamutash avatar Sep 23 '20 08:09 fazamutash