ziparchive class not found in laravel 6

Laravel 6 , Laravel

Nicesnippets

5955

20-09-2019


If you have error class 'ziparchive' not found in laravel application then i will help you to solve ziparchive class error. if you are using ubuntu 16.04 or ubuntu 18.04 then you have to install php zip extention.

the fetal error is ziparchive not found,class 'ziparchive' not found,excel ziparchive not found,excel class 'ziparchive' not found.

This error occurs if you do not install Zip archive.

In this solution i will show you the solve this error as bellow.

Solution for PHP 7.3:

sudo apt-get install php7.3-zip

Solution for PHP 7.2:

sudo apt-get install php7.2-zip

Solution for PHP 7.1:

sudo apt-get install php7.1-zip

Solution for PHP 7.0:

sudo apt-get install php7.0-zip

It will help you....


Recommended Posts