It seems that installing php-mysql rpm allows mod_php to use mysql
calls. I'm not sure how that works, but it does. Thanks for the help!
On Wed, 20 Dec 2000, Gerald Williams wrote:
> On Wednesday 20 December 2000 02:35, you wrote:
> > I installed mod_php from the mandrake 7.2 publically available cd set,
> > and installed mysql from www.mysql.net.
> >
> > when I do a "mysql_connect()", it gives me a function not found error.
> > phpinfo() indicates it was compiled with --include-mysql
> >
> > I searched through the archives and did not find any help.
> >
> >
> > Do I have to compile php4 to get it to work with mysql as a module
> > under Apache? I saw a php-mysql...rpm on the second cd, but no
> > mod_php-mysql...rpm file. I don't want to run things as a CGI, but I
> > can.
> >
> > I also saw some files at http://www.extranet.com. Would those rpm's
> > work instead? Is there any magic to getting php+mysql working with those
> > rpms??
> >
> > I'm just trying to resolve this without going through hours of pain, if
> > at all possible.
>
> I would first check to see if I had all the mysql devel files installed.
> It's probably just looking for it's header files.
>
> Jerry
>
>