In this post, I will demonstrate how add PHPs IMAP mail functions to an Amazon ec2 instance. I will also describe how to do it on Debian and Centos Linux servers also.
Using YUM just use the following at the command prompt from a command line shell:
sudo yum install php-imap
On Debian servers, do this instead:
sudo apt_get install php5-imap
Next, restart your httpd service. On an amazon ec2 instance and most other Linux servers you can do this:
sudo service httpd restart
1 blog comments below
Thank you, this is super helpful!
neiesc on Fri Jul 26, 2013 11:12 pm