[Tutorial] How to add another PHP version


  • administrators
    | 66720 points

    With Laragon, adding another PHP version is very easy.

    1. Download PHP:
      http://windows.php.net/downloads/releases/

    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

    Suppose we want to upgrade to php-7.1.11 Thread Safe 64-bit.
    In this case we download:
    http://windows.php.net/downloads/releases/php-7.1.11-Win32-VC14-x64.zip


    1. Extract the downloaded to: {LARAGON_ROOT}\bin\php\php-7.1.11-Win32-VC14-x64.zip
    C:\laragon
    -- bin
       -- php
          -- php-7.1.11-Win32-VC14-x64
          -- .............
    

    1. Select the new version at: Laragon Menu > PHP > Version > php-7.1.11-Win32-VC14-x64

    Very easy huh. That's all forks!


  • | 64 points

    Hi, I tried the downlaod but got this error messgae instead:

    404 - File or directory not found.
    The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

    Is there another link?

    Thanks
    x


  • | 64 points

    Found a new link


  • | 686 points

    I still maintain a project using PHP 5.4, is itu possible to add a 5.4 version PHP into Laragon?
    Thx.


  • administrators
    | 66720 points

    Sure @paijoh


  • | 1132 points

    I changed to PHP 5.5.25 succesfully.. but phpmyadmin does work.
    0_1472202123138_Capture.JPG

    How I can change phpmyadmin to compatible version


  • administrators
    | 66720 points

    What is your Laragon version?


  • administrators
    | 66720 points

    Laragon 2.0.5 comes with phpMyAdmin 4.6.4. However, you can install other version of phpMyAdmin (just download and extract to etc/apps/phpMyAdmin)


  • | 1132 points

    Hi there! I just download the phpmyadmin version that i want and extract it into WWW folder and i worked! (use others directory name such "phpmyadmin-old" ..etc, so it wont conflict with original ones).. :)


  • | 686 points

    I'm still using Laragon 1.0.6, and when I tried to install PHP 7.1.0 I was using the Thread Safe version because it's the only version that included php7apache2_4.dll. Before, I tried using NTS version and failed to install. Hope this help to someone who still using old version of Laragon.


Log in to reply
 

Looks like your connection to Laragon was lost, please wait while we try to reconnect.