note 26399 deleted from ref.zip by danbrown
| From: | danbrown@php.net | Date: | Wed, 29 Jun 2011 15:27:40 +0000 |
| Subject: | note 26399 deleted from ref.zip by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-181051@lists.php.net to get a copy of this message | ||
Note Submitter: ottawasixtyseven at hotmail dot com
----
WOW ... after weeks and weeks of research I thought I'd make somebody elses life a little
easier. If you're wondering how to make PHP 4.2.3 read windows zip files (winzip, pkzip, etc)
do this:
NOTE: THIS IS FOR WINDOWS SERVERS NOT LINUX OR OTHER. You need zziplib for Linux. http://zziplib.sourceforge.net/
ON PHP WINDOWS SERVER
1) Grab the php_zip.dll from the extensions dir in php-4.3.0pre2-Win32.zip
2) Add a line extension=php_zip.dll to your php.ini
3) Restart your web server
php_zip.dll obviously works on PHP 4.3.0pre2 but you can't run Zend Optimizer on PHP 4.3 (yet).
You can run Zend Optimizer on PHP 4.2.3 but it doesn't ship with php_zip.dll. The php_zip.dll
that ships with PHP 4.3.0pre2 may even work with older version but I haven't tested that.
For documentation on how to use the zip functions (not the gzip functions that are documented on the
php site) go here:
http://zziplib.sourceforge.net/zziplib.html
Newbie Von Greenhorn