Page 1 of 1

Cgi Files Problem Help PLeasee

PostPosted: 26. December 2008 11:55
by Danwer
Hello can anyone Tell me why i am getting problem like this when i am trying any cgi file in xampp ??

Server error!

The server encountered an internal error and was unable to complete your request.

Error message:
couldn't create child process: 720003: upload.cgi

If you think this is a server error, please contact the webmaster.
Error 500
danwer
12/26/08 15:53:53
Apache/2.2.9 (Win32) DAV/2 mod_ssl/2.2.9 OpenSSL/0.9.8h mod_autoindex_color PHP/5.2.6


Please i will be thankfull of urs and how to install ioncube

Re: Cgi Files Problem Help PLeasee

PostPosted: 26. December 2008 11:59
by Sharley
Please look in the server error.log file when ever you receive a server 500 error as it will inform you of the reasons.
.\xampp\apache\logs\error.log

This forum search may help with ioncube.

Re: Cgi Files Problem Help PLeasee

PostPosted: 26. December 2008 12:24
by Danwer
it is saying this ??

do i have to change php.ini because i have perl installed in different folder
[Fri Dec 26 16:23:31 2008] [error] [client 10.122.1.214] (OS 3)The system cannot find the path specified. : couldn't create child process: 720003: upload.cgi
[Fri Dec 26 16:23:31 2008] [error] [client 10.122.1.214] (OS 3)The system cannot find the path specified. : couldn't spawn child process: C:/xampp/htdocs/filez/cgi-bin/upload.cgi

Re: Cgi Files Problem Help PLeasee

PostPosted: 26. December 2008 12:33
by Sharley
The system cannot find the path specified.
Make sure the first line (shebang) in your cgi scripts refer to where you have perl installed - the path to the perl.exe binary file.

For example if you have perl installed in the default xampp tree then the shebang would look like this:
#!"C:\xampp\perl\bin\perl.exe"
(Your path to perl may be different depending where you installed perl).

This must be the very first line in every cgi script you want to run.

You would edit the cgi script file with your text editor.