maybe the instructions in
https://www.dokuwiki.org/install aren't so clear, or maybe too generic, and
https://www.dokuwiki.org/install:debian is a bit outdated...
Just before you continue, you may want to add a few packages :
sudo apt install php-mbstring php-gd php-xml php-intl php-mcrypt
sudo apt install php-sqlite3 # optional
sudo apt install imagemagick # optional
Where is my webspace?
On debian9, webspace directory is /var/www/html. Either extract your files directly in there, and your wiki will appear at h
ttp://localhost/, or create a subdirectory, say
mydoku where you will extract the archive to have your wiki at htt
p://localhost/mydoku.
When the files are in /var/www/html ... give them to the www-data user. in a terminal run :
sudo chown -hR www-data: /var/www/html
When done, point your browser to ht
tp://localhost/install.php (or ht
tp://localhost/mydoku/install.php), and complete the initial setup.