155 total views
XAMPP is free and open source software that provides an easy way for web designers and developers to install the components to run PHP-based software, such as WordPress, Drupal, Joomla, and others on Windows. 10, Linux and macOS.
If you are a web developer or someone trying to get involved in blogging, XAMPP will save time and reduce the hassle of having to manually install and configure Apache, MySQL, PHP and Perl on the machine. calculator to create test environment.
In this guide, you will learn the steps to install XAMPP on Windows 10 as well as instructions for configuring the web environment and fixing some common problems after setup.
What makes XAMPP so special?
Here we are talking about the problem of installing Apache in Windows. You spend a lot of time setting up everything and starting your website running. The problem is that you cannot do anything with a static website unless you use SQL server. Then all you need to do is install the SQL server application but the PHP is missing. A missing list will be time consuming and complicated, especially for beginners.
For XAMPP, there you have an application that helps to install all that is needed to run a perfect website, the installation process is similar to the application in Windows. This service allows the computer to run Apache and everything else. Whenever the computer is started, the applications will run silently in the background and do not consume a lot of system resources.
How to install XAMPP on Windows 10
To download and install XAMPP on Windows 10, follow these steps:
1. Download XAMPP for Windows.
Quick note: If you have special version requirements for PHP, then download the version you need. If you don’t have a version requirement, download the oldest version as it can help you avoid problems installing PHP-based software. Also, these instructions have been tested and work for XAMPP version 7.3.22, as well as earlier versions, but you can also use them to install later versions.
2. Double-click the downloaded file to launch the installer.
3. Click the button OK.
4. Click the button Next.
5. XAMPP provides many different components that you can install, such as MySQL, phpMyAdmin, PHP, Apache etc. In most cases you will use most of these, because So, you should leave the default options.
6. Click the button Next.
7. Use the default installed location. (Or choose another folder to install the software in the field Select a folder).
8. Click the button Next.
9. Select the language for XAMPP Control Panel.
10. Click the button Next.
11. Delete options Learn more about Bitnami for XAMPP.
12. Click the button next 2 times.
13. Click the button Allow access to allow the application through Windows Firewall (if available).
14. Click the button Finish.
After you complete the steps, the XAMPP Control Panel will launch and you can begin configuring the web server environment.
How to configure XAMPP on Windows 10
XAMPP Control Panel consists of 3 main parts. In section ModulesYou will find all available web services. You can start each service by clicking button Start.
When you start several services, including Apache and MySQL, on the right side, you will also see the process ID number (PID) and the TCP / IP port number (Port) each service is using. For example, by default Apache uses TCP / IP ports 80 and 443, while MySQL uses TCP / IP ports 3306.
You can also click the button Admin to get access to the admin dashboard for each service and verify that everything is working correctly.
On the right side is a list of buttons for configuring various aspects of the dashboard, including buttons Config to configure which modules will automatically start when you start XAMPP.
Click the button Netstart will give you a list of the services currently accessing the network, including TCP / IP addresses and ports, as well as process ID information.
Additionally, from the control panel, there are also quick access buttons to open the shell command line utility, the XAMPP installation directory, services, and close the application.
Finally, you will see a log section where you can see what happens each time you start the module or change the settings. This is also the first place to look when something isn’t working.
The default setting will work for most people who use XAMPP to create a test environment running websites. However, depending on your setup configuration, you may need to change the TCP / IP port number for the Apache server, the size of the upload to the database, or set a password for phpMyAdmin.
To change these settings, you need to use the button Config for the corresponding service. For example, you’ll need to open the httpd.conf file to change the settings on the Apache server and the my.ini file to change the MySQL settings.
How to increase the upload size of phpMyAdmin on XAMPP
Another common issue with XAMPP is the default database upload limit. For example, many times developers will create a copy of a website for troubleshooting purposes, or work on the site without interrupting a live website. However, people using WordPress or another content management software will quickly find out that they cannot upload the database because it exceeds the maximum allowed upload size, by default 2048KB.
To increase the database upload limit on phpMyAdmin, follow these steps:
1. Open XAMPP Control Panel.
2. Click the button Explorer.
3. Open the folder php.
4. Open the php.ini file with any text editor.
5. Change the value for upload_max_filesize and post_max_size to the size you want. For example: post_max_size = 100M and upload_max_filesize = 100M to import database files up to 40MB.
6. Click the button Stop for MySQL and Apache.
7. Click the button Start to restart Apache and MySQL.
After completing the steps, you can now import large database files on phpMyAdmin.
#install #XAMPP #Windows