Php imap module no longer available in php8.4

I just tried installing an new instance of suitecrm 8 with php 8.4 which is listed as compatible - however the imap module which is listed as a requirement is no longer available in php 8.4 - is there a workaround?

For Ubuntu/Debian

sudo apt update

sudo apt install -y \
    libc-client-dev \
    libkrb5-dev \
    php8.4-dev \
    php-pear \
    build-essential

sudo pecl install imap

Then enable it:

echo "extension=imap.so" | sudo tee /etc/php/8.4/mods-available/imap.ini

sudo phpenmod imap

Restart your web server and PHP!


Ref:

  1. PHP: Installation - Manual
1 Like