Hi,
I have installed on XAMPP on Windows XP 32-bits and apache server works perfectly well except perl.
I have two version of hello.pl and hello-oo.pl. (oo = object oriented)
I attempted to execute it by typing 192.168.1.25/cgi-bin/hello.pl (hello-oo.pl too)
The source code for hello.pl is:
#!/usr/bin/perl
use strict;
use CGI ':standard';
print header;
print start_html('Hello World');
print h1('Hello World');
print end_html();
exit;
And oo version is:
#!/usr/bin/perl
use strict;
use CGI;
my $cgi = new CGI;
print $cgi->header;
print $cgi->start_html('Hello World');
print $cgi->h1('Hello World');
print $cgi->end_html();
exit;
The error messages in apache error.log are:
The system cannot find the path specified. : couldn't create child process: 720003: hello-oo.pl
The system cannot find the path specified. : couldn't spawn child process: C:/xampp/cgi-bin/hello-oo.pl
The system cannot find the path specified. : couldn't create child process: 720003: hello.pl
The system cannot find the path specified. : couldn't spawn child process: C:/xampp/cgi-bin/hello.pl
How can I do to resolve it?
Thanks kindly in advance
M