Re: Testing MySQL PHP connection

From: Date: Mon, 09 Jul 2007 15:57:57 +0000
Subject: Re: Testing MySQL PHP connection
References: 1 2 3 4 5  Groups: php.windows 
Request: Send a blank email to php-windows+get-28182@lists.php.net to get a copy of this message
Jacob Bergman wrote:
Sorry about that... Anyways, I created a phpinfo page and don't see anything about mysql in the output...
<snip> Then it's not enabled. Have you restarted your web server since changing php.ini? Are you sure you changed the right php.ini (look near the top of the phpinfo output for where it should go). -Stut -- http://stut.net/ > -----Original Message----- > From: Stut [mailto:stuttle@gmail.com] > Sent: Monday, July 09, 2007 8:41 AM > To: Jacob Bergman > Cc: php-windows@lists.php.net > Subject: Re: [PHP-WIN] Testing MySQL PHP connection > > Please include the list when replying. > > Jacob Bergman wrote: >> Yeah, the extension=php_mysqli.dll line is enabled in the php.ini > file. >> Doesn't that error indicate something wrong with the php file itself? > > Have you restarted Apache/IIS/whatever since changing it? > > The error indicates that it doesn't have any knowledge of a function > called mysqli_connect. That function will be registered when the > extension is loaded, so the extension is not being loaded (either > correctly or at all). > > If you have then make a phpinfo page (http://php.net/phpinfo) and check > that PHP thinks MySQLi is installed. > > -Stut > -Stut -- http://stut.net/

« previous php.windows (#28182) next »