I had tried that, with the same result. (does Apache::DBI overload the DBI methods?) Full error is as follows. Again, any help is _highly_ appreciated.
Marty [error] Can't locate object method "connect_on_init" via package "Apache::DBI" at /etc/httpd/conf/startup.pl line 28. Compilation failed in require at (eval 14) line 1. Syntax error on line 1276 of /usr/local/apache/conf/httpd.conf: Can't locate object method "connect_on_init" via package "Apache::DBI" at /etc/httpd/conf/startup.pl line 28. Compilation failed in require at (eval 14) line 1. -- On Tue, 12 Feb 2002 08:44:12 Martin Haase-Thomas wrote: > > >Marty J. Rogers wrote: > >>[snip] >>>From httpd.conf: >> >>PerlModule Apache::DBI CGI DBD::mysql \ >>Apache::AuthenDBI >>PerlRequire /path/to/startup.pl >> >>Alias /perl/ /path/to/perl >>PerlModule Apache::Registry >><Location /perl> >>SetHandler perl-script >>PerlHandler Apache::Registry >>Options ExecCGI >>allow from all >>PerlSendHeader On >></Location >> >> >>and from startup.pl: >> >>use DBI(); >> > use Apache::DBI(); # !! :) > >> >>use DBD::mysql(); >>. >>. >>. >>DBI->connect_on_init("DBI:mysql:dbname", >> "user","pass", >> {Options here} >> >> >>Join 18 million Eudora users by signing up for a free Eudora Web-Mail account at >http://www.eudoramail.com >> > > > Join 18 million Eudora users by signing up for a free Eudora Web-Mail account at http://www.eudoramail.com