The main open source wiki for PHP is:
mediawiki:php
dokuwiki:php
############################################################
Install Apache2 and PHP:
sudo Apt-get Install apache2 libapache2-mod-php5
Refer to Apache configuration.
Install DokuWiki:
sudo a2enmod rewrite
sudo cp? A Doku .../var/www/
Cd/var/www
Tar zxvf Doku ...-c DokuWiki
chown -R Www-data:www-data/var/www/dokuwiki
To modify a path:
sudo VI /etc/apache2/sites-enabled/000*.conf
Documentroot/var/www/html→documentroot/var/www/dokuwiki
Modify Permissions:
sudo VI /etc/apache2/apache2.conf
: Allow Override none→allowoverride all
Restart Apache2:
sudo service apache2 restart
In the Web installation:
http://IP-address-of-your-server/install.php toinitially Configure your DokuWiki.
After installation is complete, delete:
sudo RM /var/www/dokuwiki/install.php
Security settings:
Data Conf Bin Inc These four directories are not accessible through the Web (HTTP and HTTPS).
Add the following configuration in/etc/apache2/apache2.conf:
Order Deny,allow
Allow from all
Order Allow,deny
Deny from all
Satisfy all
############################################################
Configuration of the Doku:
Doku configuration file in/var/www/dokuwiki/conf/
Master files are typically managed by DokuWiki, and local files are created by administrators.
That is, we need to create and modify the local locally file to configure.
dokuwiki.php: Master configuration file
local.php: Local File
Local.protected.php: protection is not subject to change
plugins.php: Default Plug-in
plugins.local.php: Plugin Administrator modified
plugins.required.php: Core Plugins
plugins.protected.php: Override Settings
user.auth.php: User account password
acl.auth.php: Access Control rules
mediameta.php: Editable meta-data
license.php: Available Licenses
Mime.conf: Rules for uploading files
ACRONYMS.CONF: Auto Indent hint
smileys.conf: Image Supplement
entities.conf: Text Supplement
Interwiki.conf: Shortcuts
Scheme.conf:url Solutions
WORDBLOCK.CONF: Junk Mailing List
############################################################
DokuWiki plug-in and template management:
Manual installation is the download decompression to the following path and then chown for Www-data:
/var/www/dokuwiki/lib/tpl used to install the template
/var/www/dokuwiki/lib/plugins to install plugins
Automatic installation is the template management installation on the DokuWiki Web page.