Click to See Complete Forum and Search --> : Win XP appache install / Perl


Anon
08-03-2002, 07:55 PM
I am attempting to install apache on my WinXP Home Edition machine, as a means of setting up a server for learning php. So far apache has installed ok, but testing some cgi scripts I get an error "couldn't spawn child process" . Looking at the test scripts the path to the perl executable looks like a unix example (#!/usr/local/bin/perl) which doesn't relate to any directories on my pc. I am trying to find where a Perl executable might be under the apache directories and what path variable to try in the scripts to see if this is the problem. Any clues, or am I way off?

Anon
08-08-2002, 06:13 AM
Just change the line "#!/usr/local/bin/perl" to the path to your perl.exe file (may well be something like "c:/perl/bin/perl.exe"*)


* Note the back slashes rather than the usual windows forward slashes...

Anon
08-09-2002, 05:36 PM
Thanks, I have tried that and can't find a perl.exe . I've skipped the perl/cgi test and managed to get php working with Apache anyway !