in reply to Re: Should I upgrade from mod_perl 1.0 to 2.0? and if so, how?
in thread Apache::DBI "cannot find apache.pm" failure - Should I upgrade from mod_perl 1.0 to 2.0? and if so, how?
#!/usr/local/bin/perl -w $ENV{MOD_PERL} or die "GATEWAY_INTERFACE not Perl!"; use Apache::DBI; use strict; Apache::DBI->connect_on_init('DBI:mysql:database=dbname;host=localhost +','dbuser','',{ PrintError => 1, RaiseError => 0, AutoCommit => 1}); +### THIS IS LINE 28 WITH NAMES / PWDS TAKEN OUT Apache::DBI->setPingTimeOut('DBI:mysql:dbname', 0); 1;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Should I upgrade from mod_perl 1.0 to 2.0? and if so, how?
by Corion (Patriarch) on Feb 17, 2009 at 14:52 UTC | |
by MashMashy (Sexton) on Feb 17, 2009 at 14:58 UTC | |
by Corion (Patriarch) on Feb 17, 2009 at 15:02 UTC | |
by MashMashy (Sexton) on Feb 17, 2009 at 15:09 UTC | |
by MashMashy (Sexton) on Feb 17, 2009 at 15:03 UTC | |
by Corion (Patriarch) on Feb 17, 2009 at 15:07 UTC |