Well, I installed last versions of Apache ( 2.0.58 ), DBI ( 1.50 ),
Apache-DBI ( 1.01 ) and mod_perl ( 2.0.2 ).

Here is my stutup file:

# Start of apache-dbi-startup.pl

use Apache::DBI;
use DBI;

$Apache::DBI::DEBUG = 1;

Apache::DBI->connect_on_init(
  "dbi:Pg:dbname=database;host=localhost",
  "user",
  "pass",
  {
    PrintError => 1,
    RaiseError => 1,
    AutoCommit => 0
  }
);

1;

# END of apache-dbi-startup.pl

Here is my httpd.conf:

PerlRequire "/etc/apache2/modules.d/apache-dbi-startup.pl"

Apache starts without errors, but there are not any connection to
Database. What's wrong ?

Reply via email to