askon
askon

Reputation: 671

zip_open(); undefined on PHP 5.2.8

I've done a bit of searching around and was unsuccessful in finding an ample solution.

Specs are: OS X 10.5 with Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.7l DAV/2 PHP/5.2.8

Error: Fatal error: Call to undefined function zip_open() in /includes/admin_functions.php on line 18

Thank you for your help!

Upvotes: 4

Views: 12072

Answers (3)

Saurabh Chandra Patel
Saurabh Chandra Patel

Reputation: 13594

your zip module is not configured properly or missing

sudo apt-get install php7.0-zip

Upvotes: 5

Kekoa
Kekoa

Reputation: 28250

Check your phpinfo();

The only reason the function would be undefined is if the extension was not properly installed. Ensure that it appears when you run your phpinfo() page.

Upvotes: 6

MiffTheFox
MiffTheFox

Reputation: 21565

Do you have the ZIP module installed?

Upvotes: 2

Related Questions