Installing PHP on your local machine allows you to safely create and test a web application without affecting the data on your live website. This article describes the complete PHP installation. If your server supports PHP, then you do not need to do anything. Just create your PHP files, put them in your Web Directory, and the server will automatically parse them—no need to Compile anything.
Read Also: What Is PHP and How to Use PHP
Index
This unit explains how to install PHP on windows. It includes how to install the complete PHP, Apache, and MySQL on your System.
There are many options available as given below:
XAMPP is abbreviate as X Stands for Cross-Platform,(A) Apache Server, (M) MariaDB, and (P) Perl. The Cross-Platform means that it can run on any computer with any operating system.
In the web browser type the XAMMP, You can Easily Download XAMPP from https://www.apachefriends.org. According to your Window Requirement. It is an Open Source Platform.
Now open the XAMPP Installer by double-clicking the “.exe” XAMPP setup file.
Now the XAMPP setup window will appear. In the setup window, select the components which are required for your PHP project.
The next step is to select the destination folder for XAMPP. You can choose your desired destination on your working machine or accept the default “C:\xampp” destination and then click the “Next” button.
Just after clicking on the “Next” button, your installation process will be started. The installation process will take a few minutes to finish.
Now click on the “Finish” button to finish the XAMPP installation.
You can find XAMPP icon on your Desktop or Start Menu. Just double click it, and the XAMPP Control Panel will appear on the desktop.
The control panel contains several buttons like Config, Netstat, Shell, Explorer, Services, Help, Quit.
In the XAMPP control panel, click the elements which are required for your project. You can start the module by clicking the “Start” button on the right side. You will be able to see the active modules highlighted in green.
If the XAMPP faces any errors while starting any module, it will appear at the bottom console in red fonts with a complete cause of a mistake.
From the Xampp Control Panel, you will be able to configure each module separately. Just click on the “Admin” button on the right side of the module, which you need to configure.
That’s it now, in your browser type Localhost, and you will able to see the admin screen of XAMPP.
Now the XAMPP is ready to Use.
Read More: Different Types of PHP Syntax
I hope you get a complete idea of how to install XAMPP on your Windows 10 local machine. Once the XAMPP installation is done, as a result, you can start and stop each module by using the XAMPP Control Panel.
There is a reason big-name companies like CNN use WordPress. WordPress is a popular content…
In this tutorial, I'm going to show you how to install MySQL on your computer.…
Download Turbo C++ for windows 10 in just 7 Mb and run your first C++…
We can redirect any webpage to any other or redirect the whole domain or website…
There are lots of methods to redirect pages, like refresh-redirect from META tag, redirect from…
Include files in PHP are used in appending various global or config files. We can…