Install the PHP IMAP extension on Debian

Xavier Mustin

Administrator
Staff member
#1
To install the PHP IMAP extension on Debian, run the following from the command line either as root or using the sudo command:
Code:
aptitude install php5-imap
You'll be able to immediately access the IMAP functions from the command line interface but will need to gracefully restart Apache to access the functions in your web based scripts by running the following either as root or using the sudo command:

Code:
apache2ctl graceful
OR
Code:
/usr/sbin/apache2ctl graceful
Now you should be able to use the PHP IMAP functions.
 
Haut