RE: [PHPLIB] Fatal error with MySQL From: Alan Lee (alee <email protected>)
Date: 11/05/99

build php like this:

in php source directory where u unpacked the distribution:

./configure --with-mysql

see also: http://www.montana.com/john/linux/ for more options

> -----Original Message-----
> From: Shan Vosseller [mailto:updates <email protected>]
> Sent: Friday, November 05, 1999 3:39 PM
> To: chris <email protected>; phplib <email protected>
> Subject: Re: [PHPLIB] Fatal error with MySQL
>
>
> When I do a
>
> rpm -ql mod_php3-mysql
>
> I get
>
> /usr/lib/php3/apache/mysql.so
>
> Does this need to be moved to /usr/lib/apache? I just rpm'd it and it
> wasn't put there.
>
> Is there some kind of config change I need to make to have mod_php3
> recognize the mysql support?
>
> -Shan
>
> > From: "Chris Johnson" <chris <email protected>>
> > Reply-To: <chris <email protected>>
> > Date: Fri, 5 Nov 1999 16:29:33 -0600
> > To: "Shan Vosseller" <updates <email protected>>, <phplib <email protected>>
> > Subject: RE: [PHPLIB] Fatal error with MySQL
> >
> > This sounds like your mod_php3 was not built to support
> MySQL. PHP does
> > not appear to even know about the MySQL client library.
> >
> > ..chris
> >
> >> -----Original Message-----
> >> From: phplib-owner <email protected>
> >> [mailto:phplib-owner <email protected>]On Behalf Of Shan Vosseller
> >> Sent: Friday, November 05, 1999 4:22 PM
> >> To: phplib <email protected>
> >> Subject: [PHPLIB] Fatal error with MySQL
> >>
> >>
> >> I just installed phplib on top of mod_php3. Regular php
> works, phplib
> >> works, but it cannot link to my MySQL database. I've read
> >> through the docs,
> >> setup the appropriate file settings, restarted apache, made
> >> sure the tables
> >> exist in mysql, but still nothing. Here is the error that I get:
> >>
> >> Fatal error: Call to unsupported or undefined function
> >> mysql_pconnect() in
> >> db_mysql.inc on line 73
> >
> >
>
> -
> PHP3 Base Library Mailing List. Send messages to
> <phplib <email protected>>.
> To unsubscribe, send "unsubscribe" to
> <phplib-request <email protected>> in
> the body, not the subject, of your message.
>
-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.