set up

environment

centos7

yum install httpd php
Download
curl http://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz
tar zxfvp ./dokuwiki-stable.tgz
make directry
mkdir /var/www/dokuwiki
mv ~/dokuwiki-2013-12-08/* /var/www/dokuwiki
chown -R apache:apache /var/www/dokuwiki
edit config
vim /etc/httpd/conf/httpd.conf
- DocumentRoot /var/www/html
+ DocumentRoot /var/www/dokuwiki

+ <Directory /var/www/dokuwiki>
+    AllowOverride All
+ </Directory>
restart httpd
systemtl restart httpd

install and setup via browser.