DokuWiki

It's better when it's simple

User Tools

Site Tools


installer

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
Both sides next revision
installer [2015-08-28 15:25]
14.139.62.210
installer [2021-02-23 16:36] (current)
jmbreuer [Possible error message]
Line 4: Line 4:
  
 Read further for description of the fields and an explanation of errors for troubleshooting. Read further for description of the fields and an explanation of errors for troubleshooting.
 +
  
 ===== The fields to fill in ===== ===== The fields to fill in =====
Line 18: Line 19:
   * **Initial ACL policy**!\\ The installer will set up an initial [[ACL]] configuration for you. What you choose here depends on how you intend to use the Wiki. This is only an initial setup, you probably want to adjust the ACL rules later   * **Initial ACL policy**!\\ The installer will set up an initial [[ACL]] configuration for you. What you choose here depends on how you intend to use the Wiki. This is only an initial setup, you probably want to adjust the ACL rules later
   * **Allow users to register themselves** \\ If kept unchecked, users cannot register themselves (i.e. [[config:disableactions]] contains the "register" command).   * **Allow users to register themselves** \\ If kept unchecked, users cannot register themselves (i.e. [[config:disableactions]] contains the "register" command).
-===== Possible error message =====test+===== Possible error message =====
  
 The installer will check certain requirements to make sure the server you want to install DokuWiki to is able to run it. The following messages may be shown by the installer. The installer will check certain requirements to make sure the server you want to install DokuWiki to is able to run it. The following messages may be shown by the installer.
Line 26: Line 27:
  
 Another probable cause is if you tried to move the data and conf directories (Read description on [[security|Security]] before executing the installer. The move operation must be realized only __after__ the end of the installation process.) Another probable cause is if you tried to move the data and conf directories (Read description on [[security|Security]] before executing the installer. The move operation must be realized only __after__ the end of the installation process.)
 +
 +__SELinux issue__
 +
 +If it still doesn't work, then probably it's a selinux issue which is not allowing the webserver process to write to these directories. You can confirm this issue by disabling selinux and try executing your php web service again (''sudo setenforce 0'').
 +
 +If the above step solves your issue, then re-enable selinux (''sudo setenforce 1''), and run following commands from terminal:
 +
 +<code>
 +# grep httpd /var/log/audit/audit.log | audit2allow -M mypol
 +
 +# semodule -i mypol.pp
 +</code>
  
 **PHP function xxx is not available. Maybe your hosting provider disabled it for some reason?**\\ **PHP function xxx is not available. Maybe your hosting provider disabled it for some reason?**\\
-This means a certain function usually provided by the PHP interpreter was not found. This can mean your PHP version is too old (DokuWiki needs PHP 5.3.3 at least), you are missing a certain PHP extension (unlikely) or your provider disabled the  function for some reason.+This means a certain function usually provided by the PHP interpreter was not found. This can mean your PHP version is too old (DokuWiki needs PHP 5.at least, PHP 7.4 preferred, PHP 8 not yet supported - see also the [[:Requirements|system requirements]]), you are missing a certain PHP extension (unlikely) or your provider disabled the  function for some reason.
  
 You need to fix this problem somehow or DokuWiki won't work. So either upgrade your PHP version or ask your provider to check the PHP settings. You need to fix this problem somehow or DokuWiki won't work. So either upgrade your PHP version or ask your provider to check the PHP settings.
installer.1440768323.txt.gz ยท Last modified: 2015-08-28 15:25 by 14.139.62.210