In earlier versions of ActivePerl you had to configure IIS yourself. The newer version comes with a “ap-iis-config.bat” file to configure IIS automatically.
To install Perl on a Windows 8.1 machine with IIS8.5:
- Download latest version on: ActiveState.com.
I’ve used the Perl 220.127.116.110 64-bit version for windows
- Run the installation and use the default C:\Perl64 folder.
- Run Command Prompt (admin) under Windows start (Windows-key + x) and go to: C:\Perl64\bin
- run “ap-iis-config.bat” to make IIS8.5 Perl compatible
- run “iisreset” to reset IIS and Perl is now active.
To make sure Perl is active you can go to IIS and click on the Handler Mappings feature. There you should find the Perl CGI for .pl handler with these settings:
Some users get this error message while running the ap-iis-config.bat file:
Use of uninitialized value $path in -f at ap-iis-config line 358.
The installation still seems to work though.