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?
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.
@Croydon is correct. Debian buster does have 1.5 libzip. Code: root@posti:~# cat /etc/debian_version 10.1 root@posti:~# dpkg -l | grep libzip ii libzip4:amd64 1.5.1-4 amd64 library for reading, creating, and modifying zip archives (runtime) root@posti:~#
If you take additional PHP versions using https://www.howtoforge.com/tutorial...fig-3-from-debian-packages-on-debian-8-and-9/ also 1.5 libzip can be installed from that repository: https://packages.sury.org/php/pool/main/libz/libzip/
My bad: I checked the wrong server , 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?
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.
Just wanted to give feedback here. @Taleman: It seems, everything worked out ok the way you suggested. Thank you very much!