# Missing php-imap package in Rocky Linux 8

**URL:** <https://forums.rockylinux.org/t/missing-php-imap-package-in-rocky-linux-8/12348>\
**Category:** Rocky Linux Help & Support\
**Created:** [December 30, 2023, 10:15am UTC](https://forums.rockylinux.org/t/missing-php-imap-package-in-rocky-linux-8/12348 "2023-12-30T10:15:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![microlinux](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/microlinux/32/1244_2.png) [@microlinux](https://forums.rockylinux.org/u/microlinux)\
**Post date:** [December 30, 2023, 10:15am UTC](https://forums.rockylinux.org/t/missing-php-imap-package-in-rocky-linux-8/12348/1 "2023-12-30T10:15:59Z")

</div>

Hi,

I’m currently setting up Dolibarr, an ERP/CRM software that uses a LAMP server.

The application needs a variety of PHP modules. I’ve activated the PHP 7.4 channel since it’s the LTS version under Rocky Linux 8 and I found all PHP modules except one. Looks like the `php-imap` module is missing.

Any idea how I can install this ?

Cheers,

Niki

---

<div class="post-metadata">

**Author:** ![tjdoyle](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/tjdoyle/32/500_2.png) [@tjdoyle](https://forums.rockylinux.org/u/tjdoyle)\
**Post date:** [December 30, 2023, 10:29am UTC](https://forums.rockylinux.org/t/missing-php-imap-package-in-rocky-linux-8/12348/2 "2023-12-30T10:29:07Z")

</div>

Hi,

I believe php-imap is in remi’s repo:-

> **[English : Repository Configuration - Remi's RPM repository - Blog](https://blog.remirepo.net/pages/Config-en)**
>
> Download addresses, howto on RPM installation and YUM/DNF repository configuration for this site. You can try the configuration wizard. Other repositories required Fedora: RPM

Regards Tom.

---

<div class="post-metadata">

**Author:** ![remi](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/remi/32/1425_2.png) [@remi](https://forums.rockylinux.org/u/remi)\
**Post date:** [December 31, 2023, 7:21am UTC](https://forums.rockylinux.org/t/missing-php-imap-package-in-rocky-linux-8/12348/3 "2023-12-31T07:21:56Z")

</div>

**imap** extension requires libc-client library, provided by uw-imap project which is dead for years (last version from 2007)

Nobody should use it.

**imap** extension have recently been removed from PHP (and moved to pecl) for this reason.

Some pure-PHP alternatives exist, ex [laminas-mail - Laminas Docs](https://docs.laminas.dev/laminas-mail/)

Indeed, available in my repository, provided for legacy applications.

---

<div class="post-metadata">

**Author:** ![microlinux](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/microlinux/32/1244_2.png) [@microlinux](https://forums.rockylinux.org/u/microlinux)\
**Post date:** [December 31, 2023, 8:01am UTC](https://forums.rockylinux.org/t/missing-php-imap-package-in-rocky-linux-8/12348/4 "2023-12-31T08:01:21Z")

</div>

Thanks for the clarification ! Curiously enough, `php-imap` is listed as a requirement in Dolibarr’s installer since version 16.0.0 up to the last 18.0.4 (but not before).

Go figure.

---

<div class="post-metadata">

**Author:** ![remi](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/remi/32/1425_2.png) [@remi](https://forums.rockylinux.org/u/remi)\
**Post date:** [January 2, 2024, 2:01pm UTC](https://forums.rockylinux.org/t/missing-php-imap-package-in-rocky-linux-8/12348/5 "2024-01-02T14:01:44Z")

</div>

For your information, imap extension is not mandatory for Dolibarr (since v17) only optional

Its optional usage will be dropped later (v20 or v21)

See [Laurent Destailleur (@laurentd\_eldy) on Threads](https://www.threads.net/@laurentd_eldy/post/C1mIFvtIcym)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/1X/91b7219eec10e30013422e4df76c1d898711a5d5.svg) [@system](https://forums.rockylinux.org/u/system)\
**Post date:** [March 2, 2024, 2:02pm UTC](https://forums.rockylinux.org/t/missing-php-imap-package-in-rocky-linux-8/12348/6 "2024-03-02T14:02:34Z")

</div>

Closed on March 2, 2024, 2:02pm UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
