Home >> PHP >> How to Install XAMPP & Simple program in PHP

How to Install XAMPP & Simple program in PHP

XAMPP is an open-source, cross-platform web server that consists of a web server, MySQL database engine, and PHP and Perl programming packages. 

XAMPP Full form
X – (cross platform operating systems) meaning it can run on any OS Mac OX , Windows , Linux etc.
A – Apache – this is the web server software.
M – MySQL – Database.
P – PHP
P – Perl – scripting language

How to Install XAMPP

1)-Download XAMPP
   Click here to XAMPP download for Windows: https://www.apachefriends.org/index.html
2)-Double Click to excecutable file.
3)-Choose the Insatllation path.
4)-Check the necessary services
5)-Finish the installation

Example Create a file in C:\xampp\htdocs directory with .php extension. File name is index.php

<?php

       echo "Hello! Dear";

?>

Run on browser http://localhost/index.php

Output

Hello! Dear

Comments (2)
  • Rohit Sharma 07/Sep/2022

    Very nice tutorial for learn PHP language

  • Pankaj Chauhan 07/Sep/2022

    Very good tutorial Good luck

Post Your Comment

Next Questions
How can we know the number of days between two given dates
What is the difference between $message and $$message
What Is a Cookie
What Is a Persistent Cookie
What does a special set of tags do
What are tags type
How do you define a constant
How To Write the FORM Tag for Uploading Files
What is the difference between include, include_once
What is the difference between require and require_once
What is difference between include_once and require_once
What is difference between include and require
What is meant by urlencode and urldecode
How To Get the Uploaded File Information
Would I use print "$a dollars" or "{$a} dollars" to print out the amount of dollars
How do you pass a variable by value
How do I find out the number of parameters passed into function
How To Protect Special Characters in Query String
What is the difference between GET and POST
What are the different types of errors
If conditional statement
If else conditional statement
If else / else if conditional statement
Switch conditional statement
For loop

Copyright ©2022 coderraj.com. All Rights Reserved.