Multiserver self-compiled PHP: one for all

Discussion in 'General' started by Hbod, Apr 4, 2017.

  1. Hbod

    Hbod Member

    I have a multiserver setup with 6 Servers, using Apache or nginx. Is there a way to copy over one self compiled PHP Version (e.g. 7.1) to all the other servers? Compiling new versions on every single server is a time consuming process, two of the 6 servers are virtual machines with 1 or 2 cores, which result in dead long compiling time.

    All servers are set-up similar (Debian 8). Is there a way to copy over the /opt/php7.1 folder or is this restricted somehow to symbols etc? I guess it will not be possible, but maybe someone knows a time-saving solution populating new php versions.
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    It might work when all systems use the same os. I would just try it, the worst thing that can happen is that the new version does not work and you have to delete the directory where you copied it then.
  3. webguyz

    webguyz Active Member HowtoForge Supporter

    Let us know if this works. I was going to ask the same question and also using Debian 8.

Share This Page