Re: Php 5 and Mysql on Windows

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

 



brian.kejser@xxxxxxxxxxxx wrote:
> I setup Mysql as follows:
> 
> 1. Download the 5.x installer
> 2. Run the installer
> 3. Run the configuration tool ater the installer
> 
> When I run the following script, the error "Fatal error: Call to
> undefined function mysql_connect() in Test.php on line 3"  is returned.
> 
> $conn = mysql_connect('localhost', 'root', 'password')

Installing MySQL is not enough - you need to enable the mysql extension
in your php.ini.

-Stut

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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux