Installing Compress::Zlib on Windows 2003 Server

Evening Colleagues,

My situation is this:

I have a Windows 2003 Server Web Edition hosting a lot of PHP stuff on IIS. I would like to install Compress::Zlib onto my server to decrease page loading times. However, I can't for the life of me figure out how to do it. I don't have any compilers installed and need some pretty clear instructions as to how to get this installed properly with minimum downtime to the website. The pages I've already visited:

http://www.winimage.com/zLibDll/
http://www.gzip.org/zlib/
http://www.cpan.org/modules/by-module/Compress/Compress-Zlib-1.33.readme
http://www.mattjacob.org/server/page3.html

After looking at all these, I still have no idea. To be very honest, I am not that familiar with PHP, Perl, CGI, etc... Clear and precise guidance on how to get this to work would be greatly appreciated. Thanks in advance.
LVL 7
GATOR420Asked:
Who is Participating?
 
TintinConnect With a Mentor Commented:
Compress::Zlib is a Perl module, so it's not going to be much use if you are using PHP.

I would have a look at:

http://www.dotnetjunkies.com/HowTo/16267D49-4C6E-4063-AB12-853761D31E66.dcik
0
 
GATOR420Author Commented:
Well, it's a combination of CGI and PHP. I have heard of some fantastic results using this and just wanted to give it a shot and try it out..

That site looks like a great resource, I will certainly give it a shot when I get home! Thanks for the feedback.
0
 
GATOR420Author Commented:
This looked pretty damn close to what I want even though it's not with Compress::Zlib. Something is still wrong when I go to www.pipeboost.com to test the page, I still get a document status of uncompressed. Not sure what the issue might be but I have also e-mailed the guy that created that document to see if he has any further information. If you have any other ideas though, I'm all ears :)
0
 
GATOR420Author Commented:
OK... After a combination of other errors and problems that I had to work through, your link put me back on a path of progress instead of the dead end that I was at.

One problem was I had forgetten to add the additional compression code to the .cgi scripts. (doh)

Once I did this, compression worked.

However, then I ran into a problem where all .cgi and .php scripts failed to load and gave me a <path to script> script produced no output error.

After some research I narrowed it down to the fact that I had .cgi mapped to perlis.dll instead of perl.exe. Once I changed my mappings, that corrected that problem. Everything now seems to be working properly with compression enabled.

Thanks for the lead. :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.