We help IT Professionals succeed at work.

PHP Fatal error: Call to undefined function mysql_connect() in C:\Inetpub\wwwroot\siteAdmin\adodb\drivers\adodb-mysql.inc.php on line 624

sc_pantherfan
on
Medium Priority
769 Views
Last Modified: 2012-05-06
I have a new client that wants to move there webpage inhouse.  They have SBS 2003 server running IIS 6.0.  I copied over the website to the Intepub/wwwroot folder and the website works except for a few items.  On my main page I get an error message where some pictures used to come up.  The error message is C:\Inetpub\wwwroot\siteAdmin\adodb\drivers\adodb-mysql.inc.php on line 624.  I have installed PHP 5.0 on the server.  It looks to me like it cannot find the MySQL DB file.  I am very new to PHP.  Can someone point me in the right direction.  I have the MySQL DB file, but I am not sure where to copy it to.

Thanks,

Shawn
Comment
Watch Question

Loganathan NatarajanLAMP Developer
CERTIFIED EXPERT

Commented:
Looks like mysql module is not compiled like. Just put create a file called info.php and add the below lines

<?php
echo phpinfo();
?>

and check mysql is enabled?

LAMP Developer
CERTIFIED EXPERT
Commented:

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.