Thanks for your response. Here is the situation: As regards the mysql driver, php.ini contains this line:
extension=php_mysql.dll I confirm that this line does not contain a semi-colon. As regards the extension_dir entry, it reads: extension_dir ="D:\php\ext" I confirm that php is installed on drive D: in the "php" directory which does have a subdirectory named "ext" which does contain a file named "php_mysql.dll". I confirm that this line also does not contain a semi-colon. Do you have any other ideas? -- Charles Knell [email protected] - email -----Original Message----- From: Platonides <[email protected]> Sent: Sat, 05 Sep 2009 13:56:39 +0200 To: [email protected] Subject: Re: [Mediawiki-l] MediaWiki 1.15.1 on Vista Home Premium Edition install error [email protected] 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 _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
