annanex.blogg.se

Activeperl 5.10 0
Activeperl 5.10 0










activeperl 5.10 0
  1. #ACTIVEPERL 5.10 0 INSTALL#
  2. #ACTIVEPERL 5.10 0 DRIVER#
  3. #ACTIVEPERL 5.10 0 DOWNLOAD#

After the “uwinnipeg” repository is added successfully, you can install DBD-mysql by typing this command “ppm install DBD-mysql” and hit enter. Open command prompt, then type “ppm repo add uwinnipeg” and press enter.Ģ. So, you need to add additional repository and install from that repository.

#ACTIVEPERL 5.10 0 DRIVER#

However, mysql driver module is not available in the default ActivePerl Package Repository. You have to grab the driver from the ActivePerl package repository.

#ACTIVEPERL 5.10 0 DOWNLOAD#

You need to download and install mysql driver to enable database connection through your perl script. Next thing you might need to do is to configure perl to use mysql database. Your server is now configured and ready to run perl and cgi script. Replace the one inside your apache directory with this one.

activeperl 5.10 0

DirectoryIndex index.php index.php3 index.html index.htm index.cgi ĭirectoryIndex index.php index.php3 index.html index.htm index.cgi Īlternative: If you do not want to waste your time doing the above 3 steps, you can download the edited configuration file nf here. To add directory index file, look for the line “DirectoryIndex index.php index.php3 index.html index.htm“. Now you will be able to execute CGI and Perl script with. pl file extension in your server add “AddHandler cgi-script.

activeperl 5.10 0

You need to enable this by un-comment this line, to do that remove the # character at the beginning of this line. This will enable CGI script inside your Now look for the line “AddHandler cgi-script. Options Indexes FollowSymLinks Includes ExecCGI Add “Includes ExecCGI” in the line just next to FollowSymLinks, thus it look like thisġ. Inside nf, look for the line that says ““, just a few lines below this you’ll find the line that says “Options Indexes FollowSymLinks“. Now go to “C:\wamp\bin\apache\Apache2.2.11\conf” directory and open “nf” file. You need to edit the Apache configuration file. The next thing you need to do is configure the Apache web server to execute Perl and CGI script. So I install Active Perl in “C:\wamp\bin\perl” directory. I create a new folder name “perl” inside “C:\wamp\bin“. The default installation directory is “C:\Perl“, but for simplicity and ease of use I use different directory. Now you have to download ActivePerl (currently 5.10.0) from and install it. The current Wamp Server will install Apache 2.2.11, PHP 5.2.9-2 + PECL, MySQL 5.1.33, SQLitemanager and PhpMyadmin. To complete the installation you have to set the host name for your mail server and your email address, here you can leave the default option again. The default installation directory is ‘C:\wamp” and here I am using the default options for installation. I hope this might be useful.įirst you need to download Wamp Server from and install Wamp Server on your machine. I work on Perl and CGI recently for my college project and so I decided to write a few steps on setting up Perl and CGI with Wamp Server.












Activeperl 5.10 0