Hi,
I use to keep my notes on a local DokuWiki. I've moved from OpenSUSE to Fedora recently. Previously, I installed DW both locally and on remote servers via install.php, but I've read that on Fedora/CentOS/RHEL it's better to do this via package manager, since there could be some issues with SEL. So I've installed, as suggested, "dokuwiki" and "dokuwiki-selinux" packages, then tried to access doku.php on localhost, and I got "HTTP Error 500: 127.0.0.1 is currently unable to handle this request."
I tried to tinker here and there, but to no avail. I feel I might be missing something obvious, since Apache and PHP seem to be working fine. Error log in /var/log/httpd shows the following:
[autoindex:error] [pid 7057:tid 140178001721088] [client 127.0.0.1:39092] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
All I did previously when setting DW locally was installing Apache and PHP, enabling PHP module in Apache, setting correct permissions, and then running install.php.
I'll be thankful for help.
EDIT: After further investigation, I found this error occurs every time I try to run doku.php:
[17-Jun-2018 19:06:05 UTC] PHP Warning: require_once(/usr/share/dokuwiki/vendor/autoload.php): failed to open stream: No such file or directory in /usr/share/dokuwiki/inc/init.php on line 194
[17-Jun-2018 19:06:05 UTC] PHP Fatal error: require_once(): Failed opening required '/usr/share/dokuwiki/vendor/autoload.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/share/dokuwiki/inc/init.php on line 194