Sign in
Log inSign up
How to Update PHP 7.4 in Xampp

How to Update PHP 7.4 in Xampp

Raghootham V Kalkeri's photo
Raghootham V Kalkeri
·Dec 3, 2020·

3 min read

Let's start with updating php 7.4 in xampp

What you all need ?

  • Xampp ( Installed) PHP version 7.4 complied file

# Next Steps to follow

  • Step one click the link to get latest version of php

image.png

Select VC15 x64 Non Thread Safe (2020-Nov-24 15:08:39) In that click on zip file (24.85MB) to download

Wait for while it's downloading

image.png

Extract the files in Desktop or wherever you need image.png

  • After Extraction now goto xampp folder here you will get folder of php rename the file php -> php_old or whatever you choose to

image.png

  • Now goto the folder where you extracted the all files and select all the files and copy

image.png

  • After selecting goto xampp folder and create new folder as php Next->goto php folder and paste the all files there

Now run Xampp Application

image.png

In Apache row select config

image.png

  • Under config -> select (Apache httpd-xampp-conf)

image.png

  • Open it notepad to edit the file In that you should change three line
 LoadFile "C:/xampp/php/php5ts.dll"  ->  LoadFile "C:/xampp/php/php7ts.dll"
LoadFile "C:/xampp/php/libpq.dll" -> LoadFile "C:/xampp/php/libpq.dll"
LoadModule php7_module "C:/xampp/php/php5apache2_4.dll" ->LoadModule php7_module "C:/xampp/php/php7apache2_4.dll"

Done now restart your xampp application you will be done

To check the version of php goto commond prompt and type

php --version

image.png

image.png

That's for this blog ** Hope you learnt how to update php for xampp

if you learnt how to install php for xampp you can buy me a coffee ☕**