ISPConfig 3.2 on hosts with PHP8

ISPConfig 3.2 is not yet compatible with PHP 8.x. It may happen then when installing PHP8 on hosts running ISPConfig you’ll get a blank page when opening the management site

The ISPConfig admin website doesn’t use PHP-FPM but PHP-FCGI. It’s configured in /etc/apache2/sites-available/ispconfig.vhost in this line:

FCGIWrapper /var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter .php

The script above calls

exec /usr/bin/php-cgi

which is handled by alternatives, in Debian/Ubuntu. So in order to restore ISPConfig backend just run:

update-alternatives --configure php-cgi

and choose the latest available PHP 7.x version, hopefully 7.4.

Un pensiero su “ISPConfig 3.2 on hosts with PHP8

    I spent a lot of time trying to work out why ISPconfig broke since last time I used it several months ago. I realised it was probably due to a system update but had not worked out how to fix it. This solved my problem.
    Two points:
    – For me, the code lines above are white text on pale grey background. I cannot read them & had to copy & paste to a text editor. A darker background would be better.
    – On my Ubuntu server the option is –config rather than –configure

Lascia un commento

Il tuo indirizzo email non sarà pubblicato.

Solve : *
6 × 20 =

Questo sito usa Akismet per ridurre lo spam. Scopri come i tuoi dati vengono elaborati.