Re: ***Call to undefined function mysql_connect()
| From: | Chris Hewitt | Date: | Mon, 29 Nov 2004 18:35:01 +0000 |
| Subject: | Re: ***Call to undefined function mysql_connect() | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-14837@lists.php.net to get a copy of this message | ||
On Mon, 2004-11-29 at 08:53, anurag bhatia wrote:
>
> I am getting this error message
> Fatal error: Call to undefined function mysql_connect()
> I have MySQl 4.1,PHP 5, and Apache 1.3 I am running these on Windows
> Xp Home..
> Please Please Please Help
> Thanks
> Anurag
It means that you do not have PHP configured to use MySQL. Either you
have not compiled PHP correctly, or php.ini is wrong. Check the
documentation in the PHP 5 source you have for how to connect with MySQL
4.x.
Ah, I see you are on MS Windows. You will need to check that the PHP you
have downloaded/installed specifically supports MySQL 4.x and that you
have set php.ini accordingly.
HTH
Chris