Skip to content

Conversation

petk
Copy link
Member

@petk petk commented Oct 12, 2017

PEAR installation requires to have xml and libxml extensions enabled. However when the xml extension is installed as shared one (--enable-xml=shared) the installation fails. This patch fixes bug #75346 with additional ini entries passed to php cli command for installing PEAR.

@petk
Copy link
Member Author

petk commented Oct 12, 2017

Note: this won't work yet because PECL binary needs to have shared extension configuration added as well here:
https://github.com/pear/pear-core/blob/master/scripts/pecl.sh#L28

sed -i 's/\$INCARG/& -d extension=xml.so/' usr/bin/pecl

Checking it out... If someone comes with a better patch, please do :)

PEAR installation requires to have xml and libxml extensions enabled.
However when the xml extension is installed as shared one
(--enable-xml=shared) the installation fails. This patch fixes this with
additional ini entries passed to php cli command for installing PEAR.
@petk
Copy link
Member Author

petk commented Nov 26, 2017

Hello, patched more, commits squashed, and additional pull request sent to pear-core.

@petk petk closed this Feb 18, 2018
@petk petk deleted the patch-pear branch February 18, 2018 03:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants