Trying to install zip using
pecl install zip
as a result of getting this error
ZipArchive not found
ended up giving me this error
Invalid tgz file.
In order to get zip.so installed I downloaded it manually from http://pecl.php.net/package/zip and then installed it manually.
cd /usr/src/
wget http://pecl.php.net/get/zip-1.10.2.tgz
tar -xvf zip-1.10.2.tgz
cd zip-1.10.2.tgz
phpize
./configure
make
make test
make install
After installing the module I added the extension line in the php.ini
extension=zip.so
In WHM the php.ini is located in /usr/local/lib/
Leave a Reply