> In order to create and run PHP programs on your pc and before uploading them to hosts for worldwide connection, you need a local server.
> A server will help to enhance communication between scripts thus enabling your application run smoothly.
> For this purpose you need a software like Xampp or other options like Wampp but in this case we are going to use Xampp.
What is XAMPP
> Many applications developed from scratch or during large updation of PHP scripts require running them from local server like Xampp or Wampp.
> For beginners who want to Learn , execute and deal with programs involving databases, having a local server setup will be much proficient.
> To setup this local server and host platforms we require Xampp application which can be downloaded from this website Download Xampp here
> In this website, select the right package for your pc for example if it is for Mac, Windows 7, 8, 8.1 and for Linux.
> They are all available and just a one click will get you the software. Also ensure your package is an executable file for easy installation.
What is XAMPP made of?
Apache web server :
Apache web server is home to the XAMPP projects and this forms the actual web server application for which data is processed and delivered to a computer.
With PHP, you can connect to database and perform the databases operations like insert,delete,update and many more.
MySQL is mainly use for simplicity in storing website data for example user-names and passwords, it is better to have a database for reference. MySQL package in this case gives this provision and the part SQL is important in security and Querying as we will see in the preceding sections.
Hypertext Preprocessor (PHP), is a server-side scripting language that gives power our website locally in this case and globally when we host our website on world wide web.