Not able to downgrade php version from 7.2 to 7.0.0
-
I am getting below error

-
@sumeshkv could you be more precise about what's goin' on while you do that?
Maybe deliver us some configuration etc?
-
Laragon PHP version Downgrade
Please check the below site for PHP versions- https://windows.php.net/downloads/releases/archives
For example – we are downgrading from 7.2 to 5.6 or 7.0 - Download – do not download ‘nts’ versions
a. php-5.6.4-Win32-VC11-x64 (https://windows.php.net/downloads/releases/archives/php-5.6.4-Win32-VC11-x64.zip)
b. php-7.0.0-Win32-VC14-x64 (https://windows.php.net/downloads/releases/archives/php-7.0.0-Win32-VC14-x64.zip) - Extract both zip file to “C:\laragon\bin\php”
- Stop laragon, if it running
- Click on menu and select version
- Start All Services
- https://windows.php.net/downloads/releases/archives
-
@sumeshkv on which server you are running your php? If it is apache you must have enabled correct version. E.g if php is compiled with VC11 than enabled apache version should be too.
-
@igor_wnek in my local I am using "Apache httpd-2.4.35-win64-VC15"
-
@sumeshkv so as you wrote up this page. Your php 5.6.4 version is compiled with VC11. Your apache version should be also compiled with VC11. You have to install another apache version into your's Laragon.
Here is tutorial how to do that: Tutorial how to add another apache version
When you pick specific php version You always have to check if You have correct apache version enabled.Cheers