perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <sbek...@stason.org>
Subject RE: Apache:DBI not being called
Date Wed, 01 Mar 2000 10:55:46 GMT
http://perl.apache.org/guide/install.html#How_can_I_tell_whether_mod_perl_

> It's there OK.. It just doesnt seem to be working.
> 
> [root@lin01 bin]# ./httpd -l
> Compiled-in modules:
>   http_core.c
>   mod_env.c
>   mod_log_config.c
>   mod_mime.c
>   mod_negotiation.c
>   mod_status.c
>   mod_include.c
>   mod_autoindex.c
>   mod_dir.c
>   mod_cgi.c
>   mod_asis.c
>   mod_imap.c
>   mod_actions.c
>   mod_userdir.c
>   mod_alias.c
>   mod_access.c
>   mod_auth.c
>   mod_setenvif.c
>   mod_perl.c
> suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec
> [root@lin01 bin]#
> 
> -----Original Message-----
> From: Karyn Ulriksen [mailto:kulriksen@publichost.com]
> Sent: Tuesday, February 29, 2000 6:21 PM
> To: 'modperl@apache.org'
> Subject: RE: Apache:DBI not being called
> 
> 
> You can call "httpd -l" to if you really compiled in the modules that you
> thought you did!  Run it and see if mod_perl shows up.  It can be easy to
> loose a module on install, especially if you are instally multiple modules.
> 
> -----Original Message-----
> From: Matt Sergeant [mailto:matt@sergeant.org]
> Sent: Tuesday, February 29, 2000 8:33 AM
> To: Geraint Williams; 'Geoffrey Young'; 'modperl@apache.org'
> Subject: RE: Apache:DBI not being called
> 
> 
> On Tue, 29 Feb 2000, Geraint Williams wrote:
> > Looking in the main DBI.pm where it seems to determine wether to user
> > Apache::DBI
> >  
> > if ($INC{'Apache/DBI.pm'} && substr($ENV{GATEWAY_INTERFACE}||'',0,8) eq
> > 'CGI-Perl') {
> >     $connect_via = "Apache::DBI::connect";
> >     DBI->trace_msg("DBI connect via $INC{'Apache/DBI.pm'}\n");
> > }
> > 
> > At this point.. $INC{'Apache/DBI.pm'} even though I have a PerlRequire or
> a
> > use Apache::DBI
> > and $ENV{GATEWAY_INTERFACE} is "CGI/1.1"
> > 
> > I'm guessing this section of code is relevant.
> > 
> > 
> > The only other thing I can say about my setup is that it was a very
> minimal
> > RedHat 6.0 Linux install to which I've been adding programs and libraries
> > when required.
> 
> Along the way you forgot to install mod_perl...
> 
> -- 
> <Matt/>
> 
> Details: FastNet Software Ltd - XML, Perl, Databases.
> Tagline: High Performance Web Solutions
> Web Sites: http://come.to/fastnet http://sergeant.org
> Available for Consultancy, Contracts and Training.
> 



______________________________________________________________________
Stas Bekman             | JAm_pH    --    Just Another mod_perl Hacker
http://stason.org/      | mod_perl Guide http://perl.apache.org/guide/ 
mailto:stas@stason.org  | http://perl.org    http://stason.org/TULARC/
http://singlesheaven.com| http://perlmonth.com http://sourcegarden.org
----------------------------------------------------------------------


Mime
View raw message