Cannot Load Mysql extension please check PHP configuration
Posted: Sun Aug 24, 2008 6:25 am
Hi
I installed in my computer these softwares:
1) win xp
2) apache 1.3.28
3)php 5.2.6
4)mysql client 5.0.11
I change like this in php.ini (remove ;)
;extension=php_mysql.dll -------> extension=php_mysql.dll
Also I wrote my extention directory!
but there is no any connection between db and php!
phpmyadmin shoe this error message:
extension_dir = "f:\www\php\ext\"
and
php_mysql.dll is in this directory
and other extension for exam gd2 work properly but only mysql extension not work properly!
in apache i see localhost had be changed to babe.the-killer.bz but i re install apache.
please help me and say me how i can reconnect between php and mysql?
thanks
I installed in my computer these softwares:
1) win xp
2) apache 1.3.28
3)php 5.2.6
4)mysql client 5.0.11
I change like this in php.ini (remove ;)
;extension=php_mysql.dll -------> extension=php_mysql.dll
Also I wrote my extention directory!
but there is no any connection between db and php!
phpmyadmin shoe this error message:
Cannot load mysql extension. Please check your PHP configuration. - Documentation
but in theory all is okay in my computer:1.20 I receive the error "cannot load MySQL extension, please check PHP Configuration".
To connect to a MySQL server, PHP needs a set of MySQL functions called "MySQL extension". This extension may be part of the PHP distribution (compiled-in), otherwise it needs to be loaded 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 software package called "PHP-MySQL" or something similar.
extension_dir = "f:\www\php\ext\"
and
php_mysql.dll is in this directory
and other extension for exam gd2 work properly but only mysql extension not work properly!
in apache i see localhost had be changed to babe.the-killer.bz but i re install apache.
please help me and say me how i can reconnect between php and mysql?
thanks