Rahul Sitaram Johari wrote:

'cannot load mysql extension, please check PHP Configuration'.

I¹ve installed PHP on XP computers hundreds of times, so I¹m not exactly a
newbie to this, but I¹m not sure if it¹s Vista causing the problem or I¹m
doing something wrong.

Which MySQL extension are you using? The native mysql or mysqli? I had to copy the libMySQL.dll file that is installed when you install MySQL 5 over the top of the one in the PHP 5 installation directory before it would work for me on Vista Home Premium.

I.e. I copied this:

C:\Program Files\MySQL\MySQL Server 5.0\bin\libmySQL.dll

to here:

C:\PHP\php-5.2.1-Win32

replacing the one that existed already.

Cheers,

Rich
--
Zend Certified Engineer
http://www.corephp.co.uk

"Never trust a computer you can't throw out of a window"

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to