View Full Version : Installing zLIB
Mark Hewitt
Tue 7th Aug '01, 4:23am
Can anyone comment on how hard it is to install zLIB into PHP?
My host has been promising to do it for the last 6 months with no results. I was just wondering if it is a long and involved process?
eva2000
Tue 7th Aug '01, 6:22am
installing zlib for linux - http://i4net.tv/marticle/get.php?action=getarticle&articleid=18
you'd need to recompile php with zlib too http://i4net.tv/marticle/get.php?action=getarticle&articleid=17
http://i4net.tv/marticle/index.php?action=section&sec=4
Philipp
Tue 7th Aug '01, 10:30am
installing zlib for linux - http://i4net.tv/marticle/get.php?ac...le&articleid=18
zLib is already included in the PHP distribution. There is no need to install it before :)
You just need to add --with-zlib in ./configure to enable zLib support
Mark Hewitt
Wed 8th Aug '01, 3:35am
Originally posted by Philipp
zLib is already included in the PHP distribution. There is no need to install it before :)
You just need to add --with-zlib in ./configure to enable zLib support
So you don't need to recompile PHP?
It's not me that has to do it of course. It's my webhosting company. They talk lots but do litte :(
JamesUS
Wed 8th Aug '01, 6:11am
Yes you do need to recompile PHP. Does your host run cpanel?
Mark Hewitt
Wed 8th Aug '01, 7:21am
Yes cpanel and their own "netadmin" extension.
Mark Hewitt
Thu 9th Aug '01, 4:11am
Well my host seems to think it's too much bother so have refused to do it :mad:
dwh
Thu 9th Aug '01, 1:11pm
Originally posted by JamesUS
Yes you do need to recompile PHP. Does your host run cpanel? I do...Just curious, why are you asking?
BTE, How can I tell if it's enabled? What are the benefits? Is this to write scripts or does this compress everything php touches on the fly? It would be nice to perform lossless compression on all uploaded images.
phpinfo doesn't mention it at all.
JamesUS
Thu 9th Aug '01, 1:46pm
I'm asking about cpanel because I too have cpanel on my server and recently discovered (but only after much hardship trying to get mod_gzip going myself) that there is a mod_gzip extension available that will work on cpanel with about 5 minutes installation time (much less than otherwise).
http://cpanel.net/
It's the second link down - I'm not sure if it is what's needed for vB's gzip compression as I think you need zlib as well but it's worth a shot.
roy7
Thu 16th Aug '01, 12:13pm
If you use mod_gzip and configure it to handle php files, you don't need to use vB's compression at all. I prefer using mod_gzip since it does other stuff as well, and I can log the compression stats to get some nice graphs of how much bandwidth it saves. :)
-Jonathan
vBulletin® v3.8.0 Beta 4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.