Files with 644, owned by root, are not writable by apache. You would have to change it to 666 or change ownership to apache.
The same thing is true in Ubuntu/Debian: the package manager installs a highly restricted version of Dokuwiki, designed to be updated only by root. I once installed a version of dw using yum, just as a test, and I seem to recall that like Ubuntu/Debian it creates a non-standard file structure. On the DW web site, it is
implicitly suggested that Debian/Ubuntu users should use the standard command line install of DW. But if you do that you should first uninstall using the package manager and call your new install something other than Dokuwiki, just in case it leaves behind a non-standard apache configuration file for that name.