There are different applications that are compatible for various operating systems. However, you cannot bring a Windows 10 executable and open it in Linux or try to run a Linux file in Windows . This is because of a file system issue that we will not talk about, but we are going to talk about an application that has download options for both Windows and Linux called XAMPP..
What is XAMPP?
XAMPP ((Cross-Platform (X), Apache (A), MariaDB (M), PHP (P), Perl (P)) is a development environment that integrates PHP and is basically an Apache distribution that is offered in a way free within which popular tools like MariaDB , PHP and Perl are added.
Your download for Windows 10 is available at the following link:
The current version of XAMPP is 7.4.1 which integrates:
- OpenSSL 1.1.1d (UNIX only)
With this in mind we will see how to install XAMPP on Windows 10.
1. How to install XAMPP on Windows 10
The first step to take will be to download the XAMPP executable from the link above:
There we select the most recent version of XAMPP. This will download the executable where we have defined:
We double click on this file and then accept the UAC permissions. The following will be displayed. We click on â€œYesâ€
We will see the following warning. This warning is related to the control of Windows 10 user accounts. It is ideal that we temporarily disable them or assign the correct permissions.
We can edit it from the Control Panel if necessary. We click on Ok in the XAMPP wizard
We will see the following. We click on Next
We will see the components that can be installed, MySQL, phpMyAdmin, PHP, Apache. TechnoWikis recommends you leave the default values â€‹â€‹in the wizard:
In the following window we define where to install XAMPP in Windows 10:
We click Next and now uncheck the â€œLearn more about Bitnami for XAMPPâ€ box:
Click on Next and we will see the following window:
We click Next to start the installation process of XAMPP on Windows 10:
During the installation process we must grant the XAMPP permissions in the Windows 10 Firewall. We click on â€œAllow accessâ€
When this process comes to an end we will observe the following. There we leave the XAMPP control panel box active and click on the â€œFinishâ€ button
We will define the language of use of XAMPP:
We click Save to set our preference and the XAMPP control panel will be displayed. As we can see, there are available each of the utilities integrated in XAMPP and if you notice we have a problem with port 443 of Apache, this usually happens, to correct it we click on the â€œConfigâ€ button at the top and we will see this window :
We click on the â€œService and Port Settingsâ€ button and the following window will be launched:
There we will change the ports as we deem necessary:
We see that they have been modified.
Now we must edit the configuration file, for this we click on the â€œConfigâ€ button on the Apache line and select â€œApache (httpd.conf)â€:
The file will open and there we change the port to the new one in the following lines:
Listen 80ServerName localhost: 80
Now we change the second port (SSl Port) by opening the file â€œApache (httpd-ssl.conf)â€:
There we change port 443 for the desired one on the lines:
Listen 443 <VirtualHost _default_: 443> ServerName www.example.com:443
If we update the panel the error will be eliminated.
2. How to configure XAMPP in Windows 10
The XAMPP Control Panel gives us some sections for administration.
Modules Section: there we find each of the modules that have been installed with XAMPP. We can click on â€œStartâ€ to start the desired service:
Once a service is started we find its PID and ports used in Windows 10, if we click on the â€œAdminâ€ button the respective manager will open, for example, if we click on MySQL Admin we will see the following:
On the right side of the XAMPP application as we have seen before, we find the Netstat button which displays the state of the network with three sections that are:
Each socket gives information of its address, port number, PID and associated name. If we click on the Shell line we will access the XAMPP console:
The Explorer and Services button will open both the Windows 10 File Explorer and the services console:
3. How to troubleshoot problems with XAMPP in Windows 10
TechnoWikis will explain some of the most common problems with XAMPP, be it startup or execution.
If XAMPP does not run, this may be due to the Apache World Wide Publishing service which runs on port 8. In this case we can uninstall the publishing service or edit its port..
If we want to uninstall it we will go to the following route:
- Programs and characteristics
We click on the line "Activate or deactivate Windows features"
In the side panel and in the pop-up window we locate the "Internet Information Services" section and there we deactivate the "World Wide Web Services" box:
Click on OK and wait for the process to complete. Then we restart the computer and access XAMPP.
If you wish to edit the default port, we will repeat the process mentioned above when the Apache error occurred by editing the httpd.conf file..
As Windows 10 users we have the possibility of manually stopping the World Wide Web service, for this we use the Windows + R keys and execute â€œservices.mscâ€ and press Enter. In the administrator we locate the service in question, right click on it and select Stop.
4. How to increase PHP load in XAMPP Windows 10
XAMPP by default sets a default database load limit in PHP which may be short based on the amount of data to use.
The default value is 2048 KiB, to edit this value we go to the XAMPP panel and click on the Explorer button:
There we will go to the PHP folder and locate the php.ini file:
We open this file with some text editor and we must change the following values â€‹â€‹for the new value to be set:
5. How to modify the phpMyAdmin password in XAMPP Windows 10
When installing phpMyAdmin, by default "root" will be used as a username without a password which is a security flaw TechnoWikis advises to establish a secure password for the database.
To assign a password we click on the MySQL Admin button in the XAMPP panel:
In the console we will go to the â€œUser accountsâ€ tab and click on the â€œEdit privilegesâ€ line of the root user:
We will see the following. We click on â€œChange passwordâ€
Enter the new password:
We save the changes by clicking on Go:
6. How to fix access errors denied to phpMyAdmin in XAMPP Windows 10
It is possible to modify the message settings in phpMyAdmin from the config.inc.php file.
To do this, click on the Explore button from the XAMPP panel and go to the phpMyAdmin folder, there we locate the file â€œconfig.inc.phpâ€:
We proceed to open it with some text editor and we will locate the following section: â€œAuthentication type and infoâ€:
There we will edit the following:
$ cfg ['Servers'] [$ i] ['auth_type'] = 'config'; we change config to cookie $ cfg ['Servers'] [$ i] ['AllowNoPassword'] = true; we change true to false
We save the changes to the file.
With these steps you have not only learned to install XAMPP on Windows 10 but to solve their most common problems.