XAMPP Control Panel – Manage/Configure Apache, MySQL, FileZilla, Tomcat, Mercury

This article explains how to use the XAMPP control panel to start/stop, administer/ configure services like Apache, MYSQL, FileZilla, Mercury, Tomcat with just click of a button.

Before moving further, let’s discuss XAMPP in Brief.

XAMPP

XAMPP is free and easy to install Apache distribution. It acronyms to Cross-Platform (X), Apache (A), MariaDB (M), PHP (P), and Perl (P). This provides a complete web development environment. You can easily install it on Windows and Linux OS.

Below are the installation steps for Windows.

  • Download the latest XAMPP installer. The current version is 7.1.27, 7.2.16 & 7.3.3 at the time of writing this article.
  • It is a wizard-driven installer. Double-click on Installer.
  • Follow the on-screen instruction. Do not change any default value.
  • Click next and install it.

XAMPP Control Panel

XAMPP Control panel (v3.2.2) is a plain, simple interface for XAMPP which helps you to Start/Stop, Administer and configure services like Apache, MYSQL, FileZilla, Mercury, Tomcat. You can also use it to change ports, monitor services, start shell, view logs, etc.

Go to Start and search for XAMPP and select the XAMPP Control panel to start it in Windows 10. Below is the default dashboard.

xampp contorl panel

There is a module list along with Start, Admin, Config, and Logs button along with advanced control options on the right-hand side.

The functionality of different control buttons.

  • Start – Use this button to Start and Stop the respective module/service.
  • Admin – Use this button to open the admin or application console for the respective module.
  • Config – User this button to open configuration file like httpd.conf, my.ini, mercuri.ini
  • Logs – Using this button to open log file like access.log, error.log

Now, let’s see how to use this panel to start/stop, administer, and config module and services in detail.

Start/Stop Service

It is simple just click on the start button for the respective module/service. You can see button caption changes to Stop. The module background turns green and Ports, PIDs get populated. That means service is started successfully. The same button you can use to stop service.

XAMPP also shows the log (Check image) like,

Attempting to start Apache app…

Status change detected: running.

Sample Log below

12:03:09 PM [main] Initializing Control Panel
12:03:09 PM [main] Windows Version: Windows 8.1 Enterprise 64-bit
12:03:09 PM [main] XAMPP Version: 5.6.28
12:03:09 PM [main] Control Panel Version: 3.2.2 [ Compiled: Nov 12th 2015 ]
12:03:09 PM [main] You are not running with administrator rights! This will work for
12:03:09 PM [main] most application stuff but whenever you do something with services
12:03:09 PM [main] there will be a security dialogue or things will break! So think
12:03:09 PM [main] about running this application with administrator rights!
12:03:09 PM [main] XAMPP Installation Directory: "c:\xampp\"
12:03:09 PM [main] Checking for prerequisites
12:03:11 PM [main] All prerequisites found
12:03:11 PM [main] Initializing Modules
12:03:11 PM [main] Starting Check-Timer
12:03:11 PM [main] Control Panel Ready
12:03:13 PM [Apache] Attempting to start Apache app...
12:03:13 PM [Apache] Status change detected: running
12:03:14 PM [mysql] Attempting to start MySQL app...
12:03:22 PM [mysql] Status change detected: running

The log also shows an error message when it could not start any of the services.

Apache Module

Apache(httpd) is cross-platform HTTP, open-source Server. It is available for operating systems including UNIX and Windows. It is a secure, efficient and extensible server that provides HTTP services as per current HTTP standards. This section covers options related to the server.

Admin

This opens a dashboard as shown below. You can see some links at the right-hand top right corner.

xampp apache admin

  • Applications – It shows a list of all applications installed and links to access those. You can install a different application like WordPress, Joomla, and Moodle. Here it shows the information of the app with a clickable link to open it.
  • FAQ – This is a frequently asked question section. This section has some common questions and answers.
  • How-to Guides – This is how to guide section. It has good documents that show 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 a database, table, users, query database.

Config

This option allows you to modify the configuration file. Just click the Config button and it opens a popup showing list of all configuration files. Click on the Individual file to open and edit it.

xampp apache config

List of the available config file,

  • Apache (httpd.conf) – This is the main Apache HTTP server configuration file. It contains the configuration directives that give the server its instructions.
  • Apache (httpd-ssl.conf) – This is the Apache server configuration file providing SSL support. It contains the configuration directives to instruct the server how to serve pages over an https connection.
  • Apache (httpd-xampp.conf) – This is the XAMPP Setting file.
  • PHP (php.ini) – PHP’s initialization file, generally called php.ini, is responsible for configuring many of the aspects of PHP’s behavior.
  • phpMyAdmin (config.inc.php) – This is needed for cookie-based authentication to encrypt the password in
    the * cookie.

There are some <Browse> commands which actually open the respective file location is separate windows explorer.

How to change the configuration?

  • Click the button to open the config file.
  • Modify and save it.
  • Restart the respective service to make sure changes are reflected.

apache httpd config file

Logs

This section list links to all logs files. Click on the button to see a list of the available log file. Refer to this file if you face any issue with the respective service.

xampp apache log

List of the available log file

  • Apache (access.log)
  • Apache (error.log)
  • Php (php_error_log)

MySQL Module

MySQL is an open-source relational database management system. This covers MySQL options. XAMPP now comes with MariaDB instead of MySQL. Nothing changes for the end-user as MariaDB is an enhanced, drop-in replacement for MySQL and is available under the terms of the GPL v2 license

Admin

This opens a phpMyAdmin dashboard as explained above. This is the graphical interface to work with the MariaDB database. You can query, update, delete from the database using it.

Note: Don’t modify anything unless you understand what you are doing.

Config

This opens the my.ini control file. You can modify different parameters like port, memory setup for MariaDB using this control file.

mysql config

FileZilla

FileZilla is a free, and open-source FTP client. It is available for Windows, Mac, Linux, and another operating system.

XAMPP is your local development environment. You should not use it for production. Modify files, test here, and move files to the production server using basic FileZilla FTP client.

This section covers those options.

Admin

This opens the Connect to Server box as shown below. Enter Server Address and Administration Password and Port(Dafulated from the config file) to connect to the remote system and click on OK.

xampp filezilla

This should open below interface using which you can transfer files the remote system.

xampp filezilla server

Config

This opens the FileZilla Server.xml configuration file where you can change the default port. Below is the sample file.

<FileZillaServer>
    <Settings>
        <Item name="Admin port" type="numeric">14147</Item>
    </Settings>
</FileZillaServer>

Logs

This opens the FileZilla log file.

Mercury

Mercury Mail Transport System (Mercury MTS) is a mail server. It is feature-rich, extremely standards-compliant, supports all major Internet mail-related protocols.

It is complex to install as a standalone server, but XAMPP comes with easy to use and maintain Mercury Server.

Admin

This open Mercury control panel for HTTP, POP3, PopPass, IMAP4, PH, Finger Server as shown below.

xampp mercury

Config

This opens the mercury.ini configuration file. This file contains all setup information like protocol supported, localhost information, Delivery failure notification template, Delivery confirmation template, Mail Delivery Queue, etc.

Logs

This opens logs file for mercury.

Tomcat

Apache Tomcat often referred to as Tomcat Server, is an open-source Java Servlet Container developed by the Apache Software Foundation. It is open-source implementation of the Java Servlet, JavaServer Pages, Java Expression Language, and Java WebSocket technologies.

Admin

This should open the Tomcat control panel as shown below.

xampp tomcat

Config

Use this button to open the Tomcat configuration file.

List of the configuration file,

  • server.xml
  • tomcat-users.xml
  • web.xml
  • context.xml

Logs

Use this button to browse the log file.

As a normal user, you only work on the basic control operation mentioned above. Only change the below option if you face any issue with 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.

XAMPP Advance control panel

These controls open some advanced options which are self-explanatory.

Config

It opens the advanced configuration panel like this.

XAMPP configuration control panel

You can use this control to set,

  • Editor – default is Notepad. You can change to any other preferred text editor like Notepad++, TextPad, etc. Just click on Browse and select the required editor.
  • Browser – default browser to use. Empty means, it uses windows default. You can change it if you like to use a different browser like chrome, firefox, safari, etc. Click on browse and select the required.
  • Autostart of modules – You need to explicitly click on the start button to start service. Specify the service which you want to start automatically as soon as XAMPP starts.
  • Change Language – Use to select the language. English and German option is available.
  • User-Defined Files – Use it to specify user define control and log file for the modules.
  • Log Options – This allows you to change log file font and font size. The default font is Arial with size 10.
  • 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 the 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

Summary

I hope you have a better understanding of the control panel and how to work with different modules.

Please share and subscribe if you liked the article.

Share This:

1 thought on “XAMPP Control Panel – Manage/Configure Apache, MySQL, FileZilla, Tomcat, Mercury”

Comments are closed.