How to install many php version on Laragon

I just quite impress with Laragon. This tool can answer my friend question about managing legacy php apps. Laragon support many php version even the old one (php 5.2) by php non thread version.

In this post I also want to share process for enable latest phalcon php extension within php version I use ( php 7.0, 7.1 and 7.2) .

Lets get start by add more php versions in Laragon

1. Download all php 7 version from here

2. Extract all files and put the folders inside bin

in my case I install Laragon at C:\laragon

so my php files located in c:\laragon\bin\php

3. Extract and copy all phalcon extension to each php ext folder

4. Start Laragon as usual then activate phalcon extension

5. Restart web server and open terminal to check if phalcon extension exist

yes, phalcon successfully installed and activated.

Repeat the process for other PHP version.

6. This step is optional (install phalcon devtools)


git clone

Cloning into ‘phalcon-devtools’…
remote: Counting objects: 20284, done.
remote: Compressing objects: 100% (23/23), done.
remote: Total 20284 (delta 14), reused 35 (delta 8), pack-reused 20239
Receiving objects: 100% (20284/20284), 7.04 MiB | 793.00 KiB/s, done.
Resolving deltas: 100% (10789/10789), done.

cd phalcon-devtools


phalcon info

Phalcon DevTools (3.2.12)

OS: Windows NT DESKTOP-HJK6CDS 10.0 build 14393 (Windows 10) AMD64
PHP Version: 7.1.15
PHP Bin: C:\laragon\bin\php\php-7.1.15-nts-Win32-VC14-x64\php.exe
PHP Extension Dir: C:\php\ext
PHP Bin Dir: C:\php
Loaded PHP config: C:\laragon\bin\php\php-7.1.15-nts-Win32-VC14-x64\php.ini
Phalcon DevTools Version: 3.2.12
Phalcon Version: 3.3.2
AdminLTE Version: 2.3.6

Make alias of phalcon devtools command

alias phalcon=php “c:\laragon\phalcon-devtools\phalcon.php” $*

test it now


Phalcon DevTools (3.2.12)

Available commands:
info (alias of: i)
commands (alias of: list, enumerate)
controller (alias of: create-controller)
module (alias of: create-module)
model (alias of: create-model)
all-models (alias of: create-all-models)
project (alias of: create-project)
scaffold (alias of: create-scaffold)
migration (alias of: create-migration)
webtools (alias of: create-webtools)
serve (alias of: server)
console (alias of: shell, psysh)




Comments are closed, but trackbacks and pingbacks are open.

GIft Ideas