MediaWiki will work on Windows with latest components:
Apache 2.0.47 PHP 4.3.3 Mysql 4.0.14-nt
PHP does not handle the include_once directive properly on all windows platforms and filesystems, probably due to the Windows treatment of upper and lower case in file names. You may have to comment out the include_onces in some of the .php files as follows:
Article.php: # include_once( "CacheManager.php" ); Setup.php: # include_once( "$IP/Title.php" ); SpecialMovepage.php: #include_once( "LinksUpdate.php" );
Also, you really do need iconv for some of the special pages to work, unless you comment out the relevant call in language.php:
# return iconv( "UTF-8", $wgInputEncoding, $s );
Procedures and issues
1. Install mysql from www.mysql.com using the windows binaries 2. Install the Apache web server from www.apache.org using the latest 2.x binaries 3. Modify the httpd.conf for apache: a. Add these lines at the end of the block of LoadModule lines: LoadModule php4_module c:/playpen/php/php-4.3.3-Win32/sapi/php4apache2.dll AddType application/x-httpd-php .php b. Change the DocumentRoot c. Add the PHP types and disable PHP for all directories other than the wiki AddType application/x-httpd-php .php .php4 .phtml AddType application/x-httpd-php-source .phps php_admin_flag engine off <Directory "c:/playpen/wiki/runtime/wiki"> php_admin_flag engine on </Directory> d. It is not strictly necessary to enable the rewrite engine or include the ampersand patch 4. Install PHP from www.php.net using the latest windows binaries a. Modify php.ini so that register_globals = On 5. If you do not already have a CVS client, you will have to get one and install it. 6. Get MediaWiki from the CVS archives, read readme.txt and follow instructions in INSTALL for modifying LocalSettings and AdminSettings; disregard the PHP/Apache/MySQL configuration notes as they are not relevant for Windows 7. Modify php files as noted above. 8. Uncompress and load the database. 9. Have fun.
_________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail
On Fri, 29 Aug 2003, gorgon zolla wrote:
- If you do not already have a CVS client, you will have to get one and
install it.
Just to add a quick note, if you have Cygwin installed there will be the unix cvs client there. Also, using the Cygwin setup you can install Tex and you should be able to use MediaWiki math support.
Ciao, Alfio
wikitech-l@lists.wikimedia.org