IIS 7 + PHP + MySQL on Vista

Soldato
Joined
2 Dec 2005
Posts
5,514
Location
Herts
PHP functions normally. MySQL likewise, on its own.

However, it seems php cant use the mysql extension. It doesn't appear in phpinfo(), the functions aren't defined etc.

I have libmysql.dll and php5ts.dll (from c:\php) in windows\system32.

Does php_mysql.dll (from c:\php\ext) need to go in there too? I seem to remember something about renaming it...?

Other ideas?

Thanks
 
I've got php to dump errors to event viewer.

PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php\ext\php_mysql.dll' - The specified module could not be found.

Appears in Information - PHP. The dll is there though, with that name, readable, got permissions.
 
In the php.ini, have you got the following example pointing to the correct location, your php extention location may vary from this example -

extension_dir = "C:\php\extensions"
 
Back
Top Bottom