New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Comments
I had some trouble with this before when trying to install Blesta on Directadmin.
If you are on CentOS, try this
yum install re2c -y && pecl install mailparse
Another method is to install directly from source (assuming you are using PHP 7.3)
wget https://pecl.php.net/get/mailparse-3.1.0.tgz
tar -zxvf mailparse-3.1.0.tgz;
/usr/local/php73/bin/phpize
./configure --with-php-config=/usr/local/php73/bin/php-config
make
make install
And for both methods, make sure to add mailparse.so to the php config.
echo "extension=mailparse.so" > /usr/local/php73/lib/php.ini
Thanks I did this and got
https://pastebin.com/raw/Tf2id0Jm
On a server with DirectAdmin installed, the easiest way to install mailparse & other PECL extensions for PHP is by using the script found on the URL below
https://help.poralix.com/articles/install-pecl-extension-for-php-directadmin-server
If that's a common thing - just add to feedback.directadmin.com, ask other people who need it to upvote it, and we'll have it included into default php-extensions list available for installation soon.
You need to go to your PHP config (/usr/local/php72/lib/php.ini), and remove popen from disable_functions field.