-1

update php 7.1 -> 7.3 and composer 1.*-> 2

created a new Laravel project with laravel new

added database when tried running php artisan migrate got error

PHP Fatal error:  Uncaught Error: Class 'Illuminate\Foundation\Application' not found in /home/pratik/gitlab/blog/bootstrap/app.php:14
Stack trace:
#0 /home/pratik/gitlab/blog/artisan(20): require_once()
#1 {main}
  thrown in /home/pratik/gitlab/blog/bootstrap/app.php on line 14
Pratik Solanki
  • 75
  • 1
  • 2
  • 10

1 Answers1

-1

I had to install missing extensions

sudo apt install php7.3-mbstring
sudo apt-get install php7.3-xml

and than composer update and it was solved.

Pratik Solanki
  • 75
  • 1
  • 2
  • 10