Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2009-02-11
2
Medium Priority
?
733 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
0
Comment
Question by:sc_pantherfan
  • 2
2 Comments
 
LVL 36

Expert Comment

by:Loganathan Natarajan
ID: 23612824
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?

0
 
LVL 36

Accepted Solution

by:
Loganathan Natarajan earned 2000 total points
ID: 23612847
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
The title says it all. Writing any type of PHP Application or API code that provides high throughput, while under a heavy load, seems to be an arcane art form (Black Magic). This article aims to provide some general guidelines for producing this typ…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses
Course of the Month21 days, 5 hours left to enroll

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question