This is the "how to do" :

1 - i want to install it under PHP 7.0X

2 - step by step from console as root:
# yum install re2c
# yum install lsphp70-devel make gcc glibc-devel zlib-devel
# /usr/local/lsws/lsphp70/bin/pecl install mailparse
# chmod 755 /usr/local/lsws/lsphp70/lib64/php/modules/*