RE: Can't get PHP to support mySQL

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

 



Hi!

How does your code look like in mysql_up.php ?

Best regards
/Gustav Wiberg
 

-----Original Message-----
From: Janis Ritmanis [mailto:janis.ritmanis@xxxxxxxxx] 
Sent: Monday, June 25, 2007 10:00 PM
To: Don Denton
Cc: php-windows@xxxxxxxxxxxxx
Subject: Re:  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@xxxxxxxxx> 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@xxxxxxxxx

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



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux