Class 'ZipArchive' not found. how to configure zip on php apache
15,088
The actual package name on centos 7 is php-pecl-zip.x86_64
.
Try installing that and enabling it by running:
echo "extension=zip.so" >> /etc/php.d/zip.ini
Author by
Muhammad
Updated on September 18, 2022Comments
-
Muhammad over 1 year
Following is the error message that i am receiving I searched through internet and did installed zip using
sudo yum install php70-php-pecl-zip
when i do
yum list installed
, it shows me that "zip.x86_64
" is there but when i do phpinfo() it doesn't shows me zip extension installed.It looks like it is not loading the
zip.ini
in/etc/php.d/
directoryany help will be appreciate thanks. i am running
centos 7
andphp 7.0.27
-
Jay Momaya over 5 yearsWhat is installation command..?
-
Gothrek about 5 yearsIt's in the OPs post, read it carefully.