Re: [PHP-INSTALL] ***Call to undefined function mysql_connect()
[email protected] (Chris Hewitt)
| Newsgroups | php.install |
|---|---|
| Message-ID | <[email protected]> |
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