I am getting an "Internal Server Error" message 500. I have installed the Nusphere package (www.nusphere.com) on Windows 98 -- Apache, Perl, MySql, PHP. Everything works including phpMyAdmin. I have installed mysql.cgi in c:/nusphere/apache/cgi-bin, with a mysqlman directory in cgi-bin. I have modified the pathnames in mysql.cgi and mysql.cfg to include the pathname c:/nusphere/apache/cgi-bin/mysqlman and have copied the mysqlman files and directories to this directory including ./templates and ./help. The error log shows this message: No such file or directory: couldn't spawn child process: c:/nusphere/apache/cgi-bin/mysql.cgi. I am at a loss...
Nov 1, 2000, 11:56 AM
Administrator (9387 posts)
Nov 1, 2000, 11:56 AM
Post #2 of 3
Views: 3133
This is Apache's way of saying it couldn't find perl. Apache looks at the first line of the script to find out where perl is (bad idea imo). You need to do:
#!c:\Perl\bin\perl.exe
as the first line of mysql.cgi.
Hope that helps,
Alex
--
Gossamer Threads Inc.
#!c:\Perl\bin\perl.exe
as the first line of mysql.cgi.
Hope that helps,
Alex
--
Gossamer Threads Inc.