[Mediawiki-l] Installation help

Jason Ledford jledford at biltmore.com
Mon Jan 22 19:22:52 UTC 2007


 Unless you are using IIS for something else, I would say ditch IIS and use
apache
http://www.devside.net/guides/windows



-----Original Message-----
From: mediawiki-l-bounces at lists.wikimedia.org
[mailto:mediawiki-l-bounces at lists.wikimedia.org] On Behalf Of Milarsky,
Jeremy
Sent: Monday, January 22, 2007 1:54 PM
To: 'mediawiki-l at lists.wikimedia.org'
Subject: [Mediawiki-l] Installation help

Hello, I am new to this list and actually just testing to see whether
MediaWiki is right for my newsroom.

I have what seems to be a common installation/configuration problem, but I
can't seem to find a solution via the typical Googl-ing and forum posts (and
the archived threads from this list) ...

We are running a Windows XP IIS 5.1 server ... I have PHP (I am using
version 5.2) configured to run on that server as  CGI scripts (IIS
configurations point to the php-cgi.exe file in my PHP directory) ... and I
am running MySQL 5.1.

A typical PHP test page (where you just have the line "phpinfo();" in there
and you get the big screen with all the PHP info) works fine ... BUT it
doesn't seem to be able to talk to MySQL.

At the bottom of the phpinfo page, I see this: 

-----
PHP Warning: PHP Startup: Unable to load dynamic library 'C:/Program
Files/PHP/ext/php_mysql.dll' - Invalid access to memory location. in Unknown
on line 0 PHP Warning: PHP Startup: Unable to load dynamic library
'C:/Program Files/PHP/ext/php_mysqli.dll' - Invalid access to memory
location. in Unknown on line 0
-----

And the config page of my Wiki says this, along with the above:

----
Please include all of the lines below when reporting installation problems.

PHP 5.2.0 installed Could not find a suitable database driver!
For MySQL, compile PHP using --with-mysql, or install the mysql.so module
For PostgreSQL, compile PHP using --with-pgsql, or install the pgsql.so
module 

----

Now, some disclaimers:

- php.ini has been configured so it points to the right extensions folder. I
use right slashes. extension=php_mysql.dll and extension=php_mysqli.dll are
both uncommented.

- I've tried copying libmySQL.dll into my PHP directory, my PHP extensions
directory and my Windows directory

- Other extensions, like php_socket.dll, seem to work and reside in the
extensions file.

- both PHP and MySQL are in the PATH of my Windows Environmental Variable
settings.

Any ideas? Thanks in advance.

-Jeremy Milarsky
Database Specialist
South Florida Sun-Sentinel
Fort Lauderdale, FL
jmilarsky at sun-sentinel.com

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l at lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l





More information about the MediaWiki-l mailing list