Technology

Run your first PHP program in XAMPP Server

Beginning with PHP is quite easy. If you’re a beginner in PHP, then this post is for you, and will make you feel comfortable in running PHP program on XAMPP Server. Begin developing your website on localhost, and then move forward and upload the website live, with a domain name and hosting account.

Let’s start with running first PHP program using XAMPP Server on localhost.

Step 1: Go to the Apache Friends website and download XAMPP Server. Apache Friends is the official website to download XAMPP:
Download XAMPP Server


 

Step 2: After downloading, install it. You can install it at any location, but we installed it at,
C:\XAMPP\:
Xampp Server installation location

Step 3: Now, go to “htdocs” folder in “Xampp” folder and create your project folder. Here in the screenshot, you can see, a folder “AmitProject” has been created,

Xampp Server Create project folder AmitProject

Step 4: Now, create a file with php extension. We have created a file with name, FirstProgram.php.

Add the following code in it,

Continue reading the article here: “first PHP program using XAMPP Server on localhost”.

Comments

comments

thegenericwhiz@gmail.com'

GW Editorial Staff

Editorial Staff at Generic Whiz.

One thought on “Run your first PHP program in XAMPP Server

  • putyanhinvasya@gmail.com' ablai_0949

    As much as necessary.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *