XAMPP is a free and simple software that helps you to set up a local web server on your Windows computer. It includes Apache, which helps run websites; MySQL, which is used to manage databases; and PHP and Perl, which are programming languages used for building websites. It makes it easy for developers to test and work on their websites on their computers before making them available online. It also comes with a tool called phpMyAdmin, which helps you manage databases easily, and a simple control panel where you can start and stop the different services like the web server and the database.
Features of XAMPP
It comes with Apache, allowing you to host local websites and test them.
You will get MySQL to manage your databases & It supports both PHP and Perl.
You can run it from a USB drive, making it portable and convenient for on-the-go use.
The user-friendly control panel lets you manage your server, databases, and services easily.
It is quicker to install and requires very less configuration to get started.
It includes FileZilla FTP for file transfers between your computer and the server.
You will get Mercury Mail for testing email functionality locally.
It also includes Apache Tomcat for running Java-based web applications.
phpMyAdmin is included, so you can easily manage your MySQL databases through a web interface.
System Requirements for Installing XAMPP on Windows
- Operating System: Windows 11, 10, 8, 7
- Processor: 1 GHz or faster
- RAM: Minimum 2 GB RAM
- Disk Space: At least 1 GB of free disk space
Configuring XAMPP for Optimal Performance on Windows
- Increase PHP memory limit for better script execution.
- Adjust the maximum execution time for PHP scripts.
- Enable PHP caching for improved performance.
- Adjust file upload limits based on project needs.
- Increase MySQL buffer size to utilize more system memory.
- Increase the maximum number of MySQL connections.
- Enable query cache in MySQL for faster database queries.
- Adjust the maximum number of KeepAlive requests in Apache.
- Increase the Apache timeout value for better server response time.
- Enable compression in Apache for faster content delivery.
- Set up strong security measures for phpMyAdmin and XAMPP.
- Set up SSL/TLS for secure HTTPS connections in Apache.
- Disable directory listing in Apache to prevent unauthorized access.
- Disable unnecessary startup programs in Windows to free system resources.
- Set your Windows Power Plan to “High Performance” to boost system speed.
- Increase virtual memory to improve memory management.
- Keep XAMPP up to date.
How to Download and Install XAMPP on Windows?
To install it on Windows, follow these simple steps. It is an easy-to-use tool that includes Apache, MySQL, PHP, and Perl, which are needed for web development. After installing it, you can use it to run websites on your computer and test your apps. Here’s how to set it up:
Name | XAMPP |
Category | open-source program |
Last update | 7 days ago |
Operating System | Windows |
Language | English |
Size | 150.3 mb |
Download | 800 million |
- Download the latest version for Windows.
- Run the installer once the download is complete.
- Choose which components to install.
- Pick an installation location.
- Click Next, then Install to begin the installation.
- Wait for the process to finish.
- Once done, click Finish to close the installer.
- Open the XAMPP Control Panel from the Start menu or the installation folder.
- In the control panel, click Start next to Apache and MySQL to start the servers.
- Open a browser and visit http://localhost to check if it’s working properly.
How to Enable/Disable XAMPP Modules on Windows?
This tool that is commonly used to create and test websites on your computer. It comes with different programs, like Apache, which helps run a web server, and MySQL, which helps manage databases. These programs, along with others, are included in XAMPP. You can easily turn them on or off using the XAMPP Control Panel. This is where you can start or stop services like Apache, MySQL, and FileZilla. Additionally, you can set up some of these programs to automatically start when you turn on your computer. If needed, you can also change how these programs work by editing their settings in special files. This gives you control over which parts of XAMPP are active, making sure your computer only uses the parts you need.
Open the XAMPP Control Panel.
Click “Start” next to a module to enable it.
Click “Stop” next to a module to disable it.
For advanced settings, edit the configuration files in the XAMPP directory.
To set modules to run as services, go to “Config” in the Control Panel and choose “Service and Port Settings.”
Check the module status in the Control Panel to see if it’s running or stopped.
How to use XAMPP on Windows to host a website?
XAMPP allows you to host websites on your computer, which is great for testing and developing your site. It includes everything you need, like Apache, MySQL, and PHP, so you can run a website locally without needing an outside hosting service. This makes it easy to make changes and test your site without it being live on the internet. It also helps you set up a server like the one your website will use so you can fix any issues before going online. You can even host multiple websites on your computer at once, which is useful if you’re working on more than one project. Also is free and easy to set up, making it a simple way for developers to work on websites locally.
- Download and install XAMPP.
- Open the XAMPP Control Panel and start Apache and MySQL.
- Go to the C:\xampp\htdocs folder on your computer.
- Create a new folder inside htdocs for your website files.
- Place your HTML, CSS, and other website files into the new folder.
- Open your web browser and go to http://localhost/ to check if XAMPP is working.
- Visit http://localhost/your-folder-name to see your website.
- Use phpMyAdmin (by going to http://localhost/phpmyadmin/) to manage databases if needed.
- Update your website’s scripts to connect to MySQL if required.
- To access your site from other devices, find your local IP address and enter it in the browser.
XAMPP Security Tips for Windows Users
- Change the default XAMPP passwords to strong ones.
- Disable unnecessary services like FileZilla, Mercury Mail, or Tomcat.
- Ensure your Windows firewall is enabled to block unauthorized access.
- Restrict access to phpMyAdmin with HTTP authentication or IP whitelisting.
- Disable the XAMPP security page in production environments.
- Set correct folder permissions for sensitive directories and files.
- Change the default XAMPP port numbers to non-standard ones.
- Regularly update XAMPP and all its components to the latest versions.
- Use SSL/TLS for secure connections, especially for web traffic.
- Restrict Apache access to trusted IP addresses.
- Disable directory listing in Apache configuration.
- Perform regular backups of your databases and web files.
Troubleshoot, XAMPP Installation Issues on Windows
- Apache and MySQL Not Starting: Change the ports for Apache and MySQL, run XAMPP as Administrator, disable firewall/antivirus temporarily, and reinstall XAMPP if the issue persists.
- Not Opening: Restart your computer, update to the latest version, and reinstall by uninstalling and reinstalling XAMPP.
- MySQL Shutdown Unexpectedly: Rename or back up the data folder in xampp/mysql/data, check MySQL error logs for specific issues, and change the MySQL port in my.ini.
- PHP Not Working: Ensure PHP is installed in xampp/php, check PHP error logs in the php folder, verify the PHP module is loaded in httpd.conf, and check file permissions for PHP files.
- Windows Defender blocking XAMPP: Add an exception for the XAMPP directory in Windows Defender and temporarily disable Windows Defender to check if it resolves the issue.
- Access Denied Errors: Run XAMPP as Administrator and check folder permissions for full access.
Conclusion
It is an easy tool to set up a web server on your Windows computer. It includes everything you need for web development, like Apache, MySQL, PHP, and Perl, along with tools like phpMyAdmin and FileZilla. It’s perfect for developers who want to create and test websites or apps on their computers before sharing them online. It is simple to install, doesn’t take up much space, and can be used on the go. While it’s safe for local use, it’s important to follow security tips and keep XAMPP updated. If you have any problems, they’re easy to fix, making it a great choice for web development on Windows.
FAQs
From Wikipedia, the free encyclopedia
Not to be confused with XMPP.
XAMPP
Initial release | September 4, 2002; 22 years ago[1] |
---|---|
Stable release |
8.2.12 |
Repository | sourceforge |
Operating system |
|
Platform | IA-32 (Windows package only) and x64 (macOS and Linux packages only) |
Size |
|
Available in | 11 languages[citation needed] |
List of languages English, German, French, Dutch, Polish, Italian, Norwegian, Spanish, Chinese, Brazilian Portuguese, Japanese |
|
Type | Solution stack |
License | GNU General Public License |
Website | www |
XAMPP ( or ) is a free and open-source cross-platform web server solution stack package developed by Apache Friends, consisting mainly of the Apache HTTP Server, MariaDB database, and interpreters for scripts written in the PHP and Perl programming languages.[2][3] Since most actual web server deployments use the same components as XAMPP, it makes transitioning from a local test server to a live server possible.
XAMPP’s ease of deployment means a WAMP or LAMP stack can be installed quickly and simply on an operating system by a developer, with the advantage that common add-in applications such as WordPress and Joomla! can also be installed with similar ease using Bitnami.
The Apache Friends website indicates that XAMPP stands for «XAMPP Apache + MariaDB + PHP + Perl», making it a recursive acronym. XAMPP formerly used MySQL, but this was replaced with MariaDB on 19 October 2015 and beginning with XAMPP versions 5.5.30 and 5.6.14,[4] altering the meaning of the acronym. It originally stood for Cross-Platform + Apache + MySQL + PHP + Perl.
XAMPP requires only one zip, tar, 7z, or exe file to be downloaded and run, and little or no configuration of the various components that make up the web server is required. The Windows version of XAMPP requires Microsoft Visual C++ 2017 Redistributable.
XAMPP is regularly updated to the latest releases of Apache, MariaDB, PHP and Perl. It also comes with a number of other modules, including OpenSSL, phpMyAdmin, MediaWiki, Joomla, WordPress and more.[5] Self-contained, multiple instances of XAMPP can exist on a single computer, and any given instance can be copied from one computer to another.[6] XAMPP is offered in both a full and a standard version (Smaller version).[6]
The most obvious characteristic of XAMPP is the ease at which a WAMP webserver stack can be deployed and instantiated.[7] Later, some common packaged applications that could be easily installed were provided by Bitnami.[8]
Officially, XAMPP’s designers intended it for use only as a development tool, to allow website designers and programmers to test their work on their own computers without any access to the Internet. To make this as easy as possible, many important security features are disabled by default.[9] XAMPP has the ability to serve web pages on the World Wide Web.[10] A special tool is provided to password-protect the most important parts of the package.[11]
XAMPP also provides support for creating and manipulating databases in MariaDB and SQLite, among others.
Once XAMPP is installed, it is possible to treat a local host like a remote host by connecting using an FTP client. Using a program like FileZilla has many advantages when installing a content management system (CMS) like Joomla or WordPress[further explanation needed]. It is also possible to connect to localhost via FTP with an HTML editor.
Components included with XAMPP 8.2.12[12]
Component | On Windows | On Linux | On macOS |
---|---|---|---|
Apache 2.4.58 | Yes | Yes | Yes |
MariaDB 10.4.32 | Yes | Yes | Yes |
PHP 8.2.12 | Yes | Yes [13] | Yes [13] |
phpMyAdmin 5.2.1 | Yes | Yes | Yes |
OpenSSL 3.1.3 | Yes | Yes | Yes |
Webalizer | Yes — 2.23-04 | Yes — 2.23-05 | Yes — 2.23-05 |
FileZilla FTP Server 0.9.41 | Yes | No | No |
Mercury Mail Transport System 4.63 | Yes | No | No |
Strawberry Perl 5.32.1.1 Portable | Yes | No | No |
Tomcat 8.5.96 (with mod_proxy_ajp as connector) | Yes | No | No |
XAMPP Control Panel 3.2.4 | Yes | No | No |
APR 1.5.2 | No | Yes | Yes |
APR-utils 1.5.4 | No | Yes | Yes |
cUrl 7.53.1 | No | Yes | Yes |
expat 2.0.1 | No | Yes | Yes |
FPDF 1.7 | No | Yes | Yes |
FreeTDS 0.91 | No | Yes | Yes |
Freetype2 2.4.8 | No | Yes | Yes |
GD 2.2.5 | No | Yes | Yes |
gdbm 1.8.3 | No | Yes | Yes |
gettext 0.19.8.1 | No | Yes | Yes |
ICU4C Library 66.1 | No | Yes | Yes |
IMAP C-Client 2007e | No | Yes | Yes |
libapreq 2.13 | No | Yes | Yes |
libpng 1.6.37 | No | Yes | Yes |
libxml 2.0.1 | No | Yes | Yes |
libxslt 1.1.33 | No | Yes | Yes |
mcrypt 2.5.8 | No | Yes | Yes |
mhash 0.9.9.9 | No | Yes | Yes |
Ming 0.4.5 | No | Yes | Yes |
mod_perl 2.0.8-dev | No | Yes | Yes |
ncurses 5.9 | No | Yes | Yes |
OpenLDAP (client) 2.4.48 | No | Yes | Yes |
pdf class 0.11.7 | No | Yes | Yes |
Perl 5.34.1 | No | Yes | Yes |
ProFTPD 1.3.6 | No | Yes | Yes |
Sablotron 1.0.3 | No | Yes | Yes |
zlib 1.2.11 | No | Yes | Yes |
Major component versions
XAMPP | Apache | MariaDB | PHP | Ref |
---|---|---|---|---|
8.0.0 | 2.4.46 | 10.4.17 | 8.0.0 | [14] |
8.0.1 | 2.4.46 | 10.4.17 | 8.0.1 | [15] |
8.0.2 | 2.4.46 | 10.4.17 | 8.0.2 | [16] |
8.0.3 | 2.4.46 | 10.4.18 | 8.0.3 | [17] |
8.0.5 | 2.4.47 | 10.4.18 | 8.0.5 | [18] |
8.0.6 | 2.4.47 | 10.4.19 | 8.0.6 | [19] |
8.0.7 | 2.4.48 | 10.4.19 | 8.0.7 | [20] |
8.0.8 | 2.4.48 | 10.4.20 | 8.0.8 | [21] |
8.0.9 | 2.4.48 | 10.4.20 | 8.0.9 | [22] |
8.0.10 | 2.4.48 | 10.4.21 | 8.0.10 | [23] |
8.0.11 | 2.4.51 | 10.4.21 | 8.0.11 | [24] |
8.0.13 | 2.4.51 | 10.4.22 | 8.0.13 | [25] |
8.0.14 | 2.4.52 | 10.4.22 | 8.0.14 | [26] |
8.0.15 | 2.4.52 | 10.4.22 | 8.0.15 | [27] |
8.0.17 | 2.4.52 | 10.4.24 | 8.0.17 | [28] |
8.0.18 | 2.4.53 | 10.4.24 | 8.0.18 | [29] |
8.0.19 | 2.4.53 | 10.4.24 | 8.0.19 | [30] |
8.0.25 | 2.4.54 | 10.4.27 | 8.0.25 | [31] |
8.0.28 | 2.4.56 | 10.4.28 | 8.0.28 | [32] |
8.1.0 | 2.4.51 | 10.4.22 | 8.1.0 | [33] |
8.1.1 | 2.4.52 | 10.4.22 | 8.1.1 | [34] |
8.1.2 | 2.4.52 | 10.4.22 | 8.1.2 | [35] |
8.1.4 | 2.4.52 | 10.4.24 | 8.1.4 | [36] |
8.1.5 | 2.4.53 | 10.4.24 | 8.1.5 | [37] |
8.1.6 | 2.4.53 | 10.4.24 | 8.1.6 | [38] |
8.1.10 | 2.4.54 | 10.4.24 | 8.1.10 | [39] |
8.1.12 | 2.4.54 | 10.4.27 | 8.1.12 | [40] |
8.1.17 | 2.4.56 | 10.4.28 | 8.1.17 | [41] |
8.2.0 | 2.4.54 | 10.4.27 | 8.2.0 | [42] |
8.2.4 | 2.4.56 | 10.4.28 | 8.2.4 | [43] |
8.2.12 | 2.4.58 | 10.4.32 | 8.2.12 | [44] |
- Comparison of web server software
- Lighttpd
- List of Apache–MySQL–PHP packages
- ^ «XAMPP». SourceForge. 9 April 2023.
- ^ «New XAMPP with MariaDB». apachefriends.org. 19 October 2015. Archived from the original on 2015-11-19. Retrieved 19 November 2015.
- ^ «An easy to install Apache distribution containing MySQL, PHP, and Perl«. SourceForge. Archived from the original on 2015-06-06. Retrieved 2015-06-07.
- ^ «New XAMPP with MariaDB». Apache Friends. Archived from the original on 2016-04-12. Retrieved 2016-03-12.
- ^ «XAMPP Addons list». Apache Friends. 2015-04-21. Archived from the original on 2015-03-22. Retrieved 2015-04-21.
- ^ a b «How to install XAMPP Software«. Masunduh II. 2015-04-21. Archived from the original on 2015-07-09. Retrieved 2015-04-21.
- ^ Gralla, Gabe (2011-04-22). «XAMPP for Windows». PCWord. IDG. Archived from the original on 2017-08-28. Retrieved 2018-10-18.
- ^ «Bitnami for XAMPP». Apache Friends. Archived from the original on 2018-06-23. Retrieved 2018-10-18.
- ^ «apache friends — xampp for windows». Apachefriends.org. Archived from the original on 2008-12-19. Retrieved 2008-12-19.
- ^ «Where XAMPP is used commonly and what it can do.«. Owusu-Ansah Godfred. Archived from the original on 2015-06-19. Retrieved 2012-04-30.
- ^ «XAMPP for Linux». Archived from the original on 2012-05-01. Retrieved 2012-04-30.
- ^ «Apache Friends». Apache Friends. 2023-11-19. Retrieved 2023-11-25.
- ^ a b With PEAR + SQLite 2.8.17/3.38.5 + multibyte (mbstring) support
- ^ «Apache Friends — XAMPP 8.0.0 Download». Apache Friends. 2020-12-04. Archived from the original on 2019-11-28. Retrieved 2020-12-04.
- ^ «Apache Friends — XAMPP 8.0.1 Download». Apache Friends. 2021-01-19. Archived from the original on 2019-11-28. Retrieved 2021-01-20.
- ^ «Apache Friends — XAMPP 8.0.2 Download». Apache Friends. 2021-02-09. Archived from the original on 2019-11-28. Retrieved 2021-02-10.
- ^ «Apache Friends — XAMPP 8.0.3 Download». Apache Friends. 2021-03-13. Archived from the original on 2019-11-28. Retrieved 2021-03-13.
- ^ «Apache Friends — XAMPP 8.0.5 Download». Apache Friends. 2021-05-04. Archived from the original on 2019-11-28. Retrieved 2021-05-04.
- ^ «Apache Friends — XAMPP 8.0.6 Download». Apache Friends. 2021-05-11. Archived from the original on 2019-11-28. Retrieved 2021-05-11.
- ^ «Apache Friends — XAMPP 8.0.7 Download». Apache Friends. 2021-06-08. Archived from the original on 2019-11-28. Retrieved 2021-06-08.
- ^ «Apache Friends — XAMPP 8.0.8 Download». Apache Friends. 2021-07-09. Archived from the original on 2019-11-28. Retrieved 2021-07-13.
- ^ «Apache Friends — XAMPP 8.0.9 Download». Apache Friends. 2021-08-03. Archived from the original on 2019-11-28. Retrieved 2021-08-06.
- ^ «Apache Friends — XAMPP 8.0.10 Download». Apache Friends. 2021-09-03. Archived from the original on 2019-11-28. Retrieved 2021-09-06.
- ^ «Apache Friends — XAMPP 8.0.11 Download». Apache Friends. 2021-10-08. Archived from the original on 2019-11-28. Retrieved 2021-10-09.
- ^ «Apache Friends — XAMPP 8.0.13 Download». Apache Friends. 2021-11-25. Archived from the original on 2019-11-28. Retrieved 2021-11-26.
- ^ «Apache Friends — XAMPP 8.0.14 Download». Apache Friends. 2021-12-23. Archived from the original on 2019-11-28. Retrieved 2021-12-23.
- ^ «Apache Friends — XAMPP 8.0.15 Download». Apache Friends. 2021-12-23. Archived from the original on 2021-11-22. Retrieved 2022-01-24.
- ^ «Apache Friends — XAMPP 8.0.17 Download». Apache Friends. 2022-03-18. Archived from the original on 2021-11-22. Retrieved 2022-03-19.
- ^ «Apache Friends — XAMPP 8.0.18 Download». Apache Friends. 2022-04-20. Archived from the original on 2021-11-22. Retrieved 2022-04-21.
- ^ «Apache Friends — XAMPP 8.0.19 Download». Apache Friends. 2022-05-16. Archived from the original on 2021-11-22. Retrieved 2022-05-16.
- ^ «Apache Friends — XAMPP 8.0.25 Download». Apache Friends. 2022-11-22. Archived from the original on 2021-11-22. Retrieved 2022-11-25.
- ^ «Apache Friends — XAMPP 8.0.28 Download». Apache Friends. 2023-04-08. Archived from the original on 2021-11-22. Retrieved 2023-04-08.
- ^ «Apache Friends — XAMPP 8.1.0 Download». Apache Friends. 2021-12-16. Archived from the original on 2019-11-28. Retrieved 2021-12-16.
- ^ «Apache Friends — XAMPP 8.1.1 Download». Apache Friends. 2021-12-23. Archived from the original on 2019-11-28. Retrieved 2021-12-23.
- ^ «Apache Friends — XAMPP 8.1.2 Download». Apache Friends. 2021-12-23. Archived from the original on 2021-11-22. Retrieved 2022-01-24.
- ^ «Apache Friends — XAMPP 8.1.4 Download». Apache Friends. 2022-03-18. Archived from the original on 2021-11-22. Retrieved 2022-03-19.
- ^ «Apache Friends — XAMPP 8.1.5 Download». Apache Friends. 2022-04-20. Archived from the original on 2021-11-22. Retrieved 2022-04-21.
- ^ «Apache Friends — XAMPP 8.1.6 Download». Apache Friends. 2022-05-16. Archived from the original on 2021-11-22. Retrieved 2022-05-16.
- ^ «Apache Friends — XAMPP 8.1.10 Download». Apache Friends. 2022-10-01. Archived from the original on 2021-11-22. Retrieved 2022-10-01.
- ^ «Apache Friends — XAMPP 8.1.12 Download». Apache Friends. 2022-11-22. Archived from the original on 2021-11-22. Retrieved 2022-11-25.
- ^ «Apache Friends — XAMPP 8.1.17 Download». Apache Friends. 2023-04-08. Archived from the original on 2021-11-22. Retrieved 2023-04-08.
- ^ «Apache Friends — XAMPP 8.2.0 Download». Apache Friends. 2022-11-22. Archived from the original on 2021-11-22. Retrieved 2022-12-29.
- ^ «Apache Friends — XAMPP 8.2.4 Download». Apache Friends. 2023-04-08. Archived from the original on 2021-11-22. Retrieved 2023-04-08.
- ^ «Apache Friends — XAMPP 8.2.12 Download». Apache Friends. 2023-11-19. Archived from the original on 2021-11-22. Retrieved 2023-11-25.
- Official website
XAMPP — бесплатный кроссплатформенный дистрибутив для сборки локального веб-сервера. Содержит Apache, MariaDB, язык программирования Perl, интерпретатор скриптов PHP и дополнительные библиотеки. Имеет открытый исходный код, простой в установке и использовании.
Название является акронимом:
- X — кроссплатформенность, то есть сборка подходит для всех ОС;
- A — веб-сервер Apache2;
- M — база данных MariaDB;
- P — интерпретатор языка PHP;
- P — Strawberry Perl, одна из реализаций языка Perl.
XAMPP позволяет даже новичку быстро развернуть веб-сервер на любой операционной системе без финансовых затрат. Также разработчики могут использовать сборку для тестирования работы веб-страниц и сайтов до внесения изменения в основной проект.
Что включает в себя XAMPP
В сборке содержатся все компоненты, необходимые для комфортного использования. Они работают сообща.
- Apache2 — веб-сервер, который поддерживают все операционные системы (Mac, Linux, Windows);
- MariaDB — база данных, аналог MySQL;
- PHP — интерпретатор PHP, используется актуальная стабильная версия;
- Perl — язык программирования. В XAMPP входит его реализация под названием Strawberry Perl;
- phpMyAdmin — веб-интерфейс для управления сайтом и базой данных, выглядит как простая веб-страница, открывается в браузере;
- OpenSSL — библиотека для работы с SSL (для HTTPS);
- XAMPP Control Panel — панель управления XAMPP, через которую происходит запуск, остановка и настройка компонентов. С помощью XAMPP Control Panel можно быстро получить доступ к различным конфигурационным и лог-файлам;
- Webalizer — программа для чтения логов веб-сервера, генерирует HTML-страницу со статистикой работы веб-сервера и событиями;
- Mercury Mail Transport System — почтовый сервер;
- FileZilla FTP Server — файловый сервер;
- Tomcat — контейнер серверов, используется для разработки на Java.
Большое количество компонентов обусловлено универсальностью XAMPP, но не является необходимым большинству разработчиков, особенно новичкам.
Как работают сайты
Все сайты работают по следующей схеме:
- Пользователь открывает браузер и вводит адрес сайта, после чего происходит запрос на сервер.
- На сервере запущена программа (веб-сервер Apache2), которая работает постоянно в фоновом режиме и «слушает» порты 80 и 443, чтобы не пропустить запрос от пользователя.
- После того как поступит запрос, веб-сервер его принимает и начинает обрабатывать, запуская PHP-интерпретатор (который, в отличие от программы веб-сервера, запускается только тогда, когда это необходимо).
- Далее PHP обращается к MariaDB и формирует веб-страницу, содержащую всю запрошенную пользователем информацию, передает ее веб-серверу, который отправляет эту страницу браузеру пользователя.
Как пользоваться XAMPP
Чтобы установить XAMPP, нужно скачать на сайте разработчика zip-файл, в котором содержится инсталлятор, а затем запустить его от имени администратора. Все, что осталось сделать, — пройтись по шагам, подтвердить установку и ждать, пока она завершится.
Если установка происходит в Linux, то файл необходимо запустить командами:
chmod u+x ~/Downloads/xampp-linux-x64-installer.run
Эта команда разрешит скачанному файлу исполняться в Linux.
sudo ~/Загрузки/xampp-linux-x64-installer.run
Эта команда запустит файл установки от имени администратора.
После запуска откроется панель управления XAMPP.
Ее интерфейс простой и понятный, поэтому работать с XAMPP не сложно.
Продукт существует больше 10 лет. Комьюнити пользователей и разработчиков обеспечивает поддержку и быстрое решение проблем, которые могут появиться во время эксплуатации продукта. Возникающие вопросы можно задавать на форуме.
Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!
We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!
Learn from Guru Rajesh Kumar and double your salary in just one year.
Get Started Now!
XAMPP is an acronym that stands for Cross-Platform, Apache, MySQL, PHP, and Perl, with the Ps standing for PHP and Perl, respectively. It’s an open-source web-solutions kit that provides Apache delivery for a variety of servers and command-line executables, as well as Apache api, MariaDB, PHP, and Perl modules.
Until releasing a website or client to the main cloud, XAMPP allows a local host or server to validate it on computers and laptops. It is a framework that provides a suitable environment for testing and verifying the functionality of projects based on Apache, Perl, MySQL, and PHP using the host’s framework. Perl is a web creation programming language, PHP is a backend scripting language, and MariaDB is MySQL’s most widely used database. The following is a brief overview of these elements.
XAMPP stands for eXtremely Accelerated Multi-Processing Packet Processing (A) Apache server, (M) MariaDB, (P) PHP, and (P) Perl. X stands for Cross-platform, (A) Apache server, (M) MariaDB, (P) PHP, and (P) Perl. The term “cross-platform” typically refers to the ability to run on any device, regardless of operating system.
Following that, The MYSQL team created MariaDB, which is the most well-known database server. PHP usually has a section for web creation. PHP is a scripting language that runs on the computer. Perl, on the other hand, is a programming language that is used to build web applications.
The XAMPP installation procedure is straightforward and fast. XAMPP serves as a local server or localhost until it is installed on the local computer. Before adding the websites to the remote web server, you should verify them. On a local machine, the XAMPP server programme provides a suitable platform for checking MYSQL, PHP, Apache, and Perl programmes.
What are the Main Tools of XAMPP?
- Apache :- The Apache server is free open-source software that was created by a community of programmers and is now maintained by the Apache Software Foundation. When a browser requests data, images, or records, HTTP servers serve those files to clients. This technology is mostly used by hosting companies to build VPS and shared hosting for their customers.
- MYSQL :- MYSQL is a free and open-source database management system. It’s a relational database management system, to be precise (RDBMS). Structured Query Language (SQL) is the acronym for Structured Query Language. It is the most widely used and best RDBMS for developing web-based software applications. MYSQL allows you to organise content, handle it, retrieve it, and refresh it anytime you want.
- PHP :- PHP is a common backend scripting language for web creation. Users may use PHP to create complex websites and applications. It supports a range of database management systems and can be deployed on any computer. It was written in the C programming language. Hypertext Processor (PHP) is an acronym for Hypertext Preprocessor. It is said to have been inspired by Personal Home Page resources, which describes its ease of use and accessibility.
- Perl :- Perl is also referred to as the “universal” programming language. This Perl language is complex and interpretable. This language is actually used for web creation, GUI development, system management, among other stuff. HTML, XML, and other markup languages are all supported by Perl. It’s a hybrid of Perl 5 and Perl 6, two high-level dynamic programming languages.
- MariaDB :- XAMPP used to have MySQL DBMS, but MariaDB has since taken its place. MySQL is one of the most commonly deployed relational database management systems. It provides data collection, manipulation, recovery, arrangement, and deletion services through the internet.
What are the file formats supports in XAMPP?
- .EXE – Since an executable file will operate on a machine as every other application, it is an extension used to describe executable files, making them easier to load.
- .7z – 7zip file – This extension is used to identify compressed files that use a variety of data compression and encryption algorithms. A formalist prefers it, despite the fact that it necessitates dealing with more complicated files.
- .ZIP – This extension allows for lossless file compression. Multiple compressed files can be found in a Zipped format. The Deflate algorithm is mostly used to compress files that are compatible with this format. The is the. When opposed to, ZIP files are more difficult to load. EXE is an executable file.
How to install XAMPP?
XAMPP was created to make setting up and running a development server on your local machine as simple as possible. There is a lot of XAMPP-like applications out there, but XAMPP is one of the most well-known.
XAMPP provides a number of helpful applications in addition to Apache, MySQL, Python, and Perl, including the phpMyAdmin database management tool, FileZilla FTP server, Mercury mail server, and Tomcat JSP server. As the server’s home screen, XAMPP can even mount an administration site.
Steps to install XAMPP On Windows:-
Step 1:- Go to the Google and search “XAMPP Download”.
Step 2:- Choose the first one www.apachefriends.org , please click on this and you will get the site for download.
Step 3:- please select the OS which you are using Windows, Linux, and Mac OS X. and click on the latest version of XAMPP to Download.
Step 4:- Now open the Downloaded File to Install XAMPP. Complete the Setup according to the given Image.
Step 5:- Then open the XAMPP software after installing it will look like this given Image. It Contains XAMPP Control Panel. Please click on the start button to Run the Server as given in picture.
Note:- Please allow the Access when you will get this allert to start the server.
The control panel contains various buttons like config, net stat, shell, explorer, services, help, quit.
- Config → It helps you to customise both the XAMPP and the individual components.
- Netstat → Allows you to see all the processes that are currently operating on your local machine.
- Shell → It enables opening UNIX shell.
- Explorer → It will launch Windows Explorer and open the XAMPP archive.
- Services → Assist in displaying all of the utilities that are actually active in the backend.
- Help → As the name suggests, it provides access to user forums.
- Quit → The XAMPP control panel will close when you press the button.
Step 6:- Go on your web browser and serch “LocalHost” to check the XAMPP software is running properly or not.
After getting this page you will make sure that you XAMPP software is running correctly.
Step 7:- If you wanna open the phpMyAdmin then Click on this button and you will get the phpMyAdmin page.
You’ve now successfully loaded XAMPP on your Windows machine.
I hope you now understand what XAMPP is and how to instal it on your localhost. I have discussed many things such as What is XAMPP, What are the Main Tools of XAMPP, What are the file formats supports in XAMPP and How to install XAMPP with the steps. So, I hope this will help you to understand what PHP language really is! Thank you for your interest.`
Certification Courses
DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:
- DevOps Certification — Learn the fundamentals and advanced concepts of DevOps practices and tools.
- DevSecOps Certification — Master the integration of security within the DevOps workflow.
- SRE Certification — Gain expertise in Site Reliability Engineering and ensure reliability at scale.
- MLOps Certification — Dive into Machine Learning Operations and streamline ML workflows.
- AiOps Certification — Discover AI-driven operations management for next-gen IT environments.
Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.
Что такое XAMPP и для чего он нужен?
XAMPP — сборка Web-сервера, в которой содержится набор приложений для полноценного функционирования сайта. При этом не требуется настройка каждого компонента по отдельности.
Сборка позволяет вести разработку на отдельном компьютере без подключения к сети. Соответственно, нет необходимости в высокоскоростном доступе в Интернет и наличии хостинга.
Проект кроссплатформенный, а это значит, что он одинаково хорошо работает на популярных платформах: Windows, Linux, Mac OS. Само название XAMPP – аббревиатура, которая расшифровывается следующим образом:
- X – обозначает, что сборка будет работать на всех операционных системах;
- Apache – веб-сервер, поддерживающий основные версии ОС, гибко настраиваемый и надёжный;
- MySQL – одна из самых известных систем управления базами данных;
- PHP – язык программирования, поддерживаемый почти всеми хостинг-провайдерами и лидер среди языков, используемых для создания веб-сайтов;
- Perl – лёгкий в освоении язык программирования, который, к тому же, поддерживает модули сторонних разработчиков.
Эта сборка отлично подойдёт начинающим веб-программистам. В ней есть всё, что может понадобиться для комфортной работы.
Где скачать?
Скачать XAMPP можно как с официального сайта, так и со сторонних ресурсов. Последнее крайне нежелательно, так как возможны проблемы в виде вирусов, кейлоггеров и дополнительно установленных программ.
В самом крайнем случае можно воспользоваться крупными сайтами-архивами, если в статусе файла стоит «проверено» и отзывы в целом положительные.
Проходим на официальный сайт сборки по адресу https://www.apachefriends.org. При нахождении в диапазоне IP-адресов стран СНГ произойдёт автоматический редирект на русскую версию сайта.
Следующий шаг – выбор операционной системы. Так как мы работаем в Windows, то и выбираем версию для этой ОС. Обратите внимание, что последние версии программы работают только с новыми операционными системами –Vista и выше, под XP или 2003 он просто не запустится.
На следующем этапе вам предложат выбрать директорию, куда будет скачиваться файл установки. На жёстком диске инсталлятор займёт 109 мегабайт, время скачивания зависит от вашей скорости соединения.
Установка XAMPP на ОС Windows
Запускаем инсталлятор и на стартовом окне жмём кнопку «Next».
Появится окно выбора устанавливаемых компонентов. Серым цветом отмечены неактивные чекбоксы (обязательные компоненты программы). Остальные – активны, но мы не будем ничего убирать, а оставим, по умолчанию. «Next».
Программа установки предложит выбрать место установки. По умолчанию это диск C:. Соглашаемся. «Next».
Далее установщик предложит посетить сайт веб-сервера. Соглашаться или нет – решать вам. В случае, если нужды в этом нет, просто снимите флажок с этого пункта.
Программа сообщит, что готова к установке и после нажатия кнопки «Next» запустится процесс распаковки.
Локальный сервер и firewall
Брандмауэр Windows предложит разрешить или запретить доступ к программе.
Если инсталлятор скачан с официального сайта, разрешаем.
Завершаем установку и настройку
Для запуска программы сразу после завершения установки осталось выполнить следующие действия:
- Оставить флажок «Запустить контрольную панель после завершения установки».
- Жмем «Finish».
Проверка работоспособности модулей и компонентов
После завершения установки откроется панель управления XAMPP.
Сразу же запускаем MySQL. Брандмауэр опять попросит разрешить или запретить программе доступ в сеть. Разрешаем.
Поочерёдно проверяем состояние Apache и MySQL. Для этого нажимаем кнопки «Admin» (1 и 2), после чего в браузере должны открываться панели управления сервера и базы данных.
CMS хостинг — выберите тариф хостинга, который подходит под Вашу систему управления сайтом.
Панель управления:
Скрипт для работы с базами данных PhpMyAdmin:
Проверяем работоспособность основных служб. Для этого рекомендуем в директории C:Xampphtdocs создать папку test. В блокноте напишите предложенный вариант коротенького скрипта на PHP и сохраните под именем index.php:
Теперь в любом браузере пройдите по адресу: http://localhost/test и, если всё сделано правильно, вы увидите надпись «Good Job».
На этом установка web-сервера XAMPP завершена.
iPipe – надёжный хостинг-провайдер с опытом работы более 15 лет.
Мы предлагаем:
- Виртуальные серверы с NVMe SSD дисками от 299 руб/мес
- Безлимитный хостинг на SSD дисках от 142 руб/мес
- Выделенные серверы в наличии и под заказ
- Регистрацию доменов в более 350 зонах