> startup.pl cannot be run from the command line when it
> contains apache server specific modules.
But you can put those (Apache specific) modules in your httpd.conf instead
as
PerlModule Apache::DBI Apache::Status
and avoid compilation warnings in startup.pl.
But you should clearly note this, both in startup.pl and httpd.conf, as
explanatory comments. Otherwise, you *will* forget that you did this... :-)
> > However, when run under Apache
> >
> > PerlRequire /usr/local/etc/apache/startup.pl
> >
> > [Mon Aug 6 17:33:09 2001] [error] Can't load
> '/usr/local/lib/perl5/site_perl/5.6.1/i386-freebsd/auto/DBI/DBI.so
> ' for module DBI:
> /usr/local/lib/perl5/site_perl/5.6.1/i386-freebsd/auto/DBI/DBI.so:
> Undefined symbol "PL_dowarn" at
> > Not sure what's up.
As far as the DBI error, is there a possibility that you are NOT using the
same build of perl as was compiled into Apache? try rebuilding
mod_perl/apache at the same time.
L8r,
Rob
#!/usr/bin/perl -w
use Disclaimer qw/:standard/;