Page 1 of 1

Cannot Load Mysql extension please check PHP configuration

Posted: Sun Aug 24, 2008 6:25 am
by webart
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:
Cannot load mysql extension. Please check your PHP configuration. - Documentation
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.
but in theory all is okay in my computer:
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

Re: Cannot Load Mysql extension please check PHP configuration

Posted: Sun Aug 24, 2008 7:47 am
by it2051229
use wamp... well am not saying that you should not learn how to install each of the application one by one but after you install wamp, check out its php.ini and stuff like dll so you will learn... but after wamp isntallation, your server is good to go without further configuration needed