To install on centos try:
> yum install php-cli php-mailparse
..and then restart apache..
> systemctl restart httpdQuesta estensione » PECL non è inclusa in PHP. Informazioni per l'installazione di questa estensione PECL possono essere trovate nel capitolo del manuale intitolato Installazione delle estensioni PECL. Informazioni aggiuntive come nuove release, download, file sorgenti, informazioni sul manutentore e un CHANGELOG possono essere trovate qui: » https://pecl.php.net/package/mailparse.
In order to use these functions you must compile PHP with mailparse support by using the --enable-mailparse configure option.
Windows users will enable php_mailparse.dll inside of php.ini in order to use these functions. I binari per Windows (file DLL) di questa estensione PECL sono disponibili sul sito web di PECL.
It is necessary that the mbstring extension is loaded before mailparse.