• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 742
  • Last Modified:

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

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.


  • 2
1 Solution
Loganathan NatarajanLAMP DeveloperCommented:
Looks like mysql module is not compiled like. Just put create a file called info.php and add the below lines

echo phpinfo();

and check mysql is enabled?

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now