December, 02 2019

Upgrading To PHP 7.4 (Laragon)

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 !

You can also follow me on twitter @stephenjude_

Join my inner circle newsletter

Be the first to hear about anything I publish, launch, or think is helpful for you. Subscribe here

Hey, have you tried Litehost lately ?

Litehost is a web hosting platform for PHP & Laravel developers with Composer, Git, PHP & CLI pre-installed. Try it now