Installing Perl and Personal Web Server on Windows
Before you start trying to upload your best perl-based CGI scripts to a remote web host, wouldn't you like to be able to run your scripts locally and see the output in your own browser? It's a lot quicker, easier, and even potentially less embarassing to develop on your own machine first!
Best of all, you can do it all for free with readily available software. It just takes a bit of know-how, and that's what I'm going to show you in this section.
Basically there are three steps involved in this installation, and fortunately each one is quite easy. And, like I said earlier, the software is available for free. These instructions work well for Windows 95, 98, and Windows Me. They also work for NT and 2000, but things are not quite so easy, because you'll need administrative privileges to do the installation.
The three steps are these:
1. Install Perl from www.activestate.com
2. Install Personal Web Server from your Windows CD
3. Link Perl and PWS together to run CGI Scripts
Please visit each step in turn. If all goes well, by the end you'll be looking at a simple perl script output in your browser!
Note as of Aug 2005: A lot
of people have difficulty with configuring Microsoft's PWS
or IIS. Most of the questions I get regarding installation
are because of this. Let's face it - Microsoft's documentation
on configuring these products is not good.
Nowadays, when someone writes
to me for help with their PWS or IIS installation settings,
I suggest they save themselves a lot of trouble and use a
different webserver instead. It is free, and is well documented.
You can find it at www.aprelium.com. Look for the Abyss Web
Server X1. It works very well and is much easier to set up
than PWS or IIS.
Start your voyage with the link below:
Installing Perl
____
Questions? Feedback?
Email me your
comments!
Like the course?
Please rate the site here
Copyright 2003-2007 Michael Gossland and
Associates. All rights reserved.
|