Find the Best Cosmetic Hospitals

Explore trusted cosmetic hospitals and make a confident choice for your transformation.

“Invest in yourself — your confidence is always worth it.”

Explore Cosmetic Hospitals

Start your journey today — compare options in one place.

How to setup PHP in localhost for server-side scripting?

In this blog I am going to start with the beginning, So even if you are not aware to run PHP on your local machine you to it just following this blog, let me introduce the first XAMPP.

What is XAMPP?

XAMPP start for Cross-Platform, PHP, Mysql, Perl, Apache. XAMPP is a very lightweight and simple Apache distribution, So you can use it because this is available any platform and easily as Windows, Linux, or Mac.

XAMPP has four main components.:

  1. Apache
  2. MySql
  3. PHP
  4. Perl
  1. Apache is a web server process that converts PHP files into simple HTML and sends it to the web browser of a user. Apache is the most usable and famous server today, with more than 50% website using it.

2. MySQL
MySQL means database almost all websites that are dynamic needs to store data for that pupose we uses a database. MySQL is most famous database management system and an open source.

  1. PHP
    PHP is a server-side scripting language that is used by world 70% websites as Facebook is also an example.
    PHP: Hypertext Preprocessor(Recursive Acronym)
    Server-Side Programming/Scripting Language
    Can be embedded directly within HTML ()
    Files use a “.php” file extension.

How to install XAMPP?

This is the first step for setup local hosts for server-side scripting. First go to google and type XAMPP download and click the first link and download XAMPP and install. This is free and easily install.

https://www.apachefriends.org/index.html

After that install you can look like as below image then you go to click start button of Apache and MySql for start XAMPP server

and go your browser and open new tab and type :- localhost/phpmyadmin
1st go to new and click and type database name in input box and click create button.

After that go c drive XAMPP folder of htdocs and create a new folder and create a new file as .php extention file and run into your browser.

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services — all in one place.

Explore Hospitals
I’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at <a href="https://www.cotocus.com/">Cotocus</a>. I share tech blog at <a href="https://www.devopsschool.com/">DevOps School</a>, travel stories at <a href="https://www.holidaylandmark.com/">Holiday Landmark</a>, stock market tips at <a href="https://www.stocksmantra.in/">Stocks Mantra</a>, health and fitness guidance at <a href="https://www.mymedicplus.com/">My Medic Plus</a>, product reviews at <a href="https://www.truereviewnow.com/">TrueReviewNow</a> , and SEO strategies at <a href="https://www.wizbrand.com/">Wizbrand.</a> Do you want to learn <a href="https://www.quantumuting.com/">Quantum Computing</a>? <strong>Please find my social handles as below;</strong> <a href="https://www.rajeshkumar.xyz/">Rajesh Kumar Personal Website</a> <a href="https://www.youtube.com/TheDevOpsSchool">Rajesh Kumar at YOUTUBE</a> <a href="https://www.instagram.com/rajeshkumarin">Rajesh Kumar at INSTAGRAM</a> <a href="https://x.com/RajeshKumarIn">Rajesh Kumar at X</a> <a href="https://www.facebook.com/RajeshKumarLog">Rajesh Kumar at FACEBOOK</a> <a href="https://www.linkedin.com/in/rajeshkumarin/">Rajesh Kumar at LINKEDIN</a> <a href="https://www.wizbrand.com/rajeshkumar">Rajesh Kumar at WIZBRAND</a> <a href="https://www.rajeshkumar.xyz/dailylogs">Rajesh Kumar DailyLogs</a>

Related Posts

What is CodeIgniter and use cases of CodeIgniter?

What is CodeIgniter? CodeIgniter is an open-source PHP web application framework designed to simplify and accelerate web development. It follows the Model-View-Controller (MVC) architectural pattern and provides…

Read More

What is PHP and use cases of PHP?

What is PHP? Are you wondering what PHP is and how it works? Look no further! In this article, we will explore the ins and outs of…

Read More

Complete guide on PHP certification courses, tutorials & training

What is PHP Hypertext Preprocessor is known as PHP. Many developers use PHP, an open-source server-side programming language, to create websites. In addition, it is a general-purpose…

Read More

Complete PHP with Laravel Certification Guide & tutorials

What is PHP with Laravel? PHP was visioned eventually in the fall of 1994 by Rasmus Lerdorf. PHP means Hypertext Preprocessor. It’s a extensively- used, open source…

Read More

Top 50 PHP Interview Questions and Answers

1) What is PHP? PHP is an open-source, interpreted, and object-oriented scripting language that can be executed at the server-side. PHP is well suited for web development….

Read More

Complete guide of PHP certification courses, tutorials & training

PHP is a great beginner programming language for anyone who is wanting to cross over into the coding world. Though easy to learn, it is an extremely…

Read More