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
Last revision
installer [2016-05-06 00:40]
145.253.236.155
installer [2021-02-23 16:35]
jmbreuer [Possible error message] add reference for PHP version as per requirements
Line 1: Line 1:
-====== DokuWiki Installer ======test+====== DokuWiki Installer ======
 The setup script ''install.php'' assists you to do your initial [[DokuWiki]] setup. It checks for the availability of required PHP functions and checks for needed file permissions. It also creates an initial administrator account and an initial [[ACL]] policy. The setup script ''install.php'' assists you to do your initial [[DokuWiki]] setup. It checks for the availability of required PHP functions and checks for needed file permissions. It also creates an initial administrator account and an initial [[ACL]] policy.
 To run the installer, open the page %%http://[dokuwikiPath]/%%**install.php** in the web browser. (For security reasons it will only work with a new and unmodified DokuWiki installation.) To run the installer, open the page %%http://[dokuwikiPath]/%%**install.php** in the web browser. (For security reasons it will only work with a new and unmodified DokuWiki installation.)
Line 30: Line 30:
 __SELinux issue__ __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 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.+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 # grep httpd /var/log/audit/audit.log | audit2allow -M mypol
  
 # semodule -i mypol.pp # 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 - 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.txt ยท Last modified: 2021-02-23 16:36 by jmbreuer