As we already know 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.
Follow the steps given below to install XAMPP on your local computer.
Locate the downloaded programs i.e. XAMPP setup file :
> The best directory to get you to your downloaded program is downloads/programs and look for the Xampp executable file. Double-click it or :
Running program as an administrator :
> Right click on the icon of the XAMPP program (executable file) and select the option Run as administrator from the drop down list.
> Thereafter follow the instructions as provided in the program while installing. If an error occurs involving firewall prevention, clicks allow and the process shall continue.
> Optionally, disable any other anti-virus that may prevents your application from installing. Thereafter click “Next”.
> It’s always a good practice to install the XAMPP in the folder c:/Xampp for easy retrieval of files. Therefore select the XAMPP location In the provision.
Click “Next” :
> select the components you want to install and your installation should now start after clicking another next. This might take a few minutes in order to unpack the related files.
Installation is now complete! :
> If a prompt appears asking you if you want to start the XAMPP control panel click okay and your program should start.
> For this part, we are done with this installation and now we are going to see how we can use our application in running a website locally.
> It is always a good habit to run the XAMPP control panel as administrator by right-clicking on the application icon and choosing Run as administrator. Your final outlook should be.
> In our next tutorial we are going to learn how to run our first PHP file script.
Error in installation ?
> If you are facing problem in XAMPP installation,or getting errors that could arise to prevent our apache from running.