473,406 Members | 2,698 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

phpMyAdmin 'cannot load mysql extension'

Hi,
when I try to open phpMyAdmin administration page I got this error:

'Cannot load mysql extension, please check your PHP configuration'

I cannot sort out what's the source of the problem, cause:
1. In the php.ini file I commented out the line
'extension=php_mysql.dll' and properly set the path to extension
directory: extension_dir = "c:\php\ext\"
2. MySQL is running
3. In the config.inc.php file I set $cfg['PmaAbsoluteUri'] to
http://localhost/phpMyAdmin/ and $cfg['servers'][$i]['extension'] to mysql
4. I tried also copying php_mysql.dll and libmysql.dll modules to system
folders: system i system32 but it didn't work.

I'm using following versions of software (under Windows XP):
PHP 5.0.5
phpMyAdmin 2.6.4-pl3
Apache 2.0.54
MySQL 5.0.15

I would much appreciate any help,
Renata
Nov 9 '05 #1
1 6236
lithne wrote:
Hi,
when I try to open phpMyAdmin administration page I got this error:

'Cannot load mysql extension, please check your PHP configuration'

I cannot sort out what's the source of the problem, cause:
1. In the php.ini file I commented out the line
'extension=php_mysql.dll' and properly set the path to extension
directory: extension_dir = "c:\php\ext\"
2. MySQL is running
3. In the config.inc.php file I set $cfg['PmaAbsoluteUri'] to
http://localhost/phpMyAdmin/ and $cfg['servers'][$i]['extension'] to mysql
4. I tried also copying php_mysql.dll and libmysql.dll modules to system
folders: system i system32 but it didn't work.

I'm using following versions of software (under Windows XP):
PHP 5.0.5
phpMyAdmin 2.6.4-pl3
Apache 2.0.54
MySQL 5.0.15

I would much appreciate any help,
Renata

I had the same problem and did everything you described here, plus: I
donwloaded the full PHP package as a zip file and used the DLLs from
that package. That solved it. If it doesn't, it may be that there are
two PHP.INI files on your system (one in the systemfolder and one in the
PHP folder), and you may be editing the wrong one.

Good luck.
Nov 9 '05 #2

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

Similar topics

1
by: Andy Levy | last post by:
Hi I am very new with Red Hat and am not used to Linux. PHP seems to be working ok, and i can access mysql databases from the terminal - But having extracted PhpMyAdmin on to REdHat,...
4
by: JimC | last post by:
I have PHP installed on a Windows XP platform using IIS as server. When updating a MySQL database field set to MEDIUMTEXT in phpMyAdmin, the transaction seems to fail if the text contains more...
0
by: phpnube | last post by:
I used this php package to install on my system... (i had problems with the isapi package from php so im back to the cgi portion of PHP php-cgi.exe) PHP 5.0.0 installer - 26 July 2004 (CGI...
4
by: ShK | last post by:
Hi, phpMyAdmin gives following error message: "The mbstring PHP extension was not found and you seem to be using a multibyte charset. Without the mbstring extension phpMyAdmin is unable to split...
1
by: marknewbery | last post by:
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 ...
2
by: dude | last post by:
I'm getting a message Directory Listing Denied, This Virtual Directory does not allow contents to be listed. I'm using WAMP5 and IIS, and the 'error' is displayed when i try to access...
5
by: davids58 | last post by:
I installed the english.zip file from http://www.phpmyadmin.net/home_page/downloads.php. When I attempt to access phpMyAdmin I get an error page the routes me to...
0
by: hugoboss | last post by:
Hi folks, Well i've got php v5.2.1 installed, also MySQL v5.0.37 running perfectly on Vista using IIS 7, however when i unzip phpmyadmin to wwwroot and in my browser type in...
3
by: dlaminigp | last post by:
i''ve dowloaded and installed the latest version of the XAMPP package. when i try acess to phpmyadmin page it gives an error which reads, "cannot load MySQL extension, please check PHP...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...

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.