473,769 Members | 2,134 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

phpmyadmin error "Cannot load mysql extension"

Hi,
I have been trying to get a php, mySQL install to work and talk
together on Windows XP SP2 with IIS. So far I installed and received a
responce from php(V5 - manual install) though the

<?php phpinfo(); ?>

command which prints out the current settings of the php install.

I then installed mySQL complete setup (V5) and ran the server instance
config wizard. The, through the command line, set up a databse tables
that i required. In windows services mySQL is running however when
trying to use phpmyadmin i get the error "Cannot load mysql extension".

I have enabled the php_mysql.dll in the php.ini file and also, as
suggested in other posts, copied the libmysql.dll and php_mysql.dll to
both the system and system32 folders.

is this an issue with IIS and php 5 and mySQL 5 and should i uninstall
php 5 and use version 4 instead?

any help would be greatly appreciated.

Mark

May 16 '06 #1
1 6113
ma*********@gma il.com wrote:
Hi,
I have been trying to get a php, mySQL install to work and talk
together on Windows XP SP2 with IIS. So far I installed and received a
responce from php(V5 - manual install) though the

<?php phpinfo(); ?>

command which prints out the current settings of the php install.

I then installed mySQL complete setup (V5) and ran the server instance
config wizard. The, through the command line, set up a databse tables
that i required. In windows services mySQL is running however when
trying to use phpmyadmin i get the error "Cannot load mysql extension".

I have enabled the php_mysql.dll in the php.ini file and also, as
suggested in other posts, copied the libmysql.dll and php_mysql.dll to
both the system and system32 folders.

is this an issue with IIS and php 5 and mySQL 5 and should i uninstall
php 5 and use version 4 instead?
No, php5 and mysql are friends.

You must have made a mistake elsewhere.

A few 'popular' mistakes:
1) Have a few php.ini's around and edit the wrong one.
Check: phpinfo() tells you which path it is using to load php.ini

2) Is mysql working allright?
Check: Can you connect to it from commandline.

3) Do NOT store your dll's everywhere.
Understand where they should be.
(Check in php.ini for extensiondir)

Regards,
Erwin Moller

any help would be greatly appreciated.

Mark


May 17 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3964
by: Fie Fie Niles | last post by:
I have IIS installed on XP Professional workstation machine. I have an ASP page that open connection to an Access database, then when trying to update the database, it gave me the error "cannot update database or object is read-only". This is a workstation machine, not connected to any other computer, and I login to the PC using an administrator account. I already check the .MDB file is NOT read-only. But, I do not see the .LDB file....
2
411
by: Andreas Poller | last post by:
Hello, I have the following problem: I have a class deriving from ICustomTypeDescriptor: public __gc class TPropertyBag : public ICustomTypeDescriptor { private: ...
0
1959
by: Chun | last post by:
Dear All I am now facing a problem when i try to pass a custom datatable datatype value to a remote server. In the remote server, a method with System.Data.DataTable as input parameter is implemented. An error "Cannot be converted into parameter type System.Data.DataTable". Please help to provide me a solution for my problem. Thank you for your kind support.
2
4114
by: Florian G. Pflug | last post by:
Hi Since sometime yesterday, my postgresql (7.4.5) reports "ERROR: cannot compare arrays of different element types", when I analyze a specific table in my database. Here is the tables definition: Column | Type | Modifiers -------------------+------------------------+---------------------------------------------------- self | datagraph."GOLink" | not null default
0
2065
by: mvdkwong | last post by:
I am trying to run a macro that will export a table into a fixed length file (see below). However, when I run it, I get the following error: "Cannot update. Database or object is read-only." I've tried a few things that I found in postings, but I'm not getting anywhere. Please advise on what I can do. '------------------------------------------------------------ ' mcr_Export_Test '
0
1363
by: John Oliver | last post by:
Fedora Core 2 server with httpd-2.0.54-10.2 php-4.3.10-2.4 php-mysql-4.3.10-2.4 It had MySQL 3.23.58.something on it, but the PHP websites were using a 4.something MySQL on another machine. I updated the MySQL on this machine to mysql-4.1.20-1.FC4.1 and now no PHP sites come up. But mysql.so is right where it's always been: # ls -l /usr/lib/php4/mysql.so -rwxr-xr-x 1 root root 44364 Dec 21 2004 /usr/lib/php4/mysql.so And the...
2
2198
by: qazmlp1209 | last post by:
class base { public: base() { } base(int number) { priNumber = number ;
2
4084
by: ironmanlarry | last post by:
Hi, I'm trying to do a mail merge from Excel to Word (programatically) and I'm having some trouble creating the Word Document Object. This line of code wordDoc = GetObject("sheet.doc") keeps returning the error "cannot create ActiveX component" and then the program crashes. Any help is much appreciated. Thank you. Larry
14
3840
by: sarabonn | last post by:
hallo Iam trying to insert a row into a access database using visual c# and iam getting an error " cannot open the action query". here is my code private void button1_Click(object sender, EventArgs e) { txt1 = textBox1.Text; txt2 = textBox2.Text;
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9997
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9865
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8873
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7413
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5310
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.