Skip to content
  • About Us
  • Contact Us
  • Privacy Policy
  • Disclaimer
  • Corona Virus Stats (Covid-19)
  • Work with us
  • FB
  • LinkedIn
  • Twitter
  • Instagram.com
Tekraze

Tekraze

Dive Into Technology

  • Guides
    • Developer Guide
    • PC Guide
    • Web Guide
    • Android Guide
    • Music
    • Tutorials
  • Feed
    • Tech News
    • Shared Tech
    • Gaming Videos
    • Unboxing videos
  • Forums
    • Android Apps
    • Angular Npm Packages
    • Useful Site Links
    • Tech Queries
    • Windows OS Help
    • Web Guide and Help
    • Android Os And Rooting
    • Jhipster Discussion
    • Git & GitHub forum
    • Open Source Forum
  • Work with us
  • Toggle search form
How to Install PHP XAMPP 1

How to Install PHP XAMPP

Posted on January 28, 2018June 16, 2019 By RAHUL CHANANA 2 Comments on How to Install PHP XAMPP

Hello, everyone welcomes back to new post in PHP tutorials. In the previous lecture, you had learned Introduction to PHP and we told you that we will study how to install PHP in next tutorial. So, today in this tutorial we will tell you how to install PHP XAMPP in your System. First of all my request to you is that if you have not seen the previous lecture, please have a look at that first and then continue with this chapter.

As you know PHP is server-side scripting language and it runs only on a server. If you don’t have any hosting and you are beginner then you may practice on Local Server also we said sometimes localhost.

| Also Read | PHP – Datatypes

Table of Contents

  • HOW TO INSTALL PHP?
  • How to Install XAMPP on Windows PC?
      • Why use XAMPP for Windows?
  • Install XAMPP for Windows
      • Step 1: Download the appropriate Version of XAMPP
      • Step 2: Run the XAMPP setup wizard
      • Step 3: Select the components
        • Why do we require MySQL and phpMyAdmin?
      • Step 4: Select the Installation Directory
      • Bonus Step: Create MySQL Database in XAMPP

HOW TO INSTALL PHP?

Before starting with PHP, it’s important that you should know how to install PHP on your local system, so you can start coding right away.

Many PHP developers like to build their websites and test on local servers before publishing to the real server. To build a local web server environment on Windows computers, you can use XAMMP for Windows. In this guide, we will introduce the great free tool XAMPP which is developed by Apache Friend, now the most popular PHP development environment for Windows, Mac OS X & Linux. XAMPP is a completely free, easy to install Apache distribution containing MySQL, PHP, and Perl. The XAMPP open source package has been set up to be incredibly easy to install and use. Check out below instructions, see how to install XAMPP on Windows computers.

The installation needs setting up the web server first. For that, you need to download the latest version of XAMMP Here.

Note:  XAMPP is a package that includes the Apache web server, MySQL, PHP, Perl, an FTP server and phpMyAdmin.

| Also Read | Variable and its Scope in PHP

How to Install XAMPP on Windows PC?

Why use XAMPP for Windows?

  • The most popular PHP dev package
  • For Windows 10, 8, 7, Vista, XP
  • Containing MySQL, PHP, and Perl
  • Easy installation and configuration
  • Completely free of charge

We will break down into details of each step with screenshots and references. If you want to create a local server environment for testing websites before uploading to a web hosting account, check out the easy steps below.

Install XAMPP for Windows

Step 1: Download the appropriate Version of XAMPP

XAMPP comes with the different version for Windows, Mac, and Linux. Click on Download, and download the XAMPP 7.2.1 (with PHP 7.2) for windows, if you are using any of the window other than Window 2003& XP.

Install PHP XAMPP Tekraze

But if you are window 2003 or XP user Download the XAMPP 1.8.3 (with PHP 5.5), Since the latest version doesn’t support Window 2003 or Window XP.

Note: If you need XAMPP for WordPresss, the latest WordPress 4.9.2 requires PHP version 5.2.4 or greater. So both XAMPP for Windows 5.5.33 and XAMPP for Windows V 5.6.9 will work with the latest WordPress.

| Also Read | BackEnd Technologies you need to know

Step 2: Run the XAMPP setup wizard

Double click on the downloaded file and run the setup wizard. You will see a welcome screen, Click Next to Proceed

Install PHP XAMPP Tekraze

Step 3: Select the components

The installation of XAMPP for Windows is very straightforward, just like you install any other Windows applications. Install PHP XAMPP Tekraze

Apache and PHP are marked Grey, they are essential to run XAMPP local Apache server on your PC, so you can’t disable them. Other options are optional.

Make sure that you select the MySQL server and PhpMyAdmin in the XAMPP components selecting screen or you can select all options in the list.

Why do we require MySQL and phpMyAdmin?

Since most CMS or dynamic websites requires a MySQL database, so we have to enable MySQL. XAMPP offers phpMyAdmin, the free tool to manage MySQL databases. When you select and install MySQL database in the custom installation of XAMPP on Windows computer, so will the phpMyAdmin be installed.

Step 4: Select the Installation Directory

XAMPP files will be saved to a directory on your hard disk with the websites included. You will have the option to select an existing folder or create a new folder to save all XAMPP files.

Install PHP XAMPP Tekraze

Click Next and your local Apache server with PHP support, MySQL server with phpMyAdmin tool has been set up.

Congratulations, you have successfully installed XAMPP on a Windows PC. You can go to building your websites and host them on your local XAMPP server now.

| Also Read | Develop mobile apps in PHP

Bonus Step: Create MySQL Database in XAMPP

Start up XAMPP, you will open the XAMPP control panel as below. Click to start both Apache and MySQL. We are now going to create the MySQL database for the local web applications installed on Windows, such as local WordPress site setup, local Joomla site setup, etc.

Install PHP XAMPP Tekraze

 Now open your Browser and type localhost/phpmyadmin, admin panel is in front of you, here you can create your database. Click on new to create new database shown in below screenshot:

Install PHP XAMPP Tekraze

 

So this is for today, in our next tutorial we will learn about variable scopes in PHP and Data Types in PHP. Stay connected with us for more tutorials.

| Also Read | BackEnd vs FrontEnd difference you need to know

If you like this tutorial please share it with your friends, colleagues and with your relatives, keep visiting and be a part of the Tekraze family. If you have any problem with this tutorial please comment in the comment box and if you have any suggestion regarding this then please tell us.

Content Protection by DMCA.com
PHP Tutorials, Developer Guide, PC Guide Tags:apache, How to install PHP, Localhost, PHP Installation, Xampp

Post navigation

Previous Post: Facebook announces that it has invented a new unit of time
Next Post: MarkUp Editor – A new editor in Town

Related Posts

  • How to Encrypt Decrypt Files in Linux Tekraze
    How to Encrypt and Decrypt Files in Linux Tutorials
  • BASICS OF PHOTOSHOP 2
    BASICS OF PHOTOSHOP Tutorials
  • Common Docker Commands you must know Tekraze
    Common Docker Commands you must know Developer Guide
  • Create Sticker Application for Whatsapp
    How to Create Stickers Application for Whatsapp Developer Guide
  • upgrade windows 7 tekraze
    What to Do about Your Windows 7 PC As Microsoft is Ending Support Guest posts
  • 12 Tips on How to Extend the Life of Your Laptop
    13 Tips on How to Extend the Life of Your Laptop easily Tech News

Comments (2) on “How to Install PHP XAMPP”

  1. Anil Relhan says:
    April 30, 2018 at 12:00 am

    I have installed the XAMPP successfully. But in control panel while starting the MySQL following error occur.
    Error: MySQL shutdown unexpectedly.
    [mysql] This may be due to a blocked port, missing dependencies,
    [mysql] improper privileges, a crash, or a shutdown by another method.
    please help me to resolve this problem.

    Reply
    1. RAHUL CHANANA says:
      April 30, 2018 at 3:00 pm

      exit Xampp server
      go to your \xampp\mysql\data directory
      delete the ibdata1 file
      restart xampp server
      Hopefully this will solve your problem ,if still any problem persist then post your query here Tech Queries

      Reply

Leave a Reply Cancel reply

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

Advertisements

Subscribe to updates

Enter your email below to subscribe





Posts by Categories

Advertisements
  • Indibloghub A Platform For Indian Bloggers And Brands
    Indibloghub A Platform for Indian Bloggers and Brands Business Reviews
  • Backend Technologies - 2018 3
    Backend Technologies – 2018 Developer Guide
  • upgrade windows 7 tekraze
    What to Do about Your Windows 7 PC As Microsoft is Ending Support Guest posts
  • Why Python Programming? 4
    Why Python Programming? Uncategorized
  • Jekyll - A Beginners Guide to static website 5
    Jekyll – A Beginners Guide to static website Tutorials
  • The Latest Android Update Is Focused on Security
    The Latest Android Update Is Focused on Security Android Guide
  • Linux Terminology basics you need to know
    Git Elements – Post 2 Git and GitHub
  • Using Terminal in Linux a Linux basic tools guide part 2 Banner
    Using Terminal in Linux a Linux basic tools guide part 2 Developer Guide

Affliate Links

Sell with Payhip

Earn with Magenet

Sell and Buy with Adsy

GainRock affiliate Program

Automatic Backlinks

Advertise with Anonymous Ads

accessily tekraze verificationIndian Blog Directory

Copyright © 2023 Tekraze.

Powered by PressBook News WordPress theme