Skip to content

Disable PEAR by default - #3781

Closed
nikic wants to merge 1 commit into
php:PHP-7.4from
nikic:disable-pear-by-default
Closed

nikic wants to merge 1 commit into
php:PHP-7.4from
nikic:disable-pear-by-default

Conversation

@nikic

@nikic nikic commented Feb 1, 2019

Copy link
Copy Markdown
Member

No description provided.

@KalleZ

KalleZ commented Feb 1, 2019

Copy link
Copy Markdown
Member

About time we go forward with this, +1

Comment thread configure.ac
PHP_ARG_WITH(pear, [whether to install PEAR],
[ --with-pear=DIR Install PEAR in DIR @<:@PREFIX/lib/php@:>@
--without-pear Do not install PEAR], DEFAULT, yes)
[ --with-pear=DIR Install PEAR in DIR @<:@PREFIX/lib/php@:>@], no, yes)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMHO:

Suggested change
[ --with-pear=DIR Install PEAR in DIR @<:@PREFIX/lib/php@:>@], no, yes)
[ --with-pear=DIR Install PEAR in DIR @<:@PREFIX/lib/php@:>@ (deprecated)], no, yes)

...

@dbalabka

dbalabka commented Feb 5, 2019

Copy link
Copy Markdown

I have faced with the issue that PECL is part of PEAR and not sure there is a way to install it separately. Hope disabling PEAR is a short term solution

@nikic

nikic commented Feb 11, 2019

Copy link
Copy Markdown
Member Author

Merged as e93d6d9 together with a deprecation warning.

@torinaki No, this is not a short-term change. The option to install PEAR as part of the PHP installation process will be removed in the future. PEAR should be installed using go-pear.phar or similar instead. (Just like we don't install Composer as part of the PHP installation either.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants