Re: MySQL on Windows
| From: | phpml at getaroundtoit dot co dot uk | Date: | Sun, 22 Jun 2008 21:20:22 +0000 |
| Subject: | Re: MySQL on Windows | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-28949@lists.php.net to get a copy of this message | ||
S. Buffn wrote:
> Hello,
>
> I have encountered the problem with running MySQL Server 5.0 with PHP 5 and
> Apache2 on Windows XP.
...
> PHP is running
> Fatal error: Call to undefined function mysql_connect() in C:\Program
> Files\Apache Group\Apache2\htdocs\index.php on line 6
> As for the php.ini file the lines regarding this are:
> extension_dir="C:\php\ext\"
> ...
> extension=php_mysql.dll
Jan,
What is reported for MySQL when you run phpinfo()?
What is the code you are using to connect to the database?
Regards,
=dn