astd_cascadia
12-02-2009, 07:29 PM
We have a number of perl scripts that access Mysql databases. All were running fine until the recent Bluehost upgrade to perl 5.8.8. Every one of them now dies with a 500 error. I'm a newbie, but managed to troubleshoot using Hello World fragments, and found that the
use Mysql;
command now chokes the script.
The script below works without that line, 500's with it:
#!/usr/bin/perl
use CGI
use Mysql;
print "Content-type: text/html\n\n";
print "<html><title>test</title><body bgcolor=\"#FFFFFF\">";
print "Hello World";
print "</body></html>";
exit(0);
I'm thinking that there's a configuration issue in our account or something similar. I did check to make sure out databases were intact, and they are. I suspect it's something really obvious and simple, so I naturally wouldn't recognize it! Any help would be gratefully received.
Thanks,
Brian
use Mysql;
command now chokes the script.
The script below works without that line, 500's with it:
#!/usr/bin/perl
use CGI
use Mysql;
print "Content-type: text/html\n\n";
print "<html><title>test</title><body bgcolor=\"#FFFFFF\">";
print "Hello World";
print "</body></html>";
exit(0);
I'm thinking that there's a configuration issue in our account or something similar. I did check to make sure out databases were intact, and they are. I suspect it's something really obvious and simple, so I naturally wouldn't recognize it! Any help would be gratefully received.
Thanks,
Brian