XAMPP is an Apache distribution containing MySQL, PHP and Perl, which allows these programs to install on your machine. In this illustrated tutorial explains how XAMPP and WordPress can be installed locally. The manual refers to Windows XP. In comparison to WAMP packages XAMPP is undoubtedly the most complete package. With XAMPP you get probably the easiest to install all-inclusive web package. It offers :
- File Server FTP (Filezilla)
- Incoming mail server and outgoing (Mercury)
- Perl
- SQLite Data Server
- HTTPS SSL for secure pages
- Access statistics (Webalizer)
There are two versions of this tool
1. XAMPP . It contains Apache, MySQL, PHP + PEAR, Perl, mod_php, mod_perl, mod_ssl, OpenSSL, phpMyAdmin, Webalizer, Mercury Mail Transport System for Win32 and NetWare Systems v3.32, JpGraph, FileZilla FTP Server, mcrypt, eAccelerator, SQLite, and WEB - DAV + mod_auth_mysql.
2. XAMPP Lite (version 1.7.4 yet, the latest version - 1.7.3). It contains Apache, PHP (without PEAR), MySQL, phpMyAdmin, OpenSSL, SQLite. It weighs less than the full version of XAMPP is almost 2-fold, namely-29,9 MB, but this build us more than enough to learn PHP.
How to install
Download XAMPP
- Run the file you just downloaded and click Next. When running the installation, the first thing you have to decide is where to store (I recommend leaving it in the folder which appears by default c: \ xampp). Location is important because that's where sites are physically located to be displayed on the server.
- Then select where you want to install Xampp Server and click Next
- On the next screen leave everything default and click Install
- When you reach on the XAMP Options page, read properly what you want and what you do not. Tick the boxes and click on Next.
- At the end of the installation you should have a message that the installation was successful, then click Finish.
- hen a window pops up reminding you of the success of the installation and offers to launch the Control PaneL. This Control Panel offers you to to start the service of your choice.
Launching Apache + MySQL
XAMPP Control PAnel
From the XAMPP control panel by pressing the Start / Stop, we can start or stop services: Apache, MySQL, Filezilla Server (FTP), Mercury (mail server). From the options Svc, you can set the mode of operation as a service, so that we can get Apache, MySQL, FileZilla and Mercury are installed in the system as complex services, which is very interesting because it would set mode services automatic, in case of server restart, restart services automatically, without any user intervention and without having to open session. To configure the automatic mode must right-click My Computer > Manage > Services and Applications > Services > Right click on the service (Apache 2.2, MySQL, FileZilla Server, Mercury)> Properties> Startup type> Automatic.
In the Control Panel of XAMPP you can see the listing of services. They are Apache, MySQL, FilleZilla, etc. Click on Start to run the service. If you want to start your mysql server, do the same with the line Mysql. To verify that your servers are properly launched when you click the Start button, you get the message Running in green in front of the server.
Now just save your site files in the folder c: \ xampp \ htdocs \ so they can be seen from http://localhost / in your browser. For example if I have the file c: \ xampp \ htdocs \ index.php, I'll be able to view from Internet Explorer or Firefox without problems http://localhost/index.php writing.
Bookmarks