Skip to content
This repository was archived by the owner on Dec 2, 2020. It is now read-only.
This repository was archived by the owner on Dec 2, 2020. It is now read-only.

Disable PEAR by default #92

@alexmace

Description

@alexmace

I'd like to propose disabling the installation of PEAR with PHP, for a few reasons.

  • PEAR really doesn't work well with multiple PHP versions - it can't manage it's dependencies properly based on the PHP version, leading to incompatibilities.
  • It has been largely replacing in community usage by composer, which allow management of dependencies on a per project and per PHP version basis.
  • It appears highly likely that PEAR will be deprecated in a forthcoming version of PHP and removed in PHP 8: https://wiki.php.net/rfc/deprecate-pear-include-composer
  • PEAR itself is hosted on a single server, and when it is not available installation of PHP by this module fails. This bit us last year and resulted in us disabling pear in out usage.

So I would propose that this module, by default, does not include PEAR with PHP. A heira config would be added to allow the installation of it.

I can submit a PR for this if it is something we can do.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions