Re: Cannot connect to Database

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

 



Hello Supersky,

Thursday, January 27, 2005, 8:55:04 AM, you wrote:
S> But I cannot, and I see Fatal error: Call to undefined function
S> mysql_connect() in ....

1. Make sure you uncomment the extension=php_mysql.dll in your php.ini
2. Copy the php_mysql.dll to your Windows/System folder
3. Restart Apache.


You might look at:

<?php

phpinfo();

?>

To see before and after (Look for the section on MySQL.)




-- 
Leif (TB lists moderator and fellow end user).

Using The Bat! 3.0.2.3 Rush under Windows XP 5.1
Build 2600 Service Pack 2 on a Pentium 4 2GHz with 512MB

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux