Use PECL http://pecl.php.net/package/zip
The last version is :1.10.2
The last time I used it 1.8.10 :
cd tmp
ftp http://pecl.php.net/get/zip-1.8.10.tgz
tar xvzf zip-1.8.10.tgz
cd zip-1.8.10
./configure make make install
Make a new file : /var/www/conf/php5/zip.ini
extension=zip.so
I have php5-core-5.2.6p0 installed on an OpenBSD system and am having
trouble using the zip functionality of PHP.
The line
$zip = new ZipArchive;
results in this error:
*Fatal error*: Class 'ZipArchive' not found
Apparently PHP has to be compiled with zip support.
Could somebody who knows more
2 matches
Mail list logo