**Introduction to XAMPP
XAMPP bundles Php, MySQL and Apache Server as a packaged application. The advantage of using XAMPP is that you need not separately install the individual components like Php, MySql and Apache.
When you start developing web applications, you need a web server to run server side scripts like Php. Here are the steps to install XAMPP on Linux
1.Download XAMPP from the website. It will be a Tar file or .run file.
If it is .Run file, then first change the file permission to execute and then run the XAMPP application. If it is a .Tar file, then you need to extract the contents of the file to any directory of your choice. Once you have specified the path,go to the directory where XAMPP is installed and double click on manager-linux-x64.run.
It will launch the XAMPP application
Now run the apache web server. Check the conf button to see the port number.
Where to find HTdocs folder.
htdocs is a folder where all your html, php, sql and other website material stays. In some XAMPP distributions you will find the htdocs folder just inside LAMPP folder. In some cases you have to open apache2 folder, where you will find htdocs.
Download the DOKUWIKI setup file form the website. THis file wil be .tar.gz format.
Now for you to use Dokuwiki, you need a running php server. As you have already installed XAMPP, Php is also installed. Extract all the Dokuwiki files to htdocs folder.
Permission/ access rights
you should provide read , write and execute rights to user, group and others in lnux. For this you will
have to use chown +777 /opt/lamp or chown 777 /opt. Once this is done you can access files.
Go to your webbrowser and type localhost:8080/install.php
Observation: if the install.php is within a folder then you have to give full path of the file in your web browser.
Do the necessary configurations and you can start using DokuWiki
The above are just my views.