[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Fatal error: Call to undefined function: mysql_connect() in /home/sites/site1/web/test2.php on line 13



--- "Gordon MCDowall (2)" <gordon@xxxxxxxxx> wrote:
> I have noticed a few other mails on the list with this problem.   I have
> installed the rpm's from the experimental cobalt directory.

Did you install the php/mysql rpm as well? i haven't done it this way myself.

ftp://ftp.cobaltnet.com/pub/experimental/php-mysql-3.0.15-2.mips.rpm

hey everyone, look, cobalt updated their RPM :-) 

there's also a fairly recent mysql hidden away:
  ftp://ftp.cobaltnet.com/pub/experimental/security/mysql/mips/

> I'm sure that it is a problem with either php having not compiled with
> mysql and/or something in php.ini which needs to be included.   Is it
> possible to recompile php with mysql?   It is a pain in the neck because I
> know php works and sql works it is just the damn connection from php to
> mysql which is not happy.   Any help would be much appreciated.

If you wanna compile:
  http://www.paulschreiber.com/download/mysql-php-apache-raq.txt

Paul

__________________________________________________
Do You Yahoo!?
Send online invitations with Yahoo! Invites.
http://invites.yahoo.com