netnexi

Member
Dec 9, 2003
8
0
151
Ok have searched here and found all the relevant threads...
But...
Can't get any perl scripts to run... period

have tried:
(permissions - of course)

suExec - disabled

rebuilt Apache

edited httpd.conf

changed from STABLE to CURRENT etc

So I'm at a loss... really need to get perl scripts running ASAP

Running FreeBSD 5.1...

Can anyone point me in the right direction?
 

bamasbest

Well-Known Member
Jan 10, 2004
531
0
166
What kind of error messages do you receive when you attempt to execute these scripts? What do your error logs tell you? Have you tried executing these scripts from command line (i.e. perl -w script.cgi)?
 

PWSowner

Well-Known Member
Nov 10, 2001
2,901
4
343
ON, Canada
Do you have the line

use CGI::Carp qw(fatalsToBrowser);

near the beginning of the script?

I use it all the time to help figure out problems. Also, in shell, run

perl -c /path/to/script

to test the script.


If it's a server setup problem, that may not help, but you never know.