Comments on How to install PHP 5.6 and 7.0 - 8.4 with PHP-FPM and FastCGI mode for ISPConfig 3.2 with apt on Ubuntu 22.04 - 24.04
When using ISPConfig, by default, you only have the main PHP version for your distribution. This guide will show you how to install additional PHP versions (5.6, 7.0 - 7.4, 8.1 - 8.4) on an Ubuntu server with ISPConfig.
10 Comment(s)
Comments
Thank you for writing this article.
Best regards
i fresh installed ISPConfig 3 on ubuntu 20 with multiple php 7.4, 8.0 and 8.1 integrated into an existing multiserver using Automated ISPConfig Installation. After installation, I configured multiple php following the tutorial below (sorry i couldn't attach the link)How to install PHP 5.6 and 7.0 - 8.2 with PHP-FPM and FastCGI mode for ISPConfig 3.2 with apt on Ubuntu 18.04 - 22.04When i changed php version to 8.0/8.1 on website domain page, php info still 7.4 (the default php).I realized php-fpm conf still in directory /etc/php/7.4/fpm/pool.d/. It doesn't move to correct directory (etc/php/8.1/fpm/pool.d/) according to the settings I configured on System >> Additional PHP Versions >> PHP FPM Settings >> Path to the PHP-FPM pool directoryi restared nginx and php-fpm services several times, but no effect. what should i do ?
As mentioned at the end of the above tutorial, please post support questions in the forum: https://forum.howtoforge.com/forums/installation-configuration.27/
When installing additional version PHP 7.4 is not installed.
E: Unable to locate package libonig5
Ubuntu 18.0.4
For Ubuntu 18.04, libonig5 should be libonig4
Just FYI for debian 11 users. Currently the default version of php should be 7.4.
No longer working for 18.04 Bionic
https://github.com/oerdnj/deb.sury.org/wiki/Frequently-Asked-Questions#supported-distributions
Ubuntu und Debian for PHP8.3 socket
PHP-FPM socket directory /var/lib/php8.3-fpm
The socket directory field should be left empty, which is why the guide did not say to enter something there.
Amazing how you rock
i go paypal direct ! THX