PHP Mailparse PECL extension in directadmin Php 7.2 Print

  • #directadmin, #PHP Mailparse PECL
  • 0

PHP Mailparse PECL extension in directadmin Php 7.2

Step 1

login to ssh

and then run this command

curl http://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/r/re2c-0.14.3-2.el7.x86_64.rpm --output re2c-0.14.3-2.el7.x86_64.rpm

  1. Install the RPM

rpm -Uvh re2c-0.14.3-2.el7.x86_64.rpm

Step 2

Later version PHP Mailparse is 3.0.3

and then run

 pecl install mailparse-3.0.3
step 3

after installation

 You should add "extension=mailparse.so" to php.ini

location of php.ini

/usr/local/lib

step 4

restart the apache service

systemctl restart  httpd.service

 


Was this answer helpful?

« Back

Powered by WHMCompleteSolution


["\r\n