Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
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.

how to install mailparse in directadmin?

How to install mailparse in directadmin?

Comments

  • zenkizenki Member
    edited July 2020

    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

    Thanked by 1lowfan
  • lowfanlowfan Member

    @HyperK9 said:
    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

    Thanks I did this and got

    https://pastebin.com/raw/Tf2id0Jm

  • Shoaib_AShoaib_A Member
    edited July 2020

    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

  • smtalksmtalk Member

    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.

  • zenkizenki Member

    @lowfan said:

    @HyperK9 said:
    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

    Thanks I did this and got

    https://pastebin.com/raw/Tf2id0Jm

    You need to go to your PHP config (/usr/local/php72/lib/php.ini), and remove popen from disable_functions field.

Sign In or Register to comment.