JLBN – Setup CGI Perl on WAMP

Perl is a dynamic programming language created by Larry Wall and first released in 1987. Perl borrows features from a variety of other languages including C, shell scripting (sh), AWK, sed and Lisp. Perl was widely adopted because it provides powerful text processing facilities without arbitrary data length limits, as were present in many Unix tools at the time

In this instruction guide for WAMP, we will show you how to install and setup Perl for WAMPSERVER in Windows Server 2008. Fortunately, the procedure to install Perl is about the same in Windows Vista and XP, so you can use this guide to setup Perl in either Operating System.

Note: Even this guide is used for Wampserver, you can apply this method on other wamp package such as Xampp, EasyPHP, so on. Just make sure to select correct file(s) in proper location(s) 😉

[Read more…]

37 thoughts on “JLBN – Setup CGI Perl on WAMP

  • March 16, 2013 at 7:34 pm

    Best info I have found so far, but, If I want to serve streaming video with something like Darwin, can i install it on WAMP or would I use it instead of WAMP??? Thanks for any help. I just got my Wampserver up and it serves up my webpage fine but I can’t figure out how to get it to serve up/stream my .sdp files… Yes, its true I am a virgin at this but I am trying to do some cool tracking of an arial balloon with video downlink that I am in turn trying to stream to the folks that contributrd to its flight.

    Merritt Island, Fl (Kennedy Space Center)

    • March 18, 2013 at 9:36 pm

      randy wade, WAMP is a server which would do anything that you can think of, as long as you have all the things you need setup properly. Since you didn’t state it very clear, so we’re not sure what you really want to do; thus we list 3 most common methods people would like to do for video streaming.

      1. This is the most easiest one. You save the video files on your WAMP server and let people download them. In order to play them, the viewers must have the video player installed in their computer. If you want to make it more easy for the viewers, you can convert al video files into the avi format without any special encoder such as xvid, dvix… so the viewers can simply use the Windows Media Player without the need to install any other video player 🙂

      2. This one requires some scripting. You save the video files on your WAMP server and when people click on the links, it will convert the video file into the flash video for the viewers to view. You would already see this method on some websites where it would show 10%, 20%… until complete 100% then shows the video. With this method, the viewers have to wait for awhile and that’s why it’s less and less nowadays.

      3. This method is the very dedicate one which requires a lot of work from you. You save the video files and also setup the video player on your WAMP server. For example, youtube. We don’t have any guide for this type of video streaming but you can search for these key words “php and ffmpeg” which would generate a lot of guides out there for you. To make it more easy for yourself, you should convert all video files into 1 type of video format so you only need to setup ffmpeg, 1 type of script and 1 type of video player 🙂

      Good luck and happy coding 🙂

  • June 19, 2012 at 6:09 pm

    Worked first time – appriciate the effort – simple installation made easy !

  • November 6, 2011 at 3:39 pm

    hi, im getting this error:


    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.


    is anyone else getting this error?

    my apache error says this :


    [Sun Nov 06 20:31:48 2011] [error] [client] Premature end of script headers: time2.pl


  • March 27, 2011 at 4:10 pm

    You made some decent points there. I seemed on the internet for the difficulty and located most individuals will go along with together with your website.

  • February 13, 2011 at 10:00 am

    Just used your instructions to install PERL on my new WAMP server (being tested).

    It basically worked! A few glitches (I won’t mention the stupid ones I made)

    a) clicking on the install causes an extraction before the DOS installer
    runs. Perhaps its my unzipper (windows 7.0). No big deal.

    b) You might want to emphasize that the location for installing perl should end with \perl (i.e; the installer does NOT create a subdirectory
    underneath this location). Yeah, your example does include the “\perl”, so maybe this is me being stupid. But maybe I am not the only one prone to this error (may installers do create a single directory under the desired location)

    c) The questions after “add the perl\site\bin ..” did NOT appear. That is,
    after the “Add the Perl\site…” question, the next line was Proceed?
    In particular, the “file extension association” and the two “IIS” questions did not appear. Didn’t seem to matter (note I am running windows 7.0, so perhaps IIS or whatever wasn’t detected?)

    d) This last problem drove me nuts for 2 minutes, until the obvious answer. In step 29 you say “look for the shebang line”. WTF is a “shebang line?” The example JPG coloring drew my attention to the $VAL line. But that can’t be it… and step 30 shows they didn’t change.
    After a minute or so of hating you, I realized “ah, the top line is also highlighted — and it makes sense!” Hatreid dissipated.

    So… how about saying “the top line of the file” along with “shebang line”?

    The almost bottom line is that the .PL example worked. So thanks!

    A small donation I will make in a minute. I must make is bit smaller than I would normally do, since the number of ads in the presentation bordered on the painful (btw: that makes if much LESS likely I will look at any one of the ads)

    Bottom line: thanks!

  • November 1, 2010 at 3:21 pm

    Thank you, your notes for setting up perl on wamp worked perfectly.

  • September 30, 2010 at 7:33 am

    No I have not tried it with different versions I currently have only IE 7 installed here locally.

Leave a Reply