Hi all Debian GNU/Linux 9.13 (stretch) Release: 9.13 I have followed the guide for installing Php 5.6 to 7.4 How to install PHP 5.6 and 7.0 - 7.4 as PHP-FPM & FastCGI for ISPConfig 3.1 with apt on Debian 8 to 10 everything went well until I tryed to install Php 7.4, I get the following error: Unable to locate package libonig5 All the other Php versions works ok Any advise Cheers Scorp
libonig5 is available for Debian 10 buster, not older versions of Debian. See here: https://packages.debian.org/buster/libonig5
I'm running into the same problem installing PHP 7.4 on Debian 9. Is libonig5 required or can I just skip it?
Install ita s additional PHP version, as described here: https://www.howtoforge.com/tutorial...fig-3-from-debian-packages-on-debian-8-and-9/ It might be that you can't install all packages though due to the missing libonig5. If that's a package you need, update to Debian 10.
My setup: ISPConfig 3.2.7p1 with Debian 9 + Apache + PHP 7.0, running on a dedicated server, originally installed from an OVH Template. I followed the steps described in the guide to additionally install PHP 7.4, but found 2 problems: 1) In the guide there is no mention to the extra field required to complete the Add New PHP Version in my ISPConfig, which is PHP-FPM socket directory: so I left it blank 2) After the installation of the 7.4 version, I moved one site to that version and found out that if I choose FAST-CGI + PHP 7.4 it works well, but if I try PHP-FPM + PHP 7.4, it does not work (Error 503 - Service Unavailable). Yet, if I try the initial configuration, whis is PHP-FPM + PHP 7.0, it works perfectly fine I have tried pointing that extra field to /var/lib following the logic of the default installation, but it didn't work either. Can you provide help on this? Thanks in advance.
Correct, it should be left blank. Please post a screenshot of the settings that you made for the php-fpm mode in the additional PHP versions form.
This is very embarrasing Sorry about that. I didn't see it for hours... Fixed! Thanks! If you ever fly down to Malaga, I'll be happy to pay for drinks
I know it's an old thread, but just to put an answer in case anyone else ends up here like I did: If you're on Debian 9, just install libonig4 instead of libonig5. It works fine. Tested with Debian 9 and PHP versions 7.4, 8.0, and 8.1.