httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Turner <>
Subject Re: [users@httpd] cgi process spawn error
Date Thu, 26 Dec 2002 01:20:30 GMT
Joshuah Goldstein wrote:

>Hello, I am trying to configure Apache, which I just
>downloaded today, for my winME computer.
>I am specifically having trouble getting the sample perl
>script to run.
>Here is the error:
>[Wed Dec 25 16:43:50 2002] [error] [client]
>couldn't spawn child process: c:/program files/apache
>I made sure that the .pl extension was associated with
>Perl.exe and when I double-click on the .pl file in the
>windows folder it seems to run OK.

That only matters to your legacy OS, I think.  The script, itself, needs
to tell Apache how to run the script.  The extension doesn't matter.
The first line needs to have a hash-bang (or shebang) statement, eg.,
#!/usr/bin/perl on my machine (Debian Linux).  Were I running Apache on
my Windows box, (perish the thought) the line would be
#!/cygwin/bin/perl.exe.  It may need to use MS syntax, C:\cygwin\....

You may have a different problem, but since you didn't post the script,
and you say it runs outside Apache, this is a first thought.
The advice is free, and worth every cent.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message