I have a Windows Vista PC with IIS7, I have managed to manually install PHP on it.
And managed to load one of my custom extension for PHP, as well as mbstring extension.
But my mysql extension does not load when I check through phpinfo, I checked all the path variable, uncommented requied lines in php.ini file, also verified that the file exists.
My question is, does it require mysql server to be working on the local host for the mysql extension to load? or what could be wrong?
No, php_mysql.dll simply adds the various mysql functions into PHP. How could the .dll know where your server is? Or how you connect to it? Or what if you’ve got multiple seperate servers?
Until you actually try to connect to the server, the .dll will happily stay idle and not do anything.
If you’re not stuck with using IIS, you could investigate installing WAMP – that’ll give you MySQL, PHP, and Apache with a nice unified installer, without forcing you to mess around with .dll installation/customization.