RE: [PHP-WIN] Can't get PHP to support mySQL
| From: | Gustav Wiberg | Date: | Tue, 26 Jun 2007 06:13:00 +0000 |
| Subject: | RE: [PHP-WIN] Can't get PHP to support mySQL | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-28142@lists.php.net to get a copy of this message | ||
Hi!
How does your code look like in mysql_up.php ?
Best regards
/Gustav Wiberg
-----Original Message-----
From: Janis Ritmanis [mailto:janis.ritmanis@gmail.com]
Sent: Monday, June 25, 2007 10:00 PM
To: Don Denton
Cc: php-windows@lists.php.net
Subject: Re: [PHP-WIN] Can't get PHP to support mySQL
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