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

From: Date: Tue, 17 Aug 2004 18:08:08 +0000
Subject: Re: help with mySQL- Fatal error: Call to undefined function mysql_connect()...
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-35748@lists.php.net to get a copy of this message
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@aol.com> To: <php-db@lists.php.net> Sent: Tuesday, August 17, 2004 12:02 PM Subject: [PHP-DB] 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. > > > >

« previous php.db (#35748) next »