Hi All,
I've installed DokuWiki lots of times over the years but can't figure out this problem on a new stack. Tried transferring an existing wiki but when that failed tried a fresh tar but still no luck. When I run the installer, I get a list of "Not Writable" errors.
Stack:
Apache 2.4 (with mod_rewrite running per httpd -M)
PHP 7 (with php-xml and php-mbstring installed)
All files owned by apache and even set all of them to 777. Still no luck
With the existing wiki I got:
DokuWiki Setup Error
The datadir ('pages') at ./data/pages is not found, isn't accessible or writable. You should check your config and permission settings.
Ran this error message down to here in inc/init.php. Don't know php so don't know how to try and replicate the write test being done here.
function init_paths(){
global $conf;
$paths = array('datadir' => 'pages',
'olddir' => 'attic',
'mediadir' => 'media',
'mediaolddir' => 'media_attic',
'metadir' => 'meta',
'mediametadir' => 'media_meta',
'cachedir' => 'cache',
'indexdir' => 'index',
'lockdir' => 'locks',
'tmpdir' => 'tmp');
foreach($paths as $c => $p) {
$path = empty($conf[$c]) ? $conf['savedir'].'/'.$p : $conf[$c];
$conf[$c] = init_path($path);
if(empty($conf[$c]))
nice_die("The $c ('$p') at $path is not found, isn't accessible or writable.
You should check your config and permission settings.
Or maybe you want to <a href=\"install.php\">run the
installer</a>?");