Page 1 of 1

unzipping with php

Posted: Mon Oct 23, 2006 5:19 pm
by amir
Hi

I have a php script that downloads and extracts gz and zip files from a remote server and then unzips them.

I had been developing and testing them on a windows machine with php and all worked great, however now that I want to go live with this on a linux server with php (version 4.4.1) I get error: Call to undefined function: zip_open()

From what I've read I need to install some librarys on my linux server (dedicated managed remote server).

Unfortunatly this is where my knowledge falls down, as really I'm a PC guy a *nix admin and installation is just not my bag. If someone could provide me with some install instructions to get past this error that would be fantastic.

Posted: Mon Oct 23, 2006 5:25 pm
by RobertGonzalez
This is not a PHP code thing. This is more of a Server thing. Read the PHP Manual on Zip. There is a section on how to use it (though it appears to be bundled with PHP4) and how to install it.