User Tools

Site Tools


install_dokuwiki

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
install_dokuwiki [2021/07/20 15:53] – external edit 127.0.0.1install_dokuwiki [2024/04/24 12:27] (current) – msvoelker
Line 1: Line 1:
 ====== Install DokuWiki ====== ====== Install DokuWiki ======
  
-A FreeBSD 11.2-RELEASE was installed on a PCEngines box to host a DokuWiki server.+A FreeBSD 14.0-RELEASE was installed on a PCEngines box to host a DokuWiki server.
  
 ===== Install and configure DokuWiki ===== ===== Install and configure DokuWiki =====
  
 Install DokuWiki and Apache. Install DokuWiki and Apache.
-  sudo pkg install dokuwiki+  sudo pkg install dokuwiki-php82
   sudo pkg install apache24   sudo pkg install apache24
  
Line 24: Line 24:
  
 Install PHP module Install PHP module
-  sudo pkg install mod_php71+  sudo pkg install mod_php82
  
 check if the LoadModule line was added check if the LoadModule line was added
Line 30: Line 30:
  
 should output should output
-  LoadModule php7_module        libexec/apache24/libphp7.so+  LoadModule php_module         libexec/apache24/libphp.so
  
 add in /usr/local/etc/apache24/httpd.conf add in /usr/local/etc/apache24/httpd.conf
-  <IfModule php7_module>+  <IfModule php_module>
           DirectoryIndex index.php index.html           DirectoryIndex index.php index.html
           AddType application/x-httpd-php .php           AddType application/x-httpd-php .php
Line 139: Line 139:
  
 On error, check /var/log/httpd-error.log for log messages. On error, check /var/log/httpd-error.log for log messages.
 +
 +===== Impressum im Footer =====
 +
 +In /var/dokuwiki/www/conf/footer.html lässt sich HTML-Code schreiben, der im Footer auf jeder Seite des Wikis angezeigt wird. Hinzugefügt wurde ein einfacher Link zu einem Impressum.
 +
 +  <a href="/doku.php?id=public:impressum" class="wikilink1" title="public:impressum" data-wiki-id="public:impressum">Impressum</a>
 +
 +Der Link verweist auf eine normale Wiki-Seite, die ggf. mit beliebigen Text gefüllt werden kann.
  
 ===== Backup ===== ===== Backup =====
install_dokuwiki.1626796433.txt.gz · Last modified: by 127.0.0.1