Search code examples
pearphp

Adding Pear Package Extension to PHP-FPM


So, I compiled php 5.2 for php-fpm along with the "--with-pear" option. How would I now include a pear package extension? Specifically, I want to add: http://pear.php.net/package/Mail_Mime/download

Perhaps a really simple problem but I'm still really need to php-fpm and documentation is pretty limited.


Solution

  • Like usual

    $ /path/to/pear install Mail_Mime
    

    or (if the pear script is already on your PATH)

    $ pear install Mail_Mime