Solved

Installing Compress::Zlib on Windows 2003 Server

Posted on 2004-09-07
4
227 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
get remote physical servers and platforms 5 54
Sums of coloumns in html/java 15 80
How does Redux fit into React? 3 84
AWK Code gives empty file, why? 12 36
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

860 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