Upgrading To PHP 7.4 (Laragon)

Published 1 week ago • 1 min read

Its no longer news that PHP 7.4 is now available with lots of exciting new features.

PHP 7.4 comes with numerous improvements and new features such as: Typed Properties, Arrow Functions, Null coalescing assignment operator, Unpacking Inside Arrays, Opcache Preloading etc.

You can walk your self through this new features here. Thanks to PHP development team. Bravo!

Laragon

Laragon is a modern, maintained and rich-featured local development environment. Laragon comes pre-installed with many popular applications like Node.js, PHP, Apache, Nginx, Redis, Composer, and MariaDB/MySQL. It's currently available for only Windows OS. You can download it here.

Please note that Laragon's latest release as at the time I wrote this article haven't shipped with PHP 7.4 and that's the essence of this article.

Upgrading to PHP 7.4

First lets download PHP 7.4 for Windows. Here is a direct link for 64 bits and 32 bits.  Extract the downloaded zip file to Laragon's PHP folder.

Note that Laragon's PHP folder can be found on this path:

C:\laragon\bin\php


Now open Laragon app on your system, click on Menu, navigate to the menu item, then change the PHP version to the latest one you have on your system.


Now you have your local development environment running PHP 7.4!

Cheers !

Join my weekly newsletter and never miss out on news, tutorials, tips and more.

You can also follow me on twitter @stephenjudeso

Join my weekly newsletter and never miss out on new tutorials, tips, and more.