Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

couldn't spawn the child process

Status
Not open for further replies.

thendal

Programmer
Aug 23, 2000
284
Hi all!

I have installed the apache webserver and active state perl
in my laptop which is having windows 2000.when i try to run a perl script,it gives a internal server error the perl script is very simple,

just having a print statement ..when i look into the error log it states that couldn't spawn the child process ...

Is there any setting i need to change...


here is the script


#!c:\perl\bin\perl.exe
use CGI;
$op=new CGI;
print $op->header;
print &quot;<h1>This is a Test</h1>&quot;;

Any help will be appriciated..

Thanks

 
It sounds like you have a configuration problem in your web server. Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
Sorry, I'm way behind in installing web servers on M$ platforms....
However, I think Tracy is probably on the right track. If you have not already, I think you need to add the 'ExecCGI' option the the 'options' directive in your httpd.conf file. That is all I had to do to get CGI to work on the M$ NT box on which I now type. You should be able to do that and then test it with the simplest CGI in faq452-653.

Sorry to have taken so long to respond. I was hoping there would be someone more update than I.

HTH


keep the rudder amid ship and beware the odd typo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top