RexJacobus
Programmer
I am trying to install Perl on my PC but am falling at the first hurdle. I hope this is something obvious that anyone with experience can tell me what I'm doing wrong.
I have already installed appache and that seems to work.
I have downloaded and kicked off ActivePerl-5.8.8.819-MSWin32-x86-267479.msi
During install I chose to all Perl to the environment variable.
I also chose to create the perl file extension.
Perl.exe lives in /usr/bin/perl.exe which I think is pretty standard.
I have my own cgi directory so I commented out #ScriptAlias /cgi-bin/ "E:/Apache2/cgi-bin/" in the appache config
THE PROBLEM
When I run the standard instead of getting an html page saying 'hello world' I get the code printed out:
#!/usr/bin/perl
print "Content-type:text/html\n\n";
print "hello world cgi";
What is going wrong?
jim
I have already installed appache and that seems to work.
I have downloaded and kicked off ActivePerl-5.8.8.819-MSWin32-x86-267479.msi
During install I chose to all Perl to the environment variable.
I also chose to create the perl file extension.
Perl.exe lives in /usr/bin/perl.exe which I think is pretty standard.
I have my own cgi directory so I commented out #ScriptAlias /cgi-bin/ "E:/Apache2/cgi-bin/" in the appache config
THE PROBLEM
When I run the standard instead of getting an html page saying 'hello world' I get the code printed out:
#!/usr/bin/perl
print "Content-type:text/html\n\n";
print "hello world cgi";
What is going wrong?
jim