Php 7 alongside Php 5


  • | 855 points

    My newer apps are running on php 7 with laragon just fine. I have some older apps that are on 5.6 which I can't upgrade to php 7 because of third party legacy code.

    Is there anyway on one server, to run both at the same time? I tried multiple installations and that didn't work.

    They are both on in production, so I can't switch back and forth between configurations and need both running at the same time.

    Thanks!


  • administrators
    | 64704 points

    @kjshah : Yes, there is. You can use Nginx as a proxy to both PHP upstreams, but it need extra configurations.


Log in to reply
 

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