Get started by selecting a Bitnami Module for XAMPP below. 15 Bitnami Modules for XAMPP and counting. Click on an app to start your download, then follow the installation instructions. You’re trying to use XAMPP to do PHP development. But when you start Apache, you get this error. The chances are that it’s due to a blocked port. In this video, I’ll show you how to fix that error by changing the port that Apache uses.
XAMPP is one of the widely used cross-platform web servers, which helps developers to create and test their programs on a local webserver. It was developed by the Apache Friends, and its native source code can be revised or modified by the audience. It consists of Apache HTTP Server, MariaDB, and interpreter for the different programming languages like PHP and Perl. It is available in 11 languages and supported by different platforms such as the IA-32 package of Windows & x64 package of macOS and Linux.
What is XAMPP?
XAMPP is an abbreviation where X stands for Cross-Platform, A stands for Apache, M stands for MYSQL, and the Ps stand for PHP and Perl, respectively. It is an open-source package of web solutions that includes Apache distribution for many servers and command-line executables along with modules such as Apache server, MariaDB, PHP, and Perl.
XAMPP helps a local host or server to test its website and clients via computers and laptops before releasing it to the main server. It is a platform that furnishes a suitable environment to test and verify the working of projects based on Apache, Perl, MySQL database, and PHP through the system of the host itself. Among these technologies, Perl is a programming language used for web development, PHP is a backend scripting language, and MariaDB is the most vividly used database developed by MySQL. The detailed description of these components is given below.
Components of XAMPP
As defined earlier, XAMPP is used to symbolize the classification of solutions for different technologies. It provides a base for testing of projects based on different technologies through a personal server. XAMPP is an abbreviated form of each alphabet representing each of its major components. This collection of software contains a web server named Apache, a database management system named MariaDB and scripting/ programming languages such as PHP and Perl. X denotes Cross-platform, which means that it can work on different platforms such as Windows, Linux, and macOS.
Many other components are also part of this collection of software and are explained below.
- Cross-Platform: Different local systems have different configurations of operating systems installed in it. The component of cross-platform has been included to increase the utility and audience for this package of Apache distributions. It supports various platforms such as packages of Windows, Linus, and MAC OS.
- Apache: It is an HTTP a cross-platform web server. It is used worldwide for delivering web content. The server application has made free for installation and used for the community of developers under the aegis of Apache Software Foundation. The remote server of Apache delivers the requested files, images, and other documents to the user.
- MariaDB: Originally, MySQL DBMS was a part of XAMPP, but now it has been replaced by MariaDB. It is one of the most widely used relational DBMS, developed by MySQL. It offers online services of data storage, manipulation, retrieval, arrangement, and deletion.
- PHP: It is the backend scripting language primarily used for web development. PHP allows users to create dynamic websites and applications. It can be installed on every platform and supports a variety of database management systems. It was implemented using C language. PHP stands for Hypertext Processor. It is said to be derived from Personal Home Page tools, which explains its simplicity and functionality.
- Perl: It is a combination of two high-level dynamic languages, namely Perl 5 and Perl 6. Perl can be applied for finding solutions for problems based on system administration, web development, and networking. Perl allows its users to program dynamic web applications. It is very flexible and robust.
- phpMyAdmin: It is a tool used for dealing with MariaDB. Its version 4.0.4 is currently being used in XAMPP. Administration of DBMS is its main role.
- OpenSSL: It is the open-source implementation of the Secure Socket Layer Protocol and Transport Layer Protocol. Presently version 0.9.8 is a part of XAMPP.
- XAMPP Control Panel: It is a panel that helps to operate and regulate upon other components of the XAMPP. Version 3.2.1 is the most recent update. A detailed description of the control panel will be done in the next section of the tutorial.
- Webalizer: It is a Web Analytics software solution used for User logs and provide details about the usage.
- Mercury: It is a mail transport system, and its latest version is 4.62. It is a mail server, which helps to manage the mails across the web.
- Tomcat: Version 7.0.42 is currently being used in XAMPP. It is a servlet based on JAVA to provide JAVA functionalities.
- Filezilla: It is a File Transfer Protocol Server, which supports and eases the transfer operations performed on files. Its recently updated version is 0.9.41.
XAMPP Format Support
XAMPP is supported in three file formats:
- .EXE- It is an extension used to denote executable files making it accessible to install because an executable file can run on a computer as any normal program.
- .7z - 7zip file- This extension is used to denote compressed files that support multiple data compression and encryption algorithms. It is more favored by a formalist, although it requires working with more complex files.
- .ZIP- This extension supports lossless compression of files. A Zipped file may contain multiple compressed files. The Deflate algorithm is mainly used for compression of files supported by this format. The .ZIP files are quite tricky to install as compared to .EXE
Thus .EXE is the most straightforward format to install, while the other two formats are quite complicated and complex to install.
Before going through XAMPP tutorial in-depth, you must have a fundamental knowledge of web development languages like HTML, and PHP.
Our XAMPP tutorial is designed for the aspirants who want to test their website or application on a localhost webserver. This tutorial will help those who want to build their career as a front end or web developer.
We assure you that it will resolve all your queries related to XAMPP, and you will not find any problem in this tutorial. Still, if there is any mistake or discrepancy, please post the problem in the contact form.
If you are a web developer or .Net blogger, you may want to run Apache and IIS on your dev machine. There are two ways to do this:
1. Keep IIS as it is and update XAMPP for different port
2. Keep XAMPP as it is and update IIS for different port
Let us see how to implement each case step by step.
Case I: Keep IIS as it is and update XAMPP port
1. Download 7zip or zip version of XAMPP and extract it in a folder OR Download setup and install it.
Xampp Para Asp.net
2. Open file xamppapacheconfhttpd.conf
search following line(at 47 in default installation):
change the port 80 to another say 8080 as shown below:
Also search following line(at 181 in default installation)
and change port 80 to 8080 as shown below:
3. Open xamppapacheconfextrahttpd-ssl.conf file.
search for “Listen 443” and change to “Listen 449”
search for “<VirtualHost _default_:443>” and change to “<VirtualHost _default_:449>”
search for “ServerName localhost:443” and change to “ServerName localhost:449”
4. Start the “setup_xampp.bat” and beginning the installation.
5. Double click on xampp_start.exe. It will start XAMPP.
Note: Do NOT close console window if it is not closed automatically. Keep it opened.
6. Start your browser and type http://127.0.0.1:8080 or http://localhost:8080 in the location bar. You will see XAMPP start page.
Now, you can work with both IIS and Apache servers.
Case II: Keep XAMPP as it is and change IIS port:
For IIS 7 (default in Windows 7):
Type Inetmgr and Open Internet Information Services (IIS) Manager.
Select Default Web site.
In the Action pane, click Bindings.
Click Add to add a new site binding, or click Edit to change an existing binding.
Click OK to apply the changes.
Now http://localhost:8080 is for Default IIS website.
For other version of IIS see following to change port:
Now which case is suitable for you? If you have high priority IIS website(don’t want to change) or have many existing sites running in IIS, change XAMPP port else change IIS default website port.