0x01 下载包并解压
http://pecl.php.net/package/mailparse
tar -xzf mailparse.tgz
cd mailparse
0x02 配置
/www/server/php/74/bin/phpize
./configure --with-php-config=/www/server/php/74/bin/php-config
0x03 编译并安装
make
sudo make install
0x04 激活
编辑php.ini或
echo "extension=mailparse.so" >> /www/server/php/74/etc/php.ini
标签:www,php,mailparse,server,74,Linux,PHP,安装
From: https://www.cnblogs.com/xfstu/p/18254789