We help IT Professionals succeed at work.

Stand-alone Perl.exe version for CGI executables in IIS?

1,094 Views
Last Modified: 2013-12-25
Hi,
   I'm looking for a stand-alone version of Perl.exe for Windows so that my CGI script in IIS server can run without having to install the ActivePerl program on the production server. Is this possible? The CGI script needs the following libraries:

use Win32::ODBC;
use CGI qw(:standard);
use File::stat;
use Time::Local;

Any help will be appreciated!
Comment
Watch Question

CERTIFIED EXPERT
Top Expert 2007
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Top Expert 2009
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
Yeah, it is a production machine that I want to deploy the Perl CGI application on IIS, and therefore want to create as minimal dependencies as possible...

Author

Commented:
it is possible to install ActivePerl on the production machine with as little impact as possible?
Top Expert 2009

Commented:
Not sure what you mean by "as little impact as possible".
If you are concerned that installing ActivePerl might cause other things to stop working, I wouldn't be very concerned.  It is very common to have ActivePerl installed on production servers.

Installing ActivePerl will:
* create a directory (usually c:\perl) that will contain all of the perl files (the perl interpreter executable, libraries, etc.).
* It will create an association between .pl files and the perl interpreter (usually c:\perl\bin\perl.exe)

Then you may have to enable perl in IIS - I'm not very familiar with IIS.

Then you may have to install additional perl modules, if you are using any that don't come as part of the standard distribution.  This can usually be done using ppm - and doesn't require anything else be installed.  Occasionally (very uncommon on windows) you will need to have a compiler installed.

There shouldn't be many other changes needed to your system though.
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.