Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.2.0".

Hi all getting this error when trying to update the itflow system. My system is based on the script that's publicly available if that helps.

Got the same issue here

PHP 8.1.11 running here

If your on ubuntu 22.04 updating to the latest LTS 24.04 will resolve the issue and get you php8.3

IF your on Debian 11 update to debian 12 which will get you php 8.2

    Hi guys,

    Just wanted to to get some more info before attempting an in-place upgrade of my Ubuntu 22.04LTS server running Virtualmin and hosting ITFlow…

    Sounds like others have had issues after upgrading to PHP 8.2? I'm on 8.1.2 on Ubuntu 22.04LTS right now and receiving the same error.

    Heads up I was able to get itflow and php 8.3 working on my existing installation of 22.04 lts

    Print of my commands to upgrade and get ITFlow working again

    sudo add-apt-repository --remove ppa:ondrej/php
    sudo apt purge php*
    sudo apt autoremove
    sudo rm -rf /etc/php/8.3
    sudo rm -rf /usr/lib/php
    sudo add-apt-repository ppa:ondrej/php
    sudo apt install php=2:8.3+94+ubuntu22.04.1+deb.sury.org+2 php-mysql
    sudo service apache2 restart
    php -v
    apt-get install php libapache2-mod-php php-intl php-mysqli php-gd php-curl libapache2-mod-md
    apt-get install php-intl php-mysqli php-gd
    apt-get install php-intl php8.3-mysqli php-gd
    apt-get install php8.3-curl
    service apache2 restart

      Execellent work on figuring this out @athornfam2 this change was not communicated was caused by an upstream package weblex php-imap. We were extremely busy and did not have time to fix the issue right away as we didnt notice any problem with out platform as we use debian 12 with php 8.2. We reverted the dependency of webklex php-imap from the main code and is only dependent when using the mail parser.

      itflow-org/itflow1c61889

      athornfam2 Thank you, well done.

      Only problems i had were:

      1)the last 5 commands all needed sudo - this tripped me the first time, when i just copy/pasted without reading carefully enough.

      1. those same commands, give an error like:

        Package php-mysqli is a virtual package provided by:

        php8.3-mysql 8.3.8-2+ubuntu22.04.1+deb.sury.org+1

        php8.2-mysql 8.2.20-2+ubuntu22.04.1+deb.sury.org+1

        php8.1-mysql 8.1.29-1+ubuntu22.04.1+deb.sury.org+1

        php8.0-mysql 1:8.0.30-7+ubuntu22.04.1+deb.sury.org+1

        php7.4-mysql 1:7.4.33-13+ubuntu22.04.1+deb.sury.org+1

        php7.3-mysql 7.3.33-19+ubuntu22.04.1+deb.sury.org+1

        php7.2-mysql 7.2.34-50+ubuntu22.04.1+deb.sury.org+1

        php7.1-mysql 7.1.33-63+ubuntu22.04.1+deb.sury.org+1

        php7.0-mysql 7.0.33-75+ubuntu22.04.1+deb.sury.org+1

        php5.6-mysql 5.6.40-77+ubuntu22.04.1+deb.sury.org+1

        You should explicitly select one to install.

      I had to type php8.3-mysql(the 8.3 version) for each one. So just ran it as your command said, then fixed up the command based on the error.

      Now it appears to be all fixed.

      Thank you very much @athornfam2 and @johnny and anyone else involved in fixing this. Legends.

      @johnny For those of us still on Ubuntu 22.04, should we upgrade or leave it for now?