mklappen Posted February 13, 2008 Posted February 13, 2008 Does anyone know if we can get the php zip library? (for php 5.2.4 it's called zlib). If so how to we go about adding this to our server? http://us3.php.net/manual/en/ref.zip.php http://www.zlib.net/ Thanks Mike Quote
TCH-Thomas Posted February 13, 2008 Posted February 13, 2008 If you submit a ticket and ask the techs, they will be able to tell if it can be installed. Quote
TCH-Bruce Posted February 14, 2008 Posted February 14, 2008 Yes, zlib is available. If it's not open a ticket and let the techs know what server you are on. Click here for how php is configured. Quote
mklappen Posted February 14, 2008 Author Posted February 14, 2008 (edited) Yes, zlib is available. If it's not open a ticket and let the techs know what server you are on. Click here for how php is configured. Thanks, I did open a ticket with support and they informed me that it was installed however, I'm having some issues trying to get it to work... To get started, I'm just testing a simple script called unzip.php: ><?php $zip = zip_open('/home/mysite/public_html/cms/ziptest.zip'); if($zip != false) { echo "Zip file Opened"; ?> but when I go to execute it at www.mysite.com/cms/unzip.php I recieve the following fatal error saying function not found. Fatal error: Call to undefined function zip_open() in /home/mysite/public_html/cms/unzip.php on line 3 Is there some sort of import call that is needed to pull in the zlib library? As always thanks for the help! Michael Edited February 14, 2008 by mklappen Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.