![]() In the left hand pane of IIS Manager, select your server. Create a handler mapping that associates "*.pl" requests with ActiveState's perlex30.dll extension using the following steps:Ĥ. In the Advanced Settings dialog, ensure that "Enable 32-bit Applications" is set to "True".ģ.In the right hand pane, under "Edit Application Pool", click on "Advance Settings.".In the Application Pools page, select "DefaultAppPool".In the left hand pane of IIS Manager, open up the settings for your server.From the Windows 'Start' menu, pick run and type "inetmgr" (without the quotes).Assuming that you will be using ActivePerl in the default application pool, these steps will do it: If you are running the 64 bit version of Windows 2008, ensure that your application pool is configured to run as 32 bit. This link downloads an MSI installer to your machine which you can run.Ģ. At this time, there is a link to version 5.10 for Windows (x86) on this page. Given the above information, here are the steps to get ActivePerl running on IIS 7:ġ. If you use perlis.dll, you may find that response headers sent from your Perl script are added to your response page instead of going back to the client as headers. You should make sure that you use PerlEx30.dll with IIS 7. There are at least two different ISAPI extensions with ActivePerl. After completing the ActivePerl installation, you will need to create handler mappings to associate requests for Perl scripts to the correct ISAPI based Perl interpreter. It just means that any application pool that contains Perl content must be configured to run as 32 bit.Īs of this writing, ActivePerl runs well on IIS 7, but its installer does not properly configure IIS 7 for running Perl scripts. This does not prevent it from running on a 64 bit install of Windows. It's been a while since I've looked at ActivePerl, so I did some research last week to see the state of things and discovered that there are a few things you need to know in order to get it to work on IIS 7:ĪctivePerl is available as an ISAPI for 32 bits only. For many years, ActiveState has provided a free version of ActivePerl that runs great on IIS using ISAPI instead of FastCGI. It turns out that this is the case for Perl. Sometimes, though, the right tool for the job is not the newest and flashiest thing. Since PHP runs best on IIS with FastCGI, I suppose it was logical to turn to FastCGI for Perl as well. The team has been doing a lot of great work with the Web Platform Installer and Windows Web App Gallery that feature popular PHP applications. This led to some discussion on the team about getting it to work with FastCGI. ![]() For a quick "installation", you can just download it from CPAN, extract the files, and copy the "Recursive.pm" file into a File\Copy directory structure placed in the same directory as your script: yourscript.We've had a few people on our forums asking about running Perl on IIS 7. Note that it's probably a good idea (maybe even required?) to run cmd.exe "As Administrator" to make sure it has full authorization.ĮDIT: The particular module you want to use is written in pure Perl. ![]() For example, to set the proxy settings for a single instance of cmd.exe: C:\>set in the same command prompt window, try this (it works for me, though I'm not behind a proxy): C:\>ppm install File-Copy-Recursive ![]() Try following the instructions to set up your environment so that PPM knows about your proxy. It seems you are using ActiveState Perl, which comes with its own package manager (called PPM) to ease the pain of installing modules, especially those which would normally require a C compiler to be able to install. ![]()
0 Comments
Leave a Reply. |