DEV Community

Dendi Handian
Dendi Handian

Posted on • Updated on

Adding PHP 7.4 to Laragon Lite

It's also recommended to use the Laragon Full version if you don't want to bother with this post.

If you download the laragon lite from the official site, it will give you the old php 5.6. So when you not ready to move to php 8 and want to stay a little longer with php 7.4 in laragon, here are the instruction.

Downloading The PHP 7.4 Binary

You can go to and you can see the option to download the latest available PHP 7.4 version, I got PHP 7.4 (7.4.16) at the time, you can directly download it by this link (the link may be dead, and you have to find the link of the latest version)

After it downloaded, you can create a folder inside C:\laragon\bin\php (or your own custom directory) named after the downloaded zip file. The folder name for me is php-7.4.16-Win32-VC15-x64 and then extract anything inside to this folder.

Switching to PHP 7.4

Try to right-click on Laragon desktop app, choose PHP, and click the php-7.4.16-Win32-vc15-x64 option to change to this version.

Image description

Reload or restart the Laragon's apache server. When you hit the http://localhost on the browser, you should see this:

Image description

and by opening the Laragon's Cmder console and type php --version, you should see this too

Image description

which indicates that the php 7.4 is properly installed.

Top comments (0)