View Full Version : ZipArchive
hobbes
09-27-2008, 05:20 PM
Has anyone installed the PHP ZipArchive extension in their account? Any issues?
Does PHP provide a way to install PECL extensions locally? Is pecl or phpify available (latter appears to be restricted to root)?
Thx.
kitchin
09-27-2008, 07:14 PM
IIRC, no you cannot install a binary extension or use phpify at FutureQuest. You can request it get installed globally.
You can install packages that are just PHP files, but for Zip operations that must be fairly slow'n'heavy.
And as I recall it:
* PECL: has extension packages, which when installed are compiled binaries.
* PEAR: has packages which are PHP files, and can be used by calling set_include_path() or .htaccess "set include_path".
Even though PHP.net says PECL is part of the PEAR repository, they are really separate. For example:
This is a PEAR package:
http://pear.php.net/package/Mail_mimeDecode/
This is a PECL extension package:
http://pecl.php.net/package/mailparse
I didn't see "ZipArchive" at either PECL or PEAR though.
hobbes
09-27-2008, 07:23 PM
The PECL ZIP archive is http://pecl.php.net/package/zip
I didn't think it was possible to install it locally either, but had come across the following comment (http://www.aota.net/forums/showthread.php?postid=121712#post121712) from Terra re. another extension:You may be able to download the PECL version now, install that module locally into your account and utilize it from there...
vBulletin® v3.6.8, Copyright ©2000-2009, Jelsoft Enterprises Ltd.