Hampp allows you to create a local server for a wide variety of purposes. Server capabilities are configured through the xampp control panel.
Initially, when it was created, they focused on the use of developers for testing without the Internet. Today the program has other features, some functions are disabled to simplify the work. It is possible to create databases, SQLite.
Allows you to debug various scripts Pearl, PHP and others. It is much more convenient than analogues, since it is more mobile, a convenient interface allows you to quickly start and stop the web server.
Installation and configuration of all systems is carried out simultaneously. The process of installing xampp on a disk From your computer do not require special knowledge from the user.
Let’s look at a specific example of how to correctly and quickly install and configure xampp. The end point of the task will be the creation of a trial site, by this time all the settings will be completed.
First, create a folder, for example, on drive D. Give the test site a name. You can use the domain name of the future resource only without the use of dots and dashes. This is done so that the search robot can easily find the necessary file on the computer. So, we named our folder, here we copy xampp. It turns out that we have a copy of the program in which we will work. In case of an error, you do not have to delete everything and reinstall the program again, you can simply replace the file with the error.
In order to simplify the process of working in xampp, you need to move some files from the general list to the desktop. These files are subject to the most frequent changes. In the process, we will designate them.
Choose a working browser (experts recommend FireFox) and set it as the default one.
We begin the installation process. The user will see a control panel window where the following data will be shown at the bottom:
OS of your computer, applicable version of the panel
Some experts believe that the best use of XAMPP would be to install as a service. This solves some compatibility issues. Other masters prefer to use a web server without access to the Internet. In this paragraph, each user makes an independent choice.
In the window of the control panel, on the left, the Svc buttons are displayed, they allow you to start the program components in the form of services. If you do not need this, leave the windows blank. If you need to use it, select the necessary components to start from the list on the right.
We will launch Apache and MySql, which are necessary for us to work, we do not need other components at the moment. Next to the list there are start buttons, click them at the desired points. The installation has gone, the green button is on, the inscription “start” is replaced by the inscription “stop”. We work with the two voiced components above.
Each version of the control panel has its own differences. Some buttons may be added or removed here, but the main components remain unchanged. Choose what you need, you can simply ignore the other buttons.
Next, click on the “Admin” button. The program asks me to choose a language, do not look for Russian, it is not there, so we select English. Next, the main browser starts. There are two links in the welcome window that provide the opportunity to be certified and identify the browser address.
We proceed to accept the risk and then note “add exceptions.”
Further configuration of XAMPP will be done using links. They are located in the left column on the program pages.
Management of the future site will begin with “phpMyAdmin”. When clicking on the link, we will find the required fields. Here you must enter the name of the site database – the top line; encoding is the second line.
If the name of the site and the database is the same for you, then enter this data in the line under the name: New database. The second line allows you to select the encoding. We need to find the utf8_generai-ci line, select it and click the create button.
The base is created, you can proceed to further settings. In the upper panel we find the “Privileges” button, here we enter the users of this database. Each user has his own password.
The program has already created several users with the same names in automatic mode. In order to change the data, click on the “edit” button in the “actions” column. In the activity list, select the password change and enter the necessary data.
You can leave the data unchanged, but to work on the Internet it is better to generate a complex password. Generation option is provided on the editor page.
After confirming the password change, save using the “ok” button, a new name appears. In order to add a user, repeat the procedure from the beginning.
Removing unnecessary users can be very easy, put a checkmark in front of the required field, then simply delete the selected users. To do this, use the action graph.