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:

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.
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:
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.
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 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 :)
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. :)
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.