It's depending what you define as "need". The XAMPP-Site is just a bunch of introduction sites, with some examples and some helpful tools. Two of them you will probably need. One is phpinfo, the other is phpMyAdmin.
phpinfo is an overview of all PHP Settings. This can be created easily, just put this in a file:
- Code: Select all
save it as phpinfo.php in a http reachable folder and call it with your browser. This is very helpful if you want to install a script and do not know whether your installation meets the minimun citeria or not. Just call it and compare the several settings.
phpMyAdmin you will need as soon as you want to develop applications with MySQL, as it is a configuration frontend for this Database. This is not affected by the htdocs folder, as it is included via an Alias-Directive from the xampp-Directory. Even if you delete the complete content of htdocs, http://localhost/phpmyadmin
will still work. So don't worry about this.
Maybe you want use the security tool, shipped with XAMPP. This is only required if you expect someone is accessing your computer. In this case you can run the security tool and afterwards change your configuration.
Now you have to decide how you want to do it. The simplest solution is to create a new folder inside the htdocs directory and put all your files inside this folder. You can do this for every project you make. Then you simply can reach every project by going to http://localhost/projectfolder
If you have more than one project at the same time, you will have to use VirtualHosts in Apache as the DocumentRoot just can lead to one directory. And then it is more complicated than just changing two lines in httpd.conf.