美文网首页
2022-01-12 windows 使用 laragon并安

2022-01-12 windows 使用 laragon并安

作者: lookphp | 来源:发表于2022-01-12 21:23 被阅读0次

[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

  1. Download PHP:
    https://windows.php.net/download

    In this case we download:
    https://windows.php.net/downloads/releases/php-7.4.0-Win32-vc15-x64.zip


  2. 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  
          -------- .............  
    
    

  3. 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包

image.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.

  1. Download Apache (64-bit):
    https://www.apachelounge.com/download/VS16/binaries/httpd-2.4.48-win64-VS16.zip


  2. Extract the downloaded to: {LARAGON_ROOT}\bin\apache\httpd-2.4.48-win64-VS16

    C:\laragon
    -- bin
       -- apache
           -- httpd-2.4.48-win64-VS16
           -- .............
    
    

  3. Select the new version at: Laragon Menu > Apache > Version > httpd-2.4.48-win64-VS16

    Very easy huh. That's all forks!

    Ref: https://www.apachelounge.com/download/

附录:
https://www.apachelounge.com/download/VC15/ 是VC15版本的包
https://www.apachelounge.com/download/additional/ 下是旧版本的包

image.png

相关文章

网友评论

      本文标题:2022-01-12 windows 使用 laragon并安

      本文链接:https://www.haomeiwen.com/subject/zakgcrtx.html