in reply to Re: Re: httpd fail to start when I include DBD::Oracle in the startup.pl
in thread httpd fail to start when I include DBD::Oracle in the startup.pl

I think I see the problem. Your use statement is being executed before you set ORACLE_HOME. Try this (use Apache is not needed):
BEGIN { $ENV{ORACLE_HOME}='/home/'; } use Apache::DBI(); use DBI(); use DBD::Oracle(); use Apache::MyModule;
  • Comment on Re: Re: Re: httpd fail to start when I include DBD::Oracle in the startup.pl
  • Download Code