User Tools

Site Tools


wiki:use-dokuwiki-on-xp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:use-dokuwiki-on-xp [2010/04/23 10:32] percywiki:use-dokuwiki-on-xp [2016/05/05 13:07] (current) – external edit 127.0.0.1
Line 15: Line 15:
  
   复制D:\Program Files\PHP\php5ts.dll 到windows/system32(Windows XP)   复制D:\Program Files\PHP\php5ts.dll 到windows/system32(Windows XP)
 +
 +
 +===== 配置apache =====
      
 配置apache httpd.conf(D:\Program Files\Apache Software Foundation\Apache2.2\conf) 配置apache httpd.conf(D:\Program Files\Apache Software Foundation\Apache2.2\conf)
Line 23: Line 26:
 LoadModule php5_module "D:\Program Files\PHP\php5apache2_2.dll" LoadModule php5_module "D:\Program Files\PHP\php5apache2_2.dll"
 AddType application/x-httpd-php .php  AddType application/x-httpd-php .php 
 +</code>
 +
 +新增index.php为默认打开页面
 +
 +找到下面这断,添加index.php,这样打开wiki目录就会自动解析index.php.
 +
 +<code>
 +<IfModule dir_module>
 +    DirectoryIndex index.html index.php
 +</IfModule>
 </code> </code>
  
Line 32: Line 45:
  
 打开wiki:http://10.85.40.153:8080/wiki 打开wiki:http://10.85.40.153:8080/wiki
 +
 一切正常,dokuwiki正常运行. 一切正常,dokuwiki正常运行.
  
/var/www/dokuwiki/wiki/data/attic/wiki/use-dokuwiki-on-xp.1271989967.txt.gz · Last modified: 2016/05/05 13:06 (external edit)