Installing Apache, MySQL, PHP on Windows
Install XAMPP
-
Download the latest option for windows (usually the last one).
Wait a few seconds and if it doesn't start downloading click the green hyperlink at the top of the screen that says “click here”.
Open the .exe file that downloaded and open the file to start the instalation process.
Now go to the xampp-control.exe file (Ex: C:/xampp/xampp-control.exe) and start the apache(mandatory) and the other modules you wish to include in your project.
Search 127.0.0.1 or localhost in your browser and you should see that XAMPP has been successfully installed.
Portable Apps
Dokuwiki
-
Select your desired options and click the download button at the BOTTOM of the screen.
Extract the downloaded file into the htdocs folder in XAMPP (Ex: C:/xampp/htdocs).
Restart the XAMPP server and go to localhost.
Search localhost/dokuwiki/install.php in the searchbar and complete the instalation process.
Configuration of XAMPP
Virtual Hosts
Download XAMPP portable as shown above
Open the httpd-vhosts.conf file located in xampp\apache\conf\extra\ and put the following code at the end
<VirtualHost *:80>
ServerName yourname.com
ServerAlias www.yourname.com
DocumentRoot "C:/path_to_dokuwiki_folder"
<Directory "C:/path_to_dokuwiki_folder">
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
Replace C:/path_to_dokuwiki_folder with the actual path to your DokuWiki installation(Ex:C:/xampp/htdocs/dokuwiki) and yourname.com to your desired website name
Open the hosts file on your system(Ex:C:\Windows\System32\drivers\etc\hosts) and add the following line to the file
127.0.0.1 yourname.com
Open xampp\apache\conf\httpd.conf. Look for the following line: Include conf/extra/httpd-vhosts.conf and ensure it is uncommented (remove # if present)
Save the file, restart XAMPP and access your dokuwiki via your adress (Ex: yourname.com)
Alternatives
EasyPHP
WAMP Server
Laragon