[wplug] MySQL help?

John Strange john at strangeness.org
Mon Jun 9 16:04:21 EDT 2003


Before you start beating up the server, can we have a look at your code
where the error is being complained about?

- John

On Mon, 2003-06-09 at 15:20, Scott Bourns wrote:
> I did notice the following commented out, so I uncommented and restart
> apache, but no love:
> 
> extension=mysql.so
> 
> But, I installed via rpm.
> 
> Scott
> 
> 
> On 6/9/03 2:58 PM, "Chris" <vze2f6h6 at verizon.net> wrote:
> 
> >>>> -----Original Message-----
> >>>> From: wplug-admin at wplug.org [mailto:wplug-admin at wplug.org] On Behalf Of
> >>>> Scott Bourns
> >>>> Sent: Monday, June 09, 2003 1:18 PM
> >>>> To: wplug at wplug.org
> >>>> Subject: [wplug] MySQL help?
> >>>> 
> >>>> Problem: I can log in from localhost, via telnet or terminal, and do
> >>>> whatever I want to the tables I'm testing; but I can't access the MySQL
> >>>> tables remotely and a simple PHP page with mysql_connect() returns:
> >>>> 
> >>>> Fatal error :  Call to undefined function:  mysql_connect() in
> >>>> /var/www/html/mysqltest.php on line 2
> >>>> 
> >>>> --------------
> >>>> 
> >>>> Any ideas?
> >>>> 
> >>>> Thanks in advance!
> >>>> 
> >>>> Scott
> >>>> 
> >>> 
> >>> It's been a while since I used it but try calling "php_info();"  I think
> >>> that's it.
> >>> 
> >>> This should tell you if it's been complied for mysql or not.
> >>> 
> >>> Chris Romano
> >>> 
> >>> _______________________________________________
> >>> wplug mailing list
> >>> wplug at wplug.org
> >>> http://www.wplug.org/mailman/listinfo/wplug
> >>> 
> >>> 
> >> -----Original Message-----
> >> From: wplug-admin at wplug.org [mailto:wplug-admin at wplug.org] On Behalf Of
> >> Scott Bourns
> >> Sent: Monday, June 09, 2003 2:11 PM
> >> To: wplug at wplug.org
> >> Subject: Re: [wplug] MySQL help?
> >> 
> >> Hey, it's:
> >> 
> >> phpinfo();
> >> 
> >> Just sent an attached html file - too big according to admin, so here's
> >> the
> >> attached text file.
> >> 
> >> See anything?
> >> 
> >> Thanks for the phpinfo(); tip!
> >> 
> >> Scott
> >> 
> >> 
> >> 
> > 
> > It looks like it is compiled with MySQL support.  Look at your configure
> > options and
> > 
> > "supported databases    MySQL
> > ODBC
> > PostgreSQL
> > Microsoft SQL Server
> > FrontBase
> > Oracle 8 (not really)
> > Sybase-CT"
> > 
> > How was this installed?  Source or RPM?
> > 
> > Chris Romano
> > 
> > _______________________________________________
> > wplug mailing list
> > wplug at wplug.org
> > http://www.wplug.org/mailman/listinfo/wplug
> > 
> > 
> 
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug




More information about the wplug mailing list