mySQL & PHP Directory issues?

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
abrusky
Forum Newbie
Posts: 15
Joined: Wed Apr 05, 2006 2:05 pm
Location: Clearwater FL

mySQL & PHP Directory issues?

Post by abrusky »

I recently installed PHP5 and MYSQL5 on a server but phpMyAdmin is displaying

"Cannot load mysql extension. Please check your PHP configuration."

I did as instructucted by php.net (shown below) but have had no success. Any Ideas
"On Windows NT, 2000, XP and 2003:


Go to Control Panel and open the System icon (Start -> Settings -> Control Panel -> System, or just Start -> Control Panel -> System for Windows XP/2003)

Go to the Advanced tab

Click on the 'Environment Variables' button

Look into the 'System Variables' pane

Find the Path entry (you may need to scroll to find it)

Double click on the Path entry

Enter your PHP directory ant the end, including ';' before (e.g. ;C:\php)

Press OK and restart your computer "
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

The "mysql extension" this is talking about is the PHP mysql extension, which is not used in PHP5. PHP5 uses teh mysqli extension. But phpMyAdmin, to keep backward compatibility, codes their app using the mysql family of functions. So I think you need to uncomment the mysql extensions in your php.ini file to allow PHP5 to use the mysql family of functions to get phpMyAdmin to work.
Post Reply