Hi all,
I seem to have a problem when i try to run my script.
I'm running
Win XP Pro.
PHP 5.0.3
MySQL 4.1.10
IIS

I have read that this error is know in earlier versions of PHP but i don't know why i'm getting it.
Fatal error: Call to undefined function mysql_get_client_info() in c:\Inetpub\wwwroot****.php on line 6.

I'd appreciate it if anybody has a solution to my problem

Many Thanks,
Kieran.

    Is this a new installation of PHP/MySQL, also do you have any other scripts that are accessing the db?

      yes its a new installation and this is the only script accessing db..
      i ran phpinfo.php and that went fine
      any suggestions??

        Just because phpinfo worked doesn't mean that php was compiled with mySQL support. When you compile php you need to specify that it is going to be using a mysql db. Try this link

          Seeing as you ran phpinfo(), and noting terfle's comment, there ought to be a section in the report generated that lists MySQL settings - if MySQL support was enabled.

          If it's not, you'll need to check php.ini, and make sure the appropriate extension DLL is uncommented. I guess a restart afterwards wouldn't hurt.

            Write a Reply...