You're running a version of Windows, you've installed your Apache Web Server and Perl from ActiveState, you've also created a new web directory to process your scripts, but you keep getting errors.
Usually the first response is to change the shebang line, thats the first line that usually looks like this:
#!/usr/bin/perl
However, if you then port the script to a Win32 OS, in some cases you'll have to change the line again.
Thankfully Apache have a simple answer to this. Inside the http.conf file there is a line which is specifically for Win32 machines. Find the following line and uncomment it:
ScriptInterpreterSource registry
This will ensure that Apache looks up the correct location within the Windows Registry rather than refering to the shebang line.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.