I have PHP 5.0.2, Apache 2, and MySQL 4.1.7 installed on windows XP.
I moved libmysqli to my windows folder, and my system32 folder, I added an extension=php_mysqli to the php.ini, and I have my path to php extensions set to c:\php\exts\ (even with / without the trailing slash it wont work.)
I cannot get mysqli to load. I tried to connect MySQL to phpMyAdmin but it said my authentication protocol was invalid... so I read up on the password hash issue with these version, and was told to use mysqli versus mysql.
Now when I try to run phpmyadmin it says:
cannot load mysql extension,
please check PHP Configuration
There are no startup errors about not being able load the extension.
Any ideas?
UPDATE: When I try a test script with:
function DB_Connect(){
$DB_login = mysqli_connect(localhost,"root","xxxx");
if(!$DB_login){
print mysql_error();
}
}
DB_Connect();
It works. If I change the password to an incorrect one... I get an error saying it failed to connect because of an invalid password. So mysqli is loaded properly.