Cgi Files Problem Help PLeasee

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Cgi Files Problem Help PLeasee

Postby Danwer » 26. December 2008 11:55

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
Danwer
 
Posts: 13
Joined: 29. September 2008 23:00

Re: Cgi Files Problem Help PLeasee

Postby Sharley » 26. December 2008 11:59

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.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: Cgi Files Problem Help PLeasee

Postby Danwer » 26. December 2008 12:24

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
Danwer
 
Posts: 13
Joined: 29. September 2008 23:00

Re: Cgi Files Problem Help PLeasee

Postby Sharley » 26. December 2008 12:33

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.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 85 guests