Php Zip Library

liunx

Guest
Does anyone know if we can get the php zip library? (for php 5.2.4 it's called zlib).<br /><br />If so how to we go about adding this to our server?<br /><br /><a href="http://us3.php.net/manual/en/ref.zip.php" target="_blank">http://us3.php.net/manual/en/ref.zip.php</a><br /><br /><a href="http://www.zlib.net/" target="_blank">http://www.zlib.net/</a><br /><br />Thanks<br />Mike<br /><!--content-->
If you submit a ticket and ask the techs, they will be able to tell if it can be installed.<!--content-->
Yes, zlib is available. If it's not open a ticket and let the techs know what server you are on.<br /><br />Click <a href="http://leia.tchmachines.com/phpInfo.php" target="_blank">here</a> for how php is configured.<!--content-->
<!--quoteo(post=220332:date=Feb 13 2008, 06:18 PM:name=TCH-Bruce)--><div class='quotetop'>QUOTE (TCH-Bruce @ Feb 13 2008, 06:18 PM) <a href="http://www.totalchoicehosting.com/forums/index.php?act=findpost&pid=220332"><img src='http://www.totalchoicehosting.com/forums/style_images/1/post_snapback.gif' alt='*' border='0' /></a></div><div class='quotemain'><!--quotec-->Yes, zlib is available. If it's not open a ticket and let the techs know what server you are on.<br /><br />Click <a href="http://leia.tchmachines.com/phpInfo.php" target="_blank">here</a> for how php is configured.<!--QuoteEnd--></div><!--QuoteEEnd--><br /><br />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...<br /><br />To get started, I'm just testing a simple script called unzip.php:<br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--><?php<br /><br />    $zip = zip_open('/home/mysite/public_html/cms/ziptest.zip');<br /><br />    if($zip != false) {<br />        echo "Zip file Opened";<br />    <br />?><!--c2--></div><!--ec2--><br /><br />but when I go to execute it at <!-- w --><a class="postlink" href="http://www.mysite.com/cms/unzip.php">www.mysite.com/cms/unzip.php</a><!-- w --> I recieve the following fatal error saying function not found.<br /><br /><!--quoteo--><div class='quotetop'>QUOTE<!--content-->
Maybe a <a href="http://us2.php.net/zlib" target="_blank">reference</a> will help.<!--content-->
 
Back
Top