ISPConfig on Ubuntu 22.04

Discussion in 'General' started by Th0m, Apr 23, 2022.

Thread Status:
Not open for further replies.
  1. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Ubuntu 22.04 has been released. The default PHP version on this operating system is PHP 8, which is not supported by ISPConfig 3 (yet) and we sadly can't resolve this soon. Because of this we haven't tested any ISPConfig setup with Ubuntu 22.04.

    Installing or updating on Ubuntu 22.04 is not recommended, but if you do so, you can try to get the setup working by changing the default PHP version to PHP 7.4 - please note, this is untested:
    Code:
    add-apt-repository -y ppa:ondrej/php
    apt-get -y install php7.4 php7.4-common php7.4-gd php7.4-mysql php7.4-imap php7.4-cli php7.4-cgi php7.4-curl php7.4-intl php7.4-pspell php7.4-sqlite3 php7.4-tidy php7.4-xmlrpc php7.4-xsl php7.4-zip php7.4-mbstring php7.4-soap php7.4-fpm php7.4-opcache php7.4-json php7.4-readline php7.4-xml
    And then set the default PHP versions to PHP 7.4:
    Code:
    update-alternatives --config php
    If you need to select a PHP version, select PHP 7.4. Then, run
    Code:
    update-alternatives --config php-cgi
    If you need to select a PHP version, select PHP 7.4 as well. Lastly, run
    Code:
    update-alternatives --config php-fpm.sock
    We hope this clarifies everything a bit! For more information on the development progress for PHP 8.X, see this issue in our GitLab: https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/6328
     
    Last edited: Apr 23, 2022
    bch, till and ahrasis like this.
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Gwyneth Llewelyn and ahrasis like this.
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Just as a short update on this topic, we have made good progress in porting ISPConfig to PHP 8.1 which means that we can release ISPConfig 3.2.9 soon. The PHP 8.1 support needs a lot more testing though and I will release instructions on how to install ISPConfig on Ubuntu 22.04 with PHP 8.1 next week.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    ahrasis likes this.
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    ahrasis and Th0m like this.
Thread Status:
Not open for further replies.

Share This Page