susanBuck / e15-spring22

0 stars 0 forks source link

Error about missing dependencies when working in command line #58

Closed susanBuck closed 2 years ago

susanBuck commented 2 years ago

Hi all,

If you run a command within one of your Laravel projects and receive an error about a missing dependency, follow these steps to make sure your server has all the necessary dependencies:

First, run php --version to determine if your server is running php 8.0.x or 8.1.x.

If 8.0.x then run this command:

> sudo apt-get install php8.0-mbstring php8.0-xml php8.0-dom php8.0-curl php8.0-mysql php8.0-zip unzip

If 8.1.x then run this command:

> sudo apt-get install php8.1-mbstring php8.1-xml php8.1-dom php8.1-curl php8.1-mysql php8.1-zip unzip

Related: #56, #55