Portal Home > Knowledgebase > Articles Database > How to enable ZipArchive Library?
How to enable ZipArchive Library?
Posted by Ruriko, 01-27-2011, 08:10 PM |
Hi I have centos and I get this error when uploading zip files on my custom script.
How do I enable zlib?
|
Posted by asciiDigital, 01-27-2011, 09:51 PM |
You need to install zlib:
http://www.winimage.com/zLibDll/minizip.html
|
Posted by diehost, 01-29-2011, 05:00 PM |
Open cmd window and type :
wget [link to php goes here]
tar -xvf [file you downloaded goes here]
cd [name of file without the extension\folder that was just extracted to]
./configure --enable-zip
make
make install
In Batch :
yum install -y make wget gcc zip-devel bzip2-devel
wget http://us3.php.net/get/php-5.2.14.ta...om/this/mirror
tar -xvf php-5.2.14.tar.gz
cd php-5.2.14
./configure --enable-zip
make
make install
|
Posted by filegrasper, 01-30-2011, 03:40 AM |
You need to install zlib
|
Posted by winlinuxadmins, 01-30-2011, 04:19 PM |
Hey,
Tell all us know if this solved your issue if not what else ?
|
Add to Favourites Print this Article
Also Read
Media Temple? (Views: 665)