mailparse and php-fpm

microz

Verified User
Joined
Jun 10, 2009
Messages
124
Location
Santiago, Chile
Hello

Im try enable PHP Mailparse PECL extension, but not found some guide in forum, some suggestion about as should be installed?

---

Externally i found

Install
Code:
pecl install mailparse

File location
Code:
/usr/local/php54/lib/php/extensions/no-debug-non-zts-20100525/mailparse.so

Should be simple as add ioncube loader?

---

Solved
Its ok use pecl for install mailparse and then add this extension in extension_dir of directadmin, that should be

Code:
/usr/local/php54/lib/php.conf.d/directadmin.ini

Edit and add

Code:
extension=/usr/local/php54/lib/php/extensions/no-debug-non-zts-20100525/mailparse.so

* change php54 folder according to your version of php
 
Last edited:
My suggestions:
  1. Don't touch directadmin.ini, just create a mycustom.ini file and add your extensions there. You never know when custombuild is going to overwrite that directadmin.ini file.
  2. No need to add the full path, just type extension=mailparse.so
 
Back
Top