[CentOS] PHP error message when running yum update on CentOS 7

Tue Mar 14 20:25:27 UTC 2023
H <agents at meddatainc.com>

Running yum update on a CentOS 7.9 server today I encountered the following error:

PHP Warning:  PHP Startup: Unable to load dynamic library 'imap.so' (tried: /usr/lib64/php/modules/imap.so (/usr/lib64/php/modules/imap.so: cannot open shared object file: No such file or directory), /usr/lib64/php/modules/imap.so.so (/usr/lib64/php/modules/imap.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

How do I handle this error?

Thank you.