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)
































Change font color tutorial : Perl CGI on Wamp. Now its unreadable.
1You have made big mistake here: http://guides.jlbn.net/setcgi/setcgi9.html
2Step5 :
Option Indexes FollowSymLinks Includes +ExecCGI
Should be:
Options Indexes FollowSymLinks Includes +ExecCGI
It dosen’t work perl i make all like in tutorial now it give 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.
3http://djaligator.ath.cx/upo/cgi-bin/install.cgi
now it gives me
Forbidden
You don’t have permission to access /upo/cgi-bin/install.cgi on this server.
4@ DjAligator
5First, after install Perl, did you try to run the example Perl file to make sure it works?
Second, did you follow the second Perl guide to setup Perl for folder “upo”?
Third, did you include your shebang line on very top of all Perl files?
thanx.. i found this sites where i begin to convused about running .cgi script from wamp.
6Added perl\cgi to WAMP without a problem, thanks to your guide.
7An excellent and clear indtuction BN.
And Thank you (and Andreas) for the templates too.
http://guides.jlbn.net/setcgi/setcgi1.html
What this page saying, cannot read it because of Black Background, please change it to white.. Good Guides very, very heplful. So good I link to you (chick on Name above to view)
8Hey,
Thanks a lot, trying to install perl and wamp, this site should help, will come back if it does, anyways thanks a lot!!!!!
9Don’t be fooled, this is really a tutorial on how to pack as many ads into a tutorial as possible.
10“Don’t be fooled, this is really a tutorial on how to pack as many ads into a tutorial as possible.”
This site is laughable. It is almost impossible to read and distinguish an ad from actual text. Not to be mean, but seriously, less ads and better content will get you more money that so many ads that people leave from frustration. Bye bye, I will probably avoid all links back to jlbn.net, as they only lead to frustration.
11@ MorAdsPlz + Jimmy Bockles
Thank you for your comments, even they’re negative, and since they’re negative, we guess you guys only look ONE aspect when posting while our sites serve TWO purposes: tutorial guides for wamp users and implementing ads for template users, so wamp users just simply follow the guides and ignore the ads if not interested; on the other hand, our sites are good examples for template users when they wonder where possible to put the ads, Google search or Paypal, if they want to, on a particular template they just downloaded from our sites, so they just pick a spot or two for ad implementing that meet their desire needs
Nevertheless, even we’ve already tested on various monitor/LCD, due to some negative comments on this particular template, we will make a change soon
12I follow your Perl CGI setup instructions. But it doesn’t work.
When I typed http://localhost/cgi-bin/printenv.pl, the “file download” windows jump out, which means it doesn’t recognized.
What is the problem?
13Go over the guide again to make sure you didn’t miss a step or two, most likely step 29-30
14I just tried this guide and it worked. I can honestly say I wouldn’t have ever figured out how to do this myself. Thanks for everything.
Also it when I can printevn.pl it also asked me to download the file in IE. Firefox displayed the text fine. But if you save the file and open it in a text editor you can see that the script ran and the output is displayed. So there your perl installation is working.
Thanks again. Ad clicked.
15I have used your tutorial to configure perl in my wamp. Now I am trying to add MASON in cgi. Can you give me some feedback.
I will highly appreciate it
16This is quoted from Mason site and as it stated and instructed on their site mostly for mod_perl which is not the same as FastCGI as guided here, so you should check w/ them how to run it
if we have time, we might take a look and post here the easy way to run it
17i followed all the instructions to install and configure perl on wamp but it didn`t work and got “Internal Server Error:The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@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.”
Please help me out favourably
18neha hemani, did you download Perl from our Download Page? If yes, check the last 2 steps
19Thank you very Much,This is the clean & neat installation step by step procedure.
20Very good article for Perl installation.
21Brilliant! Many thanks for this excellent guide. You have my gratitude, and a well-earned donation! (from Oh My Goddess – 7 Angels).
22In joy,
Bodhi
Hello BN,
i really appreciate for the installation help of perl…it worked like charm for me and i am able to work on Perl with PHP…..Thanks a lot man hope you will keep helping guy like this in future and hope all the very best for your future
Thanks & Regards
23Abhinav Verma