In addition to the
unofficial tutorial by CyberSpatium I found a (imho) much more convenient way to include Perl support to the current WAMP version - as you might have noticed, the Perl add-on is hidden in the v 1.6 downloads.....
1. Install WAMP
2. get yourself a copy of ActiveState's Active Perl for Windows (
link) - it's free of charge
3. Install Active Perl
4. Modify your WAMP's Apache httpd.conf as described in the tutorial mentioned above, i.e.
4.1 add the
+ExecCGI directive to the line
Options Indexes FollowSymLinks (line 192 in my conf)
4.2 find
#AddHandler cgi-script .cgi and change it to
AddHandler cgi-script .cgi .pl (line 398 in my conf)
5. If you want to run perl scripts
5.1 have a look at the first line (the "shebang"
to find out where the script looks for perl; the line might look like this:
#!/usr/bin/perl5.2 copy or rename your Perl directory to whatever you see in front of the /bin/perl, e.g. rename c:\perl to c:\usr
5.3 using Apache's Alias or ScriptAlias would be much nicer, but so far I haven't found the right way to get it working.....
6. restart your WAMP Apache
If you want to run Perl or CGI scripts from a command prompt (similar to ssh under Linux), follow the instructions in the Active Perl documentation (
link) - basically you need to associate file extensions .pl and .cgi with perl.exe for opening.
Post Edited (09-13-07 15:41)