Do I need the Perl addon to run simple CGI script?

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Do I need the Perl addon to run simple CGI script?

Postby viking2ev » 20. March 2007 09:47

Sorry for a novice question..

I tried to run a simple CGI script written in perl, and put the CGI script in the CGI folder. However, I get this error:

The server encountered an internal error and was unable to complete your request.

Error message:
couldn't create child process: 720003: hw.cgi


Do I need to install the perl add-on to get it to work? If so, which version?

Here is the CGI test script. Is the first line correct? If not, what should it be?

------------------
#!/usr/bin/perl

print "Content-Type: text/html\n\n";

print 'hello world';
exit;
--------------------

TIA
viking2ev
 
Posts: 6
Joined: 20. March 2007 03:59

Postby Wiedmann » 20. March 2007 14:27

Is the first line correct?

Das a "dir \usr\bin\perl" in a command shelll (cmd.exe) work on your pc?

if not, what should it be?

The path (and program name) to your "perl.exe".
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 61 guests