▷ How to install and configure xampp in windows 10
Table of contents:
- What is XAMPP
- XAMPP Download Windows 10
- Install XAMPP Windows 10
- Set up XAMPP Windows 10
- Module configuration files
- Configure modules as system services
If you want to enter the world of creating and editing web pages in perl or PHP, you will need a web server to host your page and do tests. The best thing is that you will not have to pay a penny for in this article we show you how to install and configure XAMPP Windows 10. You will be able to install your own server with different utilities such as Apache and MySQL to make your pages work as if they were hosting.
Index of contents
In the web market there are a large number of companies that provide hosting services to host web pages, and in all cases it will be necessary to pay certain amounts of money to provide this service to us. But if in our case what we want is simply to create small web pages for our own use or even at any given moment to create a small hosting with our own web page, we can do it for free. XAMPP will provide us with everything we need to do this.
What is XAMPP
XAMPP, which stands for X (operating system), A (apache), M (MySQL), P (PHP), P (Perl), is a toolkit that performs cross-platform server functions for hosting, managing and creating web pages with databases. It is a GNU free license tool that is capable of converting our equipment completely free of charge into a web server capable of hosting web pages in different program languages such as PHP and Perl. The XAMPP package is made up of the following elements:
- Apache: It is the best known and used web page server. It is able to host the pages we create and provide access and functionality to them by external clients or on a local network. MySQL: it is the free manager system of SQL databases. It will provide the ability for the web server to establish a query link to a local database that will store data from the web page and hosting services. The package has the SQL MariaDB client. PHP: is the package in charge of "understanding" the web pages created. PHP is the most widely used programming language for creating dynamic web pages.
XAMPP is available free of charge for installation on GNU / Linux, Windows, MacOS X and Solaris operating systems. We are going to use the latest available version of XAMPP Windows 10, 7.2.11
XAMPP Download Windows 10
Before installing XAMPP, of course you will need to download this package. For this we are going to go to their website and choose to download the operating system that we have. For this article we are going to use Windows 10.
The next thing we have to check is that there is no Web server already installed on our computer. To verify this, what we will have to do is go to any web browser and type http: // localhost. If there is nothing we will see the following message:
Install XAMPP Windows 10
We begin with the installation of XAMPP by double-clicking on the file that we have downloaded in the previous section. Let's see in detail the process:
If we have the Windows 10 user account control active, the installer will show us a message warning us that if we install XAMPP in the typical Program Files directory, we may have restricted access to some directories. For this reason, he advises us to deactivate the control of user accounts or to install XAMPP in another location.
- The installation wizard will begin. Press " Next " in the first window. Then we will have to choose components that we must install. Obligatory the package will install Apache and PHP, but we also recommend installing MySQL and therefore phpMyAdmin To obtain the maximum functionality we will install all the components, in this way we will have a mail server, an FTP server, the Perl language among other functionalities order press " Next "
- The next step is to choose the XAMPP Windows 10 installation path. We recommend leaving the default path, which will be C: \ xampp. If our hard disk is quite saturated or we want to host the server on a dedicated hard disk, we will put the installation path that we want
- On the next screen we simply click on " Next ". A web page will be opened giving us information about the different modules that we can install on our Apache server.
- On the last screen, the installation process will begin. After installation, the firewall prompt will appear to deny or allow XAMPP access to public and private networks. If we only want to test websites on the intranet, it is recommended to allow access only for private networks. If, on the other hand, we want to access our page externally, we will also allow access to public networks.
- After this, we will finish installing XAMPP choosing the language we want. At this point, the XAMPP control panel will appear
Set up XAMPP Windows 10
When we open the XAMPP control panel we can find the following information within it:
- Modules and services: in the upper area we see the XAMPP modules that we have installed in our equipment. We will have information about that we have the service activated, what port it uses and the different buttons for its control and configuration. Log: right at the bottom we find the messages that are produced when interacting with the elements at the top. In this panel we can see if the services run successfully and the messages they produce. Shortcuts: in the right part of the window we will have different utilities for quick access to them, such as the Windows services panel, the file explorer, among other things.
We will also have access to this control panel from the system taskbar. Through the orange icon. If we right-click, we will immediately identify which services are activated (green) or not (red). In this case we can click on " Start " to start a service.
- To start a server, click on the " Start " button. If it is the first time that we start this service again we will skip the Windows Firewall to add an exception to it and allow the service to access the internet In the Log we will see the corresponding messages that the service has started correctly
- Now if we go back to the web browser and type localhost again, the Apache screen will appear
Similarly, if we go to another computer located on the same network and write the IP of the computer that Apache has installed, we will see this same web page.
- To turn off a service again, click on the " Stop " button
Module configuration files
To make a configuration on the different parameters of each module we will have to access its configuration files. These are linked through the " Config " button on the XAMPP control panel
If we click on any of them, a plain text file will be opened with a notepad where to carry out the different parameters of each module.
Configure modules as system services
Initially, the various modules that XAMPP installs on the computer will not start as a service when the system boots. This is especially useful to avoid having to continually start these modules manually. Let's see how to do it:
- We will start the control panel as administrators
- Now we will notice that the configuration panel when with some marks in the form of a cross in the " Service " section. This red cross means that the service is not installed, so the module will not start when Windows starts.
- To install a service, the first thing we will have to do is stop the module. Then we will click on the box in the “ Service ” section. We will accept the window, and the service will be installed.
To uninstall a service again we will click on the box to uninstall it again
With this, we have seen how to basically install and configure the operation of XAMPP Windows 10. Installing a web server on your computer is as simple as this.
We also recommend:
Are you a programmer and want to test your pages in Apache? Leave us in the comments that XAMPP has for you. We hope the article has been useful to you.
How to install and configure virtualbox in linux: debian, ubuntu, linux mint ...
Tutorial in Spanish in which we will show you how to install VirtualBox in our Linux distribution in a very simple way.
▷ How to install and configure avast free antivirus 2018
We will learn to configure avast ⌛ If you want to know all the ins and outs of this free antivirus, do not miss our article
▷ How to install and configure a dhcp server in windows server 2016
Discover step by step how to install and configure a DHCP server in Windows Server 2016 ✅ in order to create your own internal network of computers