[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

phpmyadmin - Cannot load mysql extension. Please check your PHP configuration.

Posted on 2009-07-12
3
Medium Priority
?
1,284 Views
Last Modified: 2013-12-13
I've checked out some of the "solutions"  to my problem on here and haven't come up with the right solution for me...other than headaches :)

I've attached the phpinfo document that i've saved. I have the php.ini files in both the php and C:\Windows section, the path is pointing to my ext folder in the PHP folder.

I'm still getting the Cannot load mysql extension. Please check your PHP configuration.

I bought a new computer with Vista on it. My old computer has Vista also, but It actually has running copies of apache, mysql, php, and phpmyadmin. I've set it up, but apparently can't get the new computer to work with phpmyadmin.

Php and Apache are talking apparently, I installed the GUI software for mysql, and the Admin version said that mysql is running. I've restarted my computer countless times.

I even put the libmySQL.dll in the different folders like people have suggested. I've also uncommented the php_mysql.dll and the php_mysqli.dll areas in the php.ini file.

Any help would be much appreciated. I've spent a day work on installing all of this stuff on the new computer - which put me a day behind on my freelance work.
PHPInfoDoc.docx
0
Comment
Question by:AlteredHope
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 111

Assisted Solution

by:Ray Paseur
Ray Paseur earned 400 total points
ID: 24836398
IIRC, MySQL support is no longer bundled in PHP, and you have to do a separate install of MySQL.  In phpinfo() I have a separate MySQL section that does not appear in the Word document you posted.  So maybe just adding the modules does not do the trick - maybe there is an install step?
0
 

Author Comment

by:AlteredHope
ID: 24836467
I don't think I understand what your saying about an install step? I did install everything separately, in this order, apache, php, mysql, and then phpmyadmin which isn't working.

I think I left off some stuff from the phpinfo page. I've attached another copy.
0
 

Accepted Solution

by:
AlteredHope earned 0 total points
ID: 24836917
Fixed it.

Around line 133 of the config.inc.php file for PhpMyAdmin (Version 2.10.2) It was set to

$cfg['Servers'][$i]['extension']       = 'mysql';

I changed mysql to say

$cfg['Servers'][$i]['extension']       = 'mysqli';

and it works.
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
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 viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

649 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