RuntimeException The Zip PHP extension is not installed

Amjad picture Amjad · Apr 9, 2016 · Viewed 17.3k times · Source

I'm a newbie in Linux I just installed composer and laravel...

but when i run the laravel new project i get the following error:

[RuntimeException]
The Zip PHP extension is not installed. Please install it and try again.

I don't know how to install that extension...

please help

Answer

Devin Norgarb picture Devin Norgarb · Apr 21, 2016

Try type into the command line:

sudo apt-get install php7.0-zip

Verify from any route with:

dd(get_loaded_extensions());

This worked for me, good luck.