trying to use gzlib & ZZIPlib within PHP
| From: | Wo Chang | Date: | Thu, 18 Apr 2002 03:58:15 +0000 |
| Subject: | trying to use gzlib & ZZIPlib within PHP | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-93475@lists.php.net to get a copy of this message | ||
Dear PHPers,
I downloaded and compiled the zlib from www.gzip.org/zlib
and recompiled the php and apache, but somehow I get
gzcompress and gzuncompress undefined.
Then I tried with ZZIPlib with --with-zip switch when
compiling PHP then recompile apache. After restarted
the apache, I do see variables get set for zip but when
I do zip_open ("abc.zip") I got an error saying zip_open
not defined.
How do I get the above gzcompress & zip_open to work?
I checked with httpd.conf for zlib. I also enable the
compression for php.ini
Any helps would be greatly appreciated.
--Wo