RE: Problem with apache and mysql
[prev]
[thread]
[next]
[Date index for 2005/03/11]
Hello,
Thanks for your help,
I'm using the latest packages for Fedora Core 3 of apache and mod_perl. =
I'm
using Apache::DBI 0.9.4, it is compiled fine but when I try to run it =
says:
Can=B4t load Apache.pm
Maybe the rpm compilation of mod_perl for FC3 forgot something. What do =
you
think ?
Thanks again,=20
___________________________________
Ing. Alejandro Galue.
SYNC Consultores C.A.
agalue@xxxx.xxx.xx
http://www.sync.com.ve
Telf. : +58 (212) 762-85-55
762-30-12
762-86-93
Cel. : +58 (414) 134-47-23
Fax. : +58 (212) 762-66-71
Skype : agalue
MSN : agalue@xxxxxxx.xxx
___________________________________
-----Original Message-----
From: Perrin Harkins [mailto:perrin@xxxx.xxx]=20
Sent: Thursday, March 10, 2005 2:18 PM
To: Alejandro Galue
Cc: 'Tom Schindl'; Arturo Mart=EDn; modperl@xxxx.xxxxxx.xxx
Subject: RE: Problem with apache and mysql
On Thu, 2005-03-10 at 09:53 -0400, Alejandro Galue wrote:
> I'm using Apache::DBI but I'm not sure if it is working fine. First=20
> when I compile and install this module, it shows that everything is=20
> fine including tests (I'm using modperl2), but when I put Apache::DBI=20
> on startup.pl to init my virtualhost with modperl it says :
>=20
> "Apache.pm is not loaded."
>=20
> I create Apache.pm like this:
>=20
> package Apache;
> 1;
>=20
> And then this error disappear, but I'm not sure if this horrible patch =
> is the reason of this failure.
Don't do that. It will break things. Are you using Apache::DBI version
0.94? That's the latest release.
There is information in the documentation for Apache::DBI about how to =
debug
it. To get it log new connections, set $Apache::DBI::DEBUG =3D 1 after =
the
module is loaded.
You may also want to run a newer version of mod_perl, to get all the bug
fixes since 1.99_16. The latest release (RC4) is 5 months newer than =
that
one.
- Perrin