origianl source :http://wiki.cerbweb.com/Installing_PHP_Mailparse

You will need to install the following packages

 sudo apt-get install php5-gd php5-imap php-pear php5-dev make php5-mcrypt

Now you can install mailparse

 sudo pecl install mailparse

Next edit your php.ini file and add mailparse.so

 sudo nano /etc/php5/apache2/conf.d/mailparse.ini


 sudo nano /etc/php5/conf.d/mailparse.ini

This will create a new file. Add the line


Leave a Reply

Post Navigation