Friday, October 3, 2008

How to install perl in Windows XP

Download ActivePerl from here or here.
You need to input your name and email.
But it is free

Begin installation, follow the steps

[Check] Add Perl to the PATH environment variable
[Check] Create Perl file extension association
And your installation will be smooth.

refer to this page

After installation finished,  you will see the release note
"

ActivePerl 1004 -- Release Notes

Welcome, and thank you for downloading ActivePerl. This release corresponds to Perl version 5.10.

The following platforms are supported by this release:

  • AIX 5.1 or later (rs6000)

  • Linux: glibc 2.3 or later (x86 and x64)

  • Mac OS X 10.4 or later (x86 and powerpc)

  • Solaris 2.8 or later (sparc, 32 and 64 bit)

  • Solaris 10 or later (x86)

  • Windows 2000 (x86)

  • Windows XP, 2003, Vista (x86 and x64)

    blablabla

"
It is very cool to support so many platforms.


Apache conf
You have to have your apache web server running.
In "C:\Program Files\Apache Software Foundation\Apache2.2\conf"
Edit the httpd.conf file which is the configuration file of apache server in the following way

Activating CGI
Using Notepad (or other text editor) openhttpd.conf (also should be start-menu shortcut called "Edit Apache HTTP httpd.conf File") and search for Options Indexes "FollowSymLinks" (about line 217) when you find it add "ExecCGI" to the end so it looks like "Options Indexes FollowSymLinks ExecCGI"

You should restart your apache server after these changes
this page is very helpful for you to get perl cgi runing properly




No comments: