# PHP-IMAP in VM not included

**URL:** <https://forum.virtualmin.com/t/php-imap-in-vm-not-included/107744>\
**Category:** Virtualmin\
**Created:** [October 13, 2020, 8:26pm UTC](https://forum.virtualmin.com/t/php-imap-in-vm-not-included/107744 "2020-10-13T20:26:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ilouie](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/i/7cd45c/32.png) [@ilouie](https://forum.virtualmin.com/u/ilouie)\
**Post date:** [October 13, 2020, 8:26pm UTC](https://forum.virtualmin.com/t/php-imap-in-vm-not-included/107744/1 "2020-10-13T20:26:37Z")

</div>

**Operating system:**  
**OS version:**

Guys, I installed PHP 74 from VM repository and I can’t find a way to enable IMAP support and Mbstring support. Here’s what I did:

Installing PHP 7.4 on CentOS 7  
Install Remi Release repo and clear cache:

yum -y install [http://rpms.remirepo.net/enterprise/remi-release-7.rpm](http://rpms.remirepo.net/enterprise/remi-release-7.rpm) && yum clean all  
Install PHP packages version 7.4:

yum -y install php74-php-{cli,pdo,fpm,zip,gd,xml,mysqlnd}

I also tried yum install php-imap butl, it said latest already installed. I also received this:  
CentOS-Base.repo CentOS-x86\_64-kernel.repo remi-php70.repo  
CentOS-CR.repo epel.repo remi-php71.repo  
CentOS-Debuginfo.repo epel-testing.repo remi-php72.repo  
CentOS-fasttrack.repo remi-glpi91.repo remi-php73.repo  
CentOS-Media.repo remi-glpi92.repo remi-php74.repo  
CentOS-SCLo-scl.repo remi-glpi93.repo remi-php80.repo  
CentOS-SCLo-scl-rh.repo remi-glpi94.repo remi.repo  
CentOS-Sources.repo remi-modular.repo remi-safe.repo  
CentOS-Vault.repo remi-php54.repo virtualmin.repo  
[root@ns1 ~]# yum install php-imap  
Loaded plugins: fastestmirror  
Loading mirror speeds from cached hostfile

- base: mirror.cs.vt.edu
- centos-sclo-rh: [centos5.zswap.net](http://centos5.zswap.net)
- centos-sclo-sclo: [centos.mirror.constant.com](http://centos.mirror.constant.com)
- epel: [epel.mirror.constant.com](http://epel.mirror.constant.com)
- extras: [mirror.trouble-free.net](http://mirror.trouble-free.net)
- remi-safe: [mirror.pit.teraswitch.com](http://mirror.pit.teraswitch.com)
- updates: mirror.lug.udel.edu  
Package php-imap-5.4.16-9.el7.x86\_64 already installed and latest version  
Nothing to do  
Would anyone have any suggestions?.. I need to enable these in order to install a software. TY

---

<div class="post-metadata">

**Author:** ![Ilia](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/ilia/32/10185_2.png) [@Ilia](https://forum.virtualmin.com/u/Ilia)\
**Post date:** [October 14, 2020, 8:45am UTC](https://forum.virtualmin.com/t/php-imap-in-vm-not-included/107744/2 "2020-10-14T08:45:33Z")

</div>

Hi,

> [@ilouie](#):
>
> Would anyone have any suggestions?.. I need to enable these in order to install a software. TY

This is what you need:

```auto
yum -y install php74-php-{mbstring,imap}

```

---

<div class="post-metadata">

**Author:** ![ilouie](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/i/7cd45c/32.png) [@ilouie](https://forum.virtualmin.com/u/ilouie)\
**Post date:** [October 14, 2020, 1:05pm UTC](https://forum.virtualmin.com/t/php-imap-in-vm-not-included/107744/3 "2020-10-14T13:05:22Z")

</div>

Cooool… Thanks…

---

<div class="post-metadata">

**Author:** ![system](https://cdn.forum.virtualmin.com/uploads/default/original/2X/c/cd96d761e326db4b2bef94886a639109bd7a8e76.svg) [@system](https://forum.virtualmin.com/u/system)\
**Post date:** [October 18, 2020, 1:05pm UTC](https://forum.virtualmin.com/t/php-imap-in-vm-not-included/107744/4 "2020-10-18T13:05:28Z")

</div>

Closed on October 18, 2020, 1:05pm UTC

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