DokuWiki

It's better when it's simple

User Tools

Site Tools


Sidebar

Translations of this page?:

Learn about DokuWiki

Advanced Use

Corporate Use

Our Community


Follow us on Facebook, Twitter and other social networks.

installer

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. 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.)

Read further for description of the fields and an explanation of errors for troubleshooting.

The fields to fill in

These are the options you may set in the installer and their meaning.

  • Wiki Name
    This configures the title option of the Wiki. It's what will be displayed in the upper right corner of the default template.
  • Enable ACL
    Only if this field is checked, the other fields are available. DokuWiki won't need the ACL setup, but it is recommended because without it the administrative interface won't be accessible.
  • Superuser
    This is the username of the to be created administrator account. It should be lowercase and ASCII letters only. No spaces are allowed here.
  • Full Name
    The real name of the superuser.
  • E-Mail
    The email address of the superuser. No advanced checking is done here only an @ character is required, but you should supply a valid address none the less.
  • Password
    The password for the superuser.
  • Once Again
    Repeat the password. This is to avoid typing errors.
  • 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. disableactions contains the “register” command).

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.

xxx is not writable by DokuWiki. You need to fix the permission settings of this directory!
This is probably the most common error. You need to make the indicated directory writable by the webserver. Refer to permissions for more info.

Another probable cause is if you tried to move the data and conf directories (Read description on Security before executing the installer. The move operation must be realized only after the end of the installation process.)

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.1.2 at least), 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.

xxx - illegal or empty value
You entered a value which is not allowed for that field. See field descriptions for what each field expects.

installer.txt · Last modified: 2014/03/30 04:47 by 89.212.41.49