Skip to content
Advertisement

php artisan command not working in ubuntu

When i do php artisan or php artisan serve in my laravel project it shows some error and I don’t know how to solve it. I tried removing composer and again installing it also doing composer update but it does not seem to solve the problem. Operationg System: Ubuntu 20.04 LTS

My Error:

JavaScript

When I do composer install inside my project is shows:

JavaScript

Advertisement

Answer

Did you installed all the necessary vendor packages locally? Does your “vendor” directory exists?

Don’t forget to use:

JavaScript

in the project directory to install necessary vendor packages.

Also, make sure you have installed necessary PHP extensions, such as mbstring and xml, you may install them via:

JavaScript

Hopefullly this helps solve your question.

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement