difficu;ty running perl scripts

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

difficu;ty running perl scripts

Postby bmccall » 21. June 2011 10:28

I have setup xampp and am able to run my webpages except for perl script. When I call for a perl script, I receive the following error message:

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

Error message:
couldn't create child process: 720003: ugolfteststrip.pl

If you think this is a server error, please contact the webmaster.

Error 500
6/21/2011 5:23:18 AM
Apache/2.2.17 (Win32) mod_ssl/2.2.17 OpenSSL/0.9.8o PHP/5.3.4 mod_perl/2.0.4 Perl/v5.10.1

Can anyone help?

Posts: 1
Joined: 21. June 2011 10:21

Re: difficu;ty running perl scripts

Postby Sharley » 25. June 2011 02:38

This reply is In English because the OP posted his query in English.

Make sure that at the top of every perl script you have the correct shebang.
In XAMPP for Windows in a default installation the shebang would be:

Server errors are best investigated by reading the \xampp\apache\logs\error.log file at about the date and time you last had an error.

There are some demo scripts in the \xampp\cgi-bin folder for you to examine and test.
When you have the Apache server running then go here to test them out to make sure your cgi is working:

If you do not require mod_perl (most don't need this) then disable it by renaming this file in the \xampp\apache\conf\extra folder:
to startup_original.pl

Restart Apache and test your scripts again.

If you have any XAMPP for Windows issues again please post in the correct forum here:
The chances of it being seen by more competent helpers than in here are much better.

Good luck. :)
User avatar
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 64 guests