[Tutorial 1 ] How to add another PHP version (PHP 7.4 - PHP 8.0) - Updated
Jul 15, 2016, 9:34 PM |133403 points
Ref. post: http://stephenjude.tech/articles/upgrading-to-php-74
Note: You can even add #PHP 8
with a few adjustments: https://forum.laragon.org/topic/2250/don-t-support-php8/4
https://ilmucoding.com/cara-upgrade-php-8-di-windows/
With Laragon, adding another PHP version is very easy. Here's how to add PHP 7.4
-
Download PHP:
https://windows.php.net/downloadIn this case we download:
https://windows.php.net/downloads/releases/php-7.4.0-Win32-vc15-x64.zip
-
Extract the downloaded to:
{LARAGON_ROOT}\bin\php\php-7.4.0-Win32-vc15-x64
C:\laragon -- bin ---- php -------- php-7.4.0-Win32-vc15-x64 -------- .............
-
Select the new version at: Laragon Menu > PHP > Version > php-7.4.0-Win32-vc15-x64
Very easy huh. That's all!
Please be noticed about PHP Version (so you can add new extensions properly)
-
x64
means 64-bit -
x86
means 32-bit -
nts
means Non Thread Safe
If something's wrong, please check and install correspond VC Redist (VC11, VC14, VC15...)
如果提示和Apache的版本不一致,就按第二节教程安装Apache,最后可能会提示“由于找不到msvcr110.dll 无法继续执行”。
此时,需要我们找一个微软的VC安装集合包,安装完成后,不需要重启,Apache也可以正常使用了。
微软常用运行库合集 v2021.08.02(32&64位) -
附录:
PHP安装包地址:https://windows.php.net/downloads/releases/archives/ 下有各种devel、test、debug pack包
![](https://img.haomeiwen.com/i1463937/93f4dfbc32d7224b.png)
=======================================================
[Tutorial 2 ] How to add another Apache version
Jul 15, 2016, 9:28 PM | 133403 points
With Laragon, adding another Apache version is very easy.
-
Download Apache (64-bit):
https://www.apachelounge.com/download/VS16/binaries/httpd-2.4.48-win64-VS16.zip
-
Extract the downloaded to: {LARAGON_ROOT}\bin\apache\httpd-2.4.48-win64-VS16
C:\laragon -- bin -- apache -- httpd-2.4.48-win64-VS16 -- .............
-
Select the new version at: Laragon Menu > Apache > Version > httpd-2.4.48-win64-VS16
Very easy huh. That's all forks!
附录:
https://www.apachelounge.com/download/VC15/ 是VC15版本的包
https://www.apachelounge.com/download/additional/ 下是旧版本的包
![](https://img.haomeiwen.com/i1463937/3da79e7dbf53517a.png)
网友评论