DokuWiki on Gentoo

To install DokuWiki on Gentoo include “xml” in your USE flags and do

$> emerge --sync
$> emerge -a dokuwiki 

This will install DokuWiki in /var/www/localhost/htdocs/dokuwiki.

When having USE=“vhosts” set, use the webapp-config tool to install DokuWiki.

$> webapp-config --version
1.50.16
$> webapp-config -I -h localhost -d /dokuwiki dokuwiki 20091225c
*   Creating required directories
*   Linking in required files
*     This can take several minutes for larger apps
*   Files and directories installed

You should not forget to set up Apache (the web server) to support PHP. See http://gentoo-wiki.com/Apache_Modules_mod_php.