Php – zip_open(); undefined on PHP 5.2.8

phpzip

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!

Best Solution

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.