faqts : Computers : Internet : Web Servers : Apache : Installation and Setup

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

84 of 101 people (83%) answered Yes
Recently 7 of 10 people (70%) answered Yes

Entry

Why doesn't my cgi's work? I get an error called "Couldn't spawn child process"

Nov 20th, 2001 05:14
Johannes Kilian, Dirk Schäfauer,


Probably the solution is simple:

the shebang line in your cgi-Skript doesnt have the right path to the 
executable ...

The shebang is usually the first line in the script, which points to the 
executable, which executes the script.

For example:

#!/usr/bin/perl

just change it zo the location where your perl.exe resides:

#!C:\Programme\perl\perl.exe

Now it should work ...