What steps should be taken to install/configure IMAP support in PHP without having to recompile PHP?

To install/configure IMAP support in PHP without recompiling PHP, you can simply install the IMAP extension using a package manager like apt or yum. Once the extension is installed, you can enable it in your php.ini configuration file by adding the line "extension=imap.so". Finally, restart your web server for the changes to take effect.

// Enable IMAP extension
sudo apt-get install php-imap

// Add extension to php.ini
extension=imap.so

// Restart web server
sudo service apache2 restart