"cannot load mysql extension" - PHP Installation on Vista/Apache
| From: | Rahul Sitaram Johari | Date: | Wed, 14 Mar 2007 13:13:24 +0000 |
| Subject: | "cannot load mysql extension" - PHP Installation on Vista/Apache | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-250556@lists.php.net to get a copy of this message | ||
Ave,
I recently configured & Installed PHP on my Windows Vista PC, running Apache
2.2 Web Server. MySQL 5 was also installed.
Apache is running fine mySQL is running fine PHP is running fine.
The problem is, I¹m getting this error when I try to run a PHP page which
needs to connect to the mySQL Server:
'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.
In my PHP.INI, I have the modules/extensions directory set to ³C:\php\ext²
which contains all my modules (including the mySQL DLL and others). I also
uncommented the mySQL Extension load from the PHP.INI file. I just can¹t
figure out what the problem is.
Do I need to copy the DLL files somewhere else in the system to make this
work? Anyone else has this problem?
Thanks.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rahul Sitaram Johari
CEO, Twenty Four Seventy Nine Inc.
W: http://www.rahulsjohari.com
E: sleepwalker@rahulsjohari.com
³I morti non sono piu soli ... The dead are no longer lonely²