| OfficeRay 1.2 For Webforms & Web Applications |
![]()
Xampp is a software for running a web database server in your PC (localhost). Xampp is based on Apache, Php, Mysql, PhpMyAdmin and a few other softwares (e.g. FTP & Mail server).
Download the software from Xampp homepage. Choosing a version to install can be confusing, hence pick the version that I use for this tutorial, which is:
xampp-win32-1.6.8-installer.exe (38Mb).
Once downloaded, click the exe file to install xampp.
![]() |
Choose language. |
![]() |
Click Next to continue. |
![]() |
Choose where to install xampp. I usually choose: Note: you should not install in a subdirectory. It must be installed directly under C:\ or D:\ |
![]() |
Leave the default as is. Click install. |
![]() |
Click Finish. |
![]() |
"Congratulation! The installation was successful. Start the Xampp Control Panel Now?" Click Yes. |
![]() |
Xampp Control Panel: - Click Start for apache (red circle) - Click Start for mysql (green circle) - Leave Filezilla and Mercury as is (do not start them).- There is no start button for Php. It is automatically started when Apache starts. |
| Note: The control panel can also be launched from Windows Start button at:- Start/All Programs/Apache Friend/Xampp/Xampp Control Panel. |
|
![]() |
IF WinXp firewall ask to unblock apache program, click Unblock |
![]() |
IF WinXp firewall ask to unblock mysql program (mysqld), click Unblock |
![]() |
Once apache and mysql running, you can see the word 'running' (red circle) |
|
Note: Many softwares that use port 80 (e.g. Skype) will cause problem to start apache. This is because Apache also uses port 80. To solve this, close skype and start apache again. |
|
![]() |
Now, open your browser, type:- http://localhost (red circle) and press enter, you will see xampp logo and language selection. |
![]() |
The welcome screen! Installation is complete! |
|
How to Start Xampp Automatically When Win Xp Starts At this point, you have successfully run xampp with apache, mysql and php. Now, we need to run xampp as a service so it is started automatically whenever Windows XP starts. Follow guide below. Note: if you are happy to start xampp manually everytime Win XP starts, then you do not need to do the following guide. |
|
![]() |
To run xampp as a service, first stop both apache and mysql. |
![]() |
- Click the Svc checkbox next to apache (red circle) - Click the Svc checkbox next to mysql (green circle) |
![]() |
Click OK to install the apache service. |
![]() |
Click OK to install the mysql service. |
![]() |
From here, the best thing to do is to restart Windows XP. Once restarted, xampp will run automatically as a service. |
Notes about Security.
Most Xampp installation is for development purpose and it is installed in your PC (installed locally). Usually your PC is already protected by antivirus program and safely sit behind a NAT firewall of your DSL/Broadband modem or router. Hence there is no need to worry about xampp security.
Once your php project is finished, it is usually transferred to a production server via FTP. The production server is usually a webhosting account from a webhosting company.
You might also interested in:-
Comments