Link to home
Start Free TrialLog in
Avatar of micro_learner
micro_learner

asked on

Cannot Load Mysql extension please check PHP configuration" --- phpMysqladmin ---cannot load mysql.so

I am trying to install phpMyadmin ..for using it as a client for my mysql database .I am doing this on Red hat Linux ,and PHP 4 and Mysql .

I am getting the following error
" Cannot Load Mysql extension please check PHP configuration"

When I see the documentation I see the below documentation
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
"To connect to a MYSQL server PHP needs a set of Mysql fucntions called the "Mysql extension".This extension may be a part of the PHP distribution otherwise it needs to be laoded dynamically .Its name is probably mysql.so or php_mysql.dll .PhpMyadmin tried to load the extension but failed.

Usually the problem is solved by installing a sofware package called "PHP-MYSQL'" or something sililar
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Thanks for your time
ASKER CERTIFIED SOLUTION
Avatar of montasirma
montasirma
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of micro_learner
micro_learner

ASKER

Thanks montasirma ..thats awsome..thanks appreciate your help
am trying to install phpMyadmin ..for using it as a client for my mysql database .I am doing this on win 2000 prof  ,and PHP 4 and Mysql .

I am getting the following error
" Cannot Load Mysql extension please check PHP configuration"

When I see the documentation I see the below documentation
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
"To connect to a MYSQL server PHP needs a set of Mysql fucntions called the "Mysql extension".This extension may be a part of the PHP distribution otherwise it needs to be laoded dynamically .Its name is probably mysql.so or php_mysql.dll .PhpMyadmin tried to load the extension but failed.

Usually the problem is solved by installing a sofware package called "PHP-MYSQL'" or something sililar
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Thanks for your time
If you are having this problem in windows (unable to load Mysql extension) - do not forget that
the apache httpd.conf file has a variable for where php.ini is and for PHP5 is seems to default to
c:\PHP

If your php.ini file is in c:\winnt  then edit the C:\Program Files\Apache Group\Apache2\conf\httpd.conf   file

# configure the path to php.ini
PHPIniDir "C:/WINNT"


This solved that problem for me after I had done all the things most notes say to do ...
(like uncomment      
extension=php_mysql.dll    in  c:\winnt\php.ini
and set
; Directory in which the loadable extensions (modules) reside.
extension_dir = "c:\php\ext"                 in  c:\winnt\php.ini
Hello,

Please i have same problem but how to install PHP-MYSQL package?
I have installed PHP5 and mySQL5 still i can not open that phpMyAdmin.

I am using XP OS
Fedora3
I am having the same problem "Cannot Load Mysql extension please check PHP configuration" --- phpMysqladmin
I know almost anything about servers.  I have a site of phtotography I had to move from a shared server to a dedicated one.  It is supposed there is installed Apache PHP-MySQL.
My php.ini has a section [MySQL] where |extension=mysql.so| is enabled
I've |service httpd restart| and |service mysql restart|
Please help