Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

bulgaria_mitko's avatar

I have installed php7.0-zip, but still run into The Zip PHP extension is not installed.

when i run: sudo apt-cache search php7.0-zip i get as a result: php7.0-zip - Zip module for PHP

and then when i run: laravel new project i get an error: [RuntimeException] The Zip PHP extension is not installed. Please install it and try again.

new [--dev] [--5.2] [--] []

i have already installed php7.0-zip i even have reinstalled a couple of times and nothing is hepling out. what i should do :(

0 likes
1 reply
bulgaria_mitko's avatar
bulgaria_mitko
OP
Best Answer
Level 6

i got my problem i had to run:

sudo apt-get install php-zip

and then restart the server:

sudo service apache2 restart

now everything is working again :D

2 likes

Please or to participate in this conversation.