|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
persistent database connection - Apache::DBI with mod_perl
Start at the new Yahoo!7 for a better online experience - Start Here. |
|
|
|
Re: persistent database connection - Apache::DBI with mod_perlQuoting Chris Zhuang <chrs_zhuang@...>:
> Hi, > However, when I run an CGI script on the IE 6, it cannot find > $ENV{MOD_PERL} and start new DBI connection. > --------foo.cgi-------------------- > #!c:/perl/bin/perl.exe -d > use DBI; > use CGI qw(:standard); > > my $dbh = DBI->connect("dbi:Oracle:host=xxx;sid=xxx", > "xxx", "xxx", > {PrintError => 1, RaiseError => 0, > AutoCommit => 1,} > ); > --------END-------------------- > It looks like your CGI's are are running under CGI, not ModPerl::PerlRun, or ModPerl::Registry. see: http://perl.apache.org/docs/2.0/user/intro/start_fast.html#Registry_Scripts |
|
|
|
Re: persistent database connection - Apache::DBI with mod_perl
Start at the new Yahoo!7 for a better online experience - Start Here. |
|
|
|
Re: persistent database connection - Apache::DBI with mod_perlOn Wed, Jul 16, 2008 at 11:04 PM, Chris Zhuang <chrs_zhuang@...> wrote:
> But how to setup Komodo 3.1 to debug mod_perl? You should probably ask the Komodo support list about that. Apache::DB seems to be working. - Perrin |
| Free Forum Powered by Nabble | Forum Help |