XAMPP is a completely free, easy to install Apache distribution containing MariaDB, PHP, and Perl. It also has FileZilla, Mercury and Tomcat. XAMPP provides you a complete local web development environment which includes Apache HTTP Server, MYSQL/MariaDB as Database, PHP and PERL as a scripting language. It is really easy to install XAMPP on windows and there are lots of add-ons available e.g WordPress, Joomla, Moodle and Drupal. Refer this link for complete application information.
In this article, I will explain how to configure and manage different modules like Apache, MySQL, FileZilla, Mercury, and Tomcat using XAMPP Control Panel.
XAMPP Control Panel
Go to program and start XMAPP. Default control panel layout is as shown below. There is a module list along with Start, Admin, Config and Logs button. Below is the functionality of different control buttons.
- Start – start and Stop respective service.
- Admin – open admin or application console for respective module.
- Config – open configuration file like httpd.conf, my.ini, mercuri.ini
- Logs – open log file like access.log, error.log
I started all the modules for your understanding. You can see button caption changed to Stop and all services are started and Ports, PIDs are populated. XAMPP also shows the log(Check image) like Attempting to start Apache app… Status change detected: running.
Let’s see how Admin button works for different services.
This section covers option related to Apache HTTP server
This opens a dashboard for XAMPP/Apache as shown below. You can see some links at the right-hand top right corner.
- Applications – It shows a list of all applications installed and link to access those. You can install a different application like WordPress, Joomla and Moodle. Here it shows a complete link with a clickable link to open that application.
- FAQ – This is frequently asked question section. This section has some common questions and answer.
- How-to Guides – This is how to guide section. It has good documents which shows how to use XAMPP.
- PHPInfo – This shows information like PHP version, Apache configuration and environment, etc
- phpMyAdmin – This is a control panel for phpMyAdmin. It helps in administrating MySQL. You can create database, table, users, query database.
This option allows you to modify the configuration file. Just click on Config button and it opens a popup showing list of all configuration file. Click on the Individual file to open and edit it.
List of available file
- PHP (php.ini)
- phpMyAdmin (config.inc.php)
This is how it opens config file. Just modify it if required and save it. You need to restart respective service if you modify any config file.
This section list link to all logs file. Click on the button to see a list of the available log file. Refer this file if you face any issue with respective service.
List of available log file
- Apache (access.log)
- Apache (error.log)
- Php (php_error_log)
MySQL is an open source relational database management system. This covers MySQL options.
This opens a phpMyAdmin dashboard as explained above. You can use it to work on MySQL database.
This opens my.ini control file. You can modify different parameters for MySQL using this control file.
This section covers FileZilla options. FileZilla is FTP service to move your file to remote server.
This opens the Connect to Server box as shown below. Enter Server Address and Administration Password to connect to the remote system and click on OK.
This should open below interface using which you can transfer files the remote system.
This opens FileZilla Server.xml configuration file.
This should open FileZilla log file.
Mercury Mail Transport System (Mercury MTS) is mail server designed by David Harris.
This open Mercury control panel as shown below.
This opens mercury.ini configuration file.
This opens logs file for mercury.
Apache Tomcat often referred to as Tomcat Server, is an open-source Java Servlet Container developed by the Apache Software Foundation.
This should open control panel as shown below.
Use this button to open tomcat configuration file.
List of configuration file
Use this button to browse log file.
As a normal user, you only work on basic control operation mentioned above. Only change below option if you face any issue with XAMPP.
XAMPP Advance Control Option
The toolbar on the right-hand side is for the advanced user to troubleshoot any issues with XAMPP. Don’t change any default setup, unless it is not working.
These controls open some advanced options which are self-explanatory.
It opens advanced configuration panel like this.
You can use this control to set,
- Editor – default is notepad. You can change to any other preferred editor
- Browser – change it if you like to use different browser other than default
- Autostart of modules – You need to explicitly click on start button to start service. Specify service which you want to start automatically as soon as XAMPP starts.
- Change Language
- User Defined Files
- Log Options
- Service and Port Setting
- Each service uses default port e.g. Apache on port 80. More than one service cannot run on the same port.If you have some other server running and port 80 is not available you can change it here. Make sure to restart service.
Netstat – Displays active TCP connections, ports on which the computer is listening.
Shell – Start XAMPP on MS-DOS mode
Explore – Open windows explorer
Service – Open windows services panel
Help – Reference to help document
Quit – Quit XAMPP
I hope you have a better understanding of XAMPP control panel and how to work with different modules.
Please share and subscribe if you liked the article.
Reference and Further Reading: