[Mediawiki-l] MediaWiki 1.15.1 on Vista Home Premium Edition install error

Platonides Platonides at gmail.com
Sat Sep 5 11:56:39 UTC 2009


cknell en onebox.com wrote:
> I have downloaded and installed all the constituent parts of MediaWiki 1.15.1 on Windows Vista Home Premium Edition.
> 
> Apache works
> PHP works
> MySQL is installed via the .msi package.
> The MySQL bin directory is in the path as verified by opening a CL window and typing "echo %PATH%"

Having MySQL bin in the path is not needed (but handy for the client
finding libmysql.dll). What you do need is to have mysqld running.

> I have installed MediaWiki according to the instructions, and when I point my browser to it, I get a message telling me that:
> 
> PHP 5.2.10 installed
>    Could not find a suitable database driver!
> 
> It then goes on to describe how to compile PHP depending on which database I plan to use.
> 
> I think there must be some simple error int he PHP configuration file that is holding things up, but as a novice with this technology, I am hoping that one of you can point me in the right direction.
> 
> Thanks.

I bet you haven't enabled mysql extension for php.
You need to edit php.ini and uncomment the php_mysql.dll extension.
Also, make sure extension_dir is pointing to the right folder.

http://dev.mysql.com/doc/refman/5.0/en/apis-php-mysql.setup.html#id1160156




More information about the MediaWiki-l mailing list