Re: Can't get PHP to support mySQL

From: Date: Mon, 25 Jun 2007 20:00:10 +0000
Subject: Re: Can't get PHP to support mySQL
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-28141@lists.php.net to get a copy of this message
Normaly the extension dir should be: extension_dir = "C:\PHP\ext" Have you the php_mysql.dll file in this location ? What is showing the "phpinfo();" ? Does it lodes the php.ini file where you enabled mysql extension ? On 25/06/07, Don Denton <denton.don@gmail.com> wrote:
I cannot get PHP to load the mySQL module. I have enabled it in php.ini and I have tried changing the extension_dir to "c:/php" AND "c:\php", which is where I copied the corresponding .dll files. I have also tried enabling "php_mysql.dll" AND "php_mysqli.dll" separately. I cannot figure out what is going on. Every time I try to run a MySQL page, I get "Fatal error: Call to undefined function mysql_connect() in C:\webspacedirectory\mysql_up.php on line 13" Thanks in advance, Don -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
-- Jānis Ritmanis e-mail: Janis.Ritmanis@gmail.com

« previous php.windows (#28141) next »