ok, to install the ZIP PECL library do this:
first create a phpinfo file to get necessary informations, like this:
save it as phpinfo.php any where in the server, but remember, you are going to need to see this file on a browser.
open the browser and open that phpinfo file that you've just created and search for these 2 values:
Configuration File (php.ini) Path
and
extension_dir
login into your server as root and type this:
Code:
cd /usr/src/
wget http://pecl.php.net/get/zip-1.8.0.tgz
tar -xzf zip-1.8.0.tgz
rm -f zip-1.8.0.tgz
cd ./zip-1.8.0
phpize
./configure
make
make install
when you type make install something like this will be written on the screen:
Code:
Installing shared extensions: /usr/local/lib/php/extensions/no-debug-non-zts-20060613/
write that down somewhere, copy and paste it on a notepad.
what you just did was compile the library, now you need to edit php.ini file to turn the extension on:
Code:
vi you_php_ini_path_here
type / to search and search for enable_dl and make sure this is set to on
type / to search and search for extension_dir and paste the thing I told you to paste on the notepad, so it looks something like this:
Code:
extension_dir = "/usr/local/lib/php/extensions/no-debug-non-zts-20050922/";
now right bellow that add this
now just restart apache and look at the phpinfo file.
any questions, just ask