Skip to content
  • Github
  • Facebook
  • twitter
  • About Us
  • Contact Us
  • Privacy Policy
  • Terms & Conditions
  • Site Map

XpertPhp

Expertphp Is The Best Tutorial For Beginners

  • Home
  • Javascript
    • Jquery
    • React JS
    • Angularjs
    • Angular
    • Nodejs
  • Codeigniter
  • Laravel
  • Contact Us
  • About Us
  • Live Demos

Home » Php » How to update php 7 to php 8 in xampp on windows

How to update php 7 to php 8 in xampp on windows

How to update php 7 to php 8 in xampp on windows

Posted on December 21, 2022February 15, 2025 By XpertPhp

Hello guys, In this article, we will explain to you how to update php 7 to php 8 in xampp on windows. so we will give you a simple example of How to upgrade php 7 to 8 in xampp on windows. This article provides all the steps required to update or upgrade the PHP version to PHP 8 in XAMPP.

Step 1: Download php 8 zip file
Visit this link https://sourceforge.net/projects/xampp/ and then download the zip file that at the moment of publishing this tutorial is /XAMPP Windows/8.1.12/xampp-windows-x64-8.1.12-0-VS16

Step 2: Extract php folder and rename the folder
In this step, we will extract the PHP folder from the zip file. rename the php folder to php8 after extracting the folder.

Step 3: Past the php8 folder in the Xampp folder
In this step, we will past the php8 folder in the xampp folder directory.

Step 4: Open Apache Config Panel
Click on the Config button and open the Apache configuration file. so you can follow the screenshot below.

apache_conf

Step 5: Open Config File
Here we open the configuration file and you can see the path in the following screenshot to change. so we highlight that path in the following screenshot.

open_apache_conf_file

Step 6: Update PHP Installation Path
In this step, we will update the path to upgrade the version from php 7 to php 8. so you can see below highlighted that path in the screenshot below.

update_php_path_1

update_php_path_2

update_php_path_3

Step 7: Save Configuration and restart Apache
In this step, we will save the Configuration file and restart the apache server.

See also  How to send an email with HTML template using PHP and Ajax

restart_apache

Step 8: Verify PHP
Finally, we will cross check the version of PHP. is it updated or not? in our case, it has successfully updated the version to php 8.

verify_php

Php

Post navigation

Previous Post: How to get the tag name in jQuery
Next Post: JQuery Interview Questions and Answers

Latest Posts

  • Laravel 12 Ajax CRUD Example
  • Laravel 12 CRUD Example Tutorial
  • How to Create Dummy Data in Laravel 11
  • Laravel 11 Yajra Datatables Example
  • Laravel 11 Ajax CRUD Example
  • Laravel 11 CRUD Example Tutorial
  • Laravel 10 Ajax CRUD Example Tutorial
  • Laravel 10 CRUD Example Tutorial
  • How to disable button in React js
  • JavaScript Interview Questions and Answers

Tools

  • Compound Interest Calculator
  • Hex to RGB Color Converter
  • Pinterest Video Downloader
  • Birthday Calculator
  • Convert JSON to PHP Array Online
  • JavaScript Minifier
  • CSS Beautifier
  • CSS Minifier
  • JSON Beautifier
  • JSON Minifier

Categories

  • Ajax
  • Angular
  • Angularjs
  • Bootstrap
  • Codeigniter
  • Css
  • Htaccess
  • Interview
  • Javascript
  • Jquery
  • Laravel
  • MongoDB
  • MySql
  • Nodejs
  • Php
  • React JS
  • Shopify Api
  • Ubuntu

Tags

angular 10 tutorial angular 11 ci tutorial codeigniter 4 image upload Codeigniter 4 Tutorial codeigniter tutorial CodeIgniter tutorial for beginners codeigniter with mysql crud operation eloquent relationships file upload File Validation form validation Image Upload jQuery Ajax Form Handling jquery tutorial laravel 6 Laravel 6 Eloquent Laravel 6 Model laravel 6 relationship laravel 6 relationship eloquent Laravel 6 Routing laravel 7 Laravel 7 Eloquent laravel 7 routing laravel 7 tutorial Laravel 8 laravel 8 example laravel 8 tutorial laravel 9 example laravel 9 tutorial Laravel Framework laravel from scratch laravel social login learn jquery nodejs pagination payment gateway php with mysql react js example react js tutorial send mail validation wysiwyg editor wysiwyg html editor

Copyright © 2018 - 2025,

All Rights Reserved Powered by XpertPhp.com