Hi all,
I just did a clean install of DokuWiki from the most recent stable tarball. I'm running it using nginx on CentOS 7. However, when I try to run the install.php, I get the following error:
{DOCUMENT_ROOT}/conf/ is not writable by DokuWiki. You need to fix the permission settings of this directory!
{DOCUMENT_ROOT}/data is not writable by DokuWiki. You need to fix the permission settings of this directory!
{DOCUMENT_ROOT}/data/pages is not writable by DokuWiki. You need to fix the permission settings of this directory!
{DOCUMENT_ROOT}/data/attic is not writable by DokuWiki. You need to fix the permission settings of this directory!
{DOCUMENT_ROOT}/data/media is not writable by DokuWiki. You need to fix the permission settings of this directory!
{DOCUMENT_ROOT}/data/media_attic is not writable by DokuWiki. You need to fix the permission settings of this directory!
{DOCUMENT_ROOT}/data/media_meta is not writable by DokuWiki. You need to fix the permission settings of this directory!
{DOCUMENT_ROOT}/data/meta is not writable by DokuWiki. You need to fix the permission settings of this directory!
{DOCUMENT_ROOT}/data/cache is not writable by DokuWiki. You need to fix the permission settings of this directory!
{DOCUMENT_ROOT}/data/locks is not writable by DokuWiki. You need to fix the permission settings of this directory!
{DOCUMENT_ROOT}/data/index is not writable by DokuWiki. You need to fix the permission settings of this directory!
{DOCUMENT_ROOT}/data/tmp is not writable by DokuWiki. You need to fix the permission settings of this directory!
[/size]
Of course I did read the documentation first (perhaps poorly?) and did a search on the web. I tried both methods from the install:permissions guide and phpinfo.php says the user is nginx, while the scripts outputs "
Your PHP process seems to run with the UID 0 (root) and the GID 0 (root)". Permissions currently are as follows for testing purposes, although I tried lots of variations and different combinations of owner:group:
drwxrwxrwx. 2 nginx nginx 4096 Aug 23 15:57 bin
drwxrwxrwx. 2 nginx nginx 4096 Aug 23 15:57 conf
-rwxrwxrwx. 1 nginx nginx 18092 Aug 23 15:57 COPYING
drwxrwxrwx. 12 nginx nginx 4096 Aug 23 15:57 data
-rwxrwxrwx. 1 nginx nginx 3674 Aug 23 15:57 doku.php
-rwxrwxrwx. 1 nginx nginx 19372 Aug 23 15:57 feed.php
drwxrwxrwx. 2 nginx nginx 4096 Dec 8 14:53 html
drwxrwxrwx. 6 nginx nginx 4096 Aug 23 15:57 inc
-rwxrwxrwx. 1 nginx nginx 182 Aug 23 15:57 index.php
-rwxrwxrwx. 1 nginx nginx 20935 Aug 23 15:57 install.php
drwxrwxrwx. 8 nginx nginx 4096 Aug 23 15:57 lib
-rwxrwxrwx. 1 nginx nginx 306 Aug 23 15:57 README
drwxrwxrwx. 5 nginx nginx 4096 Aug 23 15:57 vendor
-rwxrwxrwx. 1 nginx nginx 23 Aug 23 15:57 VERSION
[/size]
Furthermore I tried using different document roots, clean downloads, etc., but to no avail. In case it matters, I'm running PHP 5.4.16 and nginx 1.8.0.
Any help or pointers are greatly appreciated; I have a nagging feeling I'm missing something obvious here (but yes, I did reboot the server ;-))
Thanks,
Jelle