This page describes how to install Deki on a computer with Windows XP. Installation on Windows isn't an easy process yet but we'll refine this guide as we go!
NOTE: The following features may not work when running on Windows.
1) Download DekiWiki
2) extract the tar.gz and copy the dekiwiki-current\dekiwiki\ folder to c:\dekiwiki\
1. open c:\apache\Apache2\conf\httpd.conf
2. add the following lines after the last LoadModule statement
LoadModule php4_module modules/php4apache2.so
AddType application/x-httpd-php .php
3. find the line saying:
DocumentRoot "C:/apache/Apache2/htdocs"
and replace it with
DocumentRoot "C:/dekiwiki"
4. find the line that says
<Directory "C:/apache/Apache2/htdocs">
and replace it with
<Directory "C:/dekiwiki">
5. find the line saying:
DirectoryIndex index.html index.html.var
and replace it with
DirectoryIndex index.html index.html.var index.php
6. Enable the mod_rewrite module: uncomment the following line "LoadModule rewrite_module modules/mod_rewrite.so"
7. Setup the mod_rewrite rules...Find this comment in httpd.conf
# Note that from this point forward you must specifically allow
Right above that comment block, add:
RewriteEngine on
RewriteCond %{REQUEST_URI} ^/$
RewriteRule ^/$ /index.php?title=Home [L,NE]
RewriteCond %{REQUEST_URI} !/(attachments|ZendStudioServer|stylesheets|images|skins|editor|manual|htdocs|ControlPanel)/
RewriteCond %{REQUEST_URI} !/(redirect|texvc|index|Version).php
RewriteCond %{REQUEST_URI} !/error/(40(1|3|4)|500).html
RewriteCond %{REQUEST_URI} !/favicon.ico
RewriteCond %{REQUEST_URI} !/robots.txt
RewriteCond %{QUERY_STRING} ^$ [OR] %{REQUEST_URI} ^/Special:Search
RewriteRule ^/(.*)$ /index.php?title=$1 [L,QSA,NE]
8. Enable mod_proxy - Uncomment the following lines:
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
10. restart apache by clicking its icon in the system tray
Note: You may need to increase you PHP.INI Max memory to 50M before running this script.
Note: If you experiencing slow page loading times then you may want to check the error logging and debug level that php is set to. c:\windows\php.ini
1. in a command shell:
cd c:\dekiwiki\config
2. run the installer script: (ignore any warnings)
c:\php\cli\php.exe install.php --site Deki --dbRootPwd <mysql_root_pass_from_above> --dbPwd changeme --sysOpPwd changeme --supportPwd changeme
NOTE: Make _sure_ to use c:\php\cli\php.exe instead of c:\php\php.exe. If you use the latter, the installation will fail.
3. after succcessful configuration, copy c:\dekiwiki\config\localsettings.php to c:\dekiwiki
copy LocalSettings.php ..
4. launch a browser and go to: http://localhost (Or http://localhost:8080 if you changed the port number). When prompted for a password use the following credentials
User: Sysop
Pass: changeme (or whatever you used in step #2)
This tutorial is very old, the programs and links related here doesn´t seem to be working anymore.
Can you update it?