Jump to content

Recommended Posts

Posted (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 by mklappen

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...