SOLVED Debian Stretch, ISPConfig 3.1 and php >= 7.2 with libzip >= v. 1.2

Discussion in 'ISPConfig 3 Priority Support' started by kommid, Nov 18, 2019.

  1. kommid

    kommid New Member HowtoForge Supporter

    Hi,
    I built my server using the tutorial at https://www.howtoforge.com/tutorial...-9-stretch-apache-bind-dovecot-ispconfig-3-1/
    I've also successfully installed other php versions on my server according to the tutorial at https://www.howtoforge.com/tutorial/how-to-install-php-7-on-debian/
    Now I need a PHP version that was built with libzip >= v. 1.2 (to create password encrypted zip files using php) but debian comes with an older version (1.1.2).
    On a different server I set up ISPConfig with Debian Buster according to the tutorial at https://www.howtoforge.com/perfect-server-debian-10-buster-apache-bind-dovecot-ispconfig-3-1/ but when I do a dpkg -l |grep libzip here, the result is the same:
    ii libzip-dev:amd64 1.1.2-1.1+b1 amd64 library for reading, creating, and modifying zip archives (development)
    ii libzip4:amd64 1.1.2-1.1+b1 amd64 library for reading, creating, and modifying zip archives (runtime)
    I couldn't find any tutorial on building a php 7.2 or even 7.3 on debian using a newer libzip and since I'm not a specialist in these things, I'm really at a loss here.
    Is this even possible with Debian?
     
  2. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

  3. kommid

    kommid New Member HowtoForge Supporter

    Is there a (easy) way to get this on stretch too?
    The Buster server belongs to a completely different project and I can't run the site where I need zip encryption on this server.
     
  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

  5. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Croydon likes this.
  6. kommid

    kommid New Member HowtoForge Supporter

    My bad: I checked the wrong server :rolleyes:, you are right: Buster comes with 1.5... But using Buster would mean running a dist-upgrade or even set up a new server and migrating stuff; So this wouldn't be a "simple" solution...
    @Taleman If I follow the tutorial at https://www.howtoforge.com/tutorial...fig-3-from-debian-packages-on-debian-8-and-9/ to install additional php versions, would I have to install the libzip packages before and if I did so, wouldn't this replace my existing libzip and break other things on the server?
     
  7. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    No.
    It would replace, yes. I do not know if it would break things, you need to test if your software works with the new version of libzip.
     
  8. kommid

    kommid New Member HowtoForge Supporter

    Just wanted to give feedback here. @Taleman: It seems, everything worked out ok the way you suggested. Thank you very much!
     

Share This Page