I really need some help installing zip functionality on my virtual dedicated web server. The application needs to use the zip_open function, but the webserver doesn't have this activated by default. The webhosting company told me that I need to install this manually through SSH command line.
I've tried following the ONLY tutorial that I have found so far here (http://www.wowtutorial.org/tutorial/66.html), but I seem to get stuck at the 'make' command. I'm getting an error after it does some processing.
/usr/src/zip-1.10.2/php_zip.c:30:31: error: ext/pcre/php_pcre.h: No such file or directory
/usr/src/zip-1.10.2/php_zip.c:715: error: initializer element is not constant
/usr/src/zip-1.10.2/php_zip.c:715: error: (near initialization for 'zip_functions.fname')
/usr/src/zip-1.10.2/php_zip.c:715: error: expected '}' before 'ZEND_RAW_FENTRY'
/usr/src/zip-1.10.2/php_zip.c:1112: warning: initialization discards qualifiers from pointer target type
make: *** [php_zip.lo] Error 1
Can anyone help give me a step by step solution to this problem, or point me in the right direction?
If it helps, I am running CentOS 5 as the OS.