I would need to be able to install php-imap for my Fedora 39 installation. I can’t seem to get the package installed, and I haven’t found a solution. If not I’ll have to move my work to a Debian based environment.
php-imap relies on libc-client which is a dead thing (since 2007).
Nobody serious should rely on such an old library, which has been removed from Fedora 34, so imap extension cannot be built.
I recommend you use a pure PHP library instead (such as laminas/mail)
imap extension will also be removed from “php” in next version
https://wiki.php.net/rfc/unbundle_imap_pspell_oci8
Workaround: see remirepo (more PHP versions and extensions)
https://rpms.remirepo.net/wizard/
P.S. php-imap is also not available in RHEL and derivative distributions