Download 

Download the All-in-One package at:

This package contains Perl and Apache binaries. so you don't need to download Apache additionally.

The downloaded file name is Perl-5.8-win32-bin-0.10.exe

Installation & configuration

Run this installation file, choose a directory where would be installed, if you want the files to be in C:\Perl\, just Enter C:\ . I installed at D:\Green\

All files would be copied into D:\Green\Perl and D:\Green\Apache2

After the installation, the application will ask you if start to configure the Apache and Perl. just need to follow the indication of the text based configuration wizard.

If configure is succeed with no error then go to next step.

Add these 2 paths where are your Perl and Apache installed into your OS environment variable PATH:

D:\Green\Perl\bin
D:\Green\Apache2\bin

Then open a dos window to run following commands:

dos> apache -k install
dos> apache -k start
  • The 1st command will add a service in windows services list called Apache2.
  • The 2nd command will start the Apache web server with default settings.

After this, you can open IE to visit your web server by either of below URLs. you should see the Apache welcome page if you generated them during the configuration above.

Following step is very important and must be taken! For running perl script named as .cgi or .pl on Apache, you should have below code at the first line in your each .pl or .cgi file:

#!d:/green/perl/bin/perl -w

Up to now, the Apache and Perl environment have been ready for use. visit these links for checking if Perl and PHP both work.

Reference

 

Post a comment

mail.png


相似文章|Related Entries

最近更新|Recent Entries

不定期更新|Handy Entries

相似标签|Related Tags

Apache
Linux (15)
perl (2)
tomcat (1)
虚拟主机 (1)
perl
Apache (3)
字符 (1)
字节 (1)

分类栏目|Categories

按月归档|By Month

2008
01
2007
12
10
07
06
05
04
03
02
01
2006
12
11
10
09
08
07
06
05
04
03
02
01
2005
11
10
09
08
07
04
03
2004
12
11
10
09
08
07
06
05
04
03
02
01
2003
12
10
09
08
06
2002
09
08
04
03
02
2001
12
09
07
06
05

站内链接|Site Links

Powered by
Movable Type 3.34