Hi there,
I was wondering whether anyone would be able to assist me.
I am trying to use the zip class that is a PECL package. I believe that I have followed the instructions to the T and have spent hours trying to figure out why it wont work.
Here is what I have done:
downloaded the zip package to my desktop
Opened up terminal and written the following:
- cd ~/Desktop/zip/
- phpize
- /configure
- make
- sudo make install
- Updated the PHP ini with extension=zip.so
- updated my PHP ini file with the extension_dir of /usr/lib/php/extensions/no-debug-non-zts-20060613/
- restarted apache
The when I try to access the ZipArchive class within my localhost I get the following error:
Fatal error: Class 'ZipArchive' not found in /Users/myname/Sites/zip_test/index.php on line 14
I simply cant find a solution to this and would really appreciate it if anyone could provide any assistance on this issue.
Cheers
Jon