pear - PHP PEAR Packages

Supported Uses in FPM

fpm supports using pear only as an input type. This means you can convert pear input packages to output packages like deb, rpm, and more.

pear-specific command line flags

  • --pear-bin-dir BIN_DIR
    • Directory to put binaries in
  • --pear-channel CHANNEL_URL
    • The pear channel url to use instead of the default.
  • --[no-]pear-channel-update
    • call ‘pear channel-update’ prior to installation
  • --pear-data-dir DATA_DIR
    • Specify php dir relative to prefix if differs from pear default (pear/data)
  • --pear-package-name-prefix PREFIX
    • Name prefix for pear package
  • --pear-php-bin PHP_BIN
    • Specify php executable path if differs from the os used for packaging
  • --pear-php-dir PHP_DIR
    • Specify php dir relative to prefix if differs from pear default (pear/php)