Re: help with mySQL- Fatal error: Call to undefined function mysql_connect()...

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

 



Gotta recompile php with the --with-mysql option (or something like that).

Try running configure --help

You can see what options you compiled with by grepping for CONFIGURE in your
Makefile. Here's what I got:

root@dragonfly php-5.0.0b4 # grep CONFIGURE Makefile
CONFIGURE_COMMAND = './configure' '--with-mysql'
'--with-apxs2=/usr/sbin/apxs2' '--with-zlib' '--with-xsl' '--with-imap-ssl'

Dude, I need to update!

-Jeff

----- Original Message ----- 
From: <AceZero2790@xxxxxxx>
To: <php-db@xxxxxxxxxxxxx>
Sent: Tuesday, August 17, 2004 12:02 PM
Subject:  help with mySQL- Fatal error: Call to undefined function
mysql_connect()...


> I know this is probably the noobiest of questions but please help.
>
> Fatal error: Call to undefined function mysql_connect() in
> .. on line 112
>
> This occurs when I try to access a MySQL application, specifically
Invision
> Power Boards.
>
> I have PHP5 installed on my Apache 1.3.31, and I believe that my MySQL is
> MySQL4, all this on Windows XP personal.
>
> My php.ini file is in my systemroot (C:/windows). Currently I have no
loaded
> extensions for MySQL/php connections stuff (ex: php_mysql.dll,
> php_mysqli.dll). I tried some stuff I found on help boards but everything
> just got all messed
> up, so I thought I'd get more official help.
>
> I have all of the php .DLL files that came with the zip file in
> C:/windows/system32. PHP-mysql.DLL and php_mysqli.dll are in both system32
> and just
> c:/windows.
>
> When I run phpinfo() I get no mention of MySQL. MySQL itself connects to
the
> MySQL server just fine. I think that's everything.
>
> Thanks in advance.
>
>
>
>

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux