Solved

Installing Compress::Zlib on Windows 2003 Server

Posted on 2004-09-07
4
220 Views
Last Modified: 2013-12-25
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.
0
Comment
Question by:GATOR420
  • 3
4 Comments
 
LVL 48

Accepted Solution

by:
Tintin earned 500 total points
ID: 12001136
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
 
LVL 7

Author Comment

by:GATOR420
ID: 12006824
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
 
LVL 7

Author Comment

by:GATOR420
ID: 12011496
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
 
LVL 7

Author Comment

by:GATOR420
ID: 12012287
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

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

If you get a (Blue Screen of Death), your system writes a small file called a minidump. Your first step is to make certain your computer is setup to record memory dumps. Right click My Computer, choose properties. Click on the advanced tab, an…
This article will show, step by step, how to integrate R code into a R Sweave document
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now