You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Kate Gray (Jira)" <ji...@apache.org> on 2019/10/26 21:12:00 UTC
[jira] [Commented] (LOG4PHP-237) unable to install log4php via
pear: unable to resolv hostname pear.apache.org
[ https://issues.apache.org/jira/browse/LOG4PHP-237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16960436#comment-16960436 ]
Kate Gray commented on LOG4PHP-237:
-----------------------------------
[~level420]
It looks like this was anticipated:
[http://apache-logging.6191.n7.nabble.com/NOTICE-pear-apache-org-is-being-shut-down-April-20th-2017-td75208.html]
I recognize this is an older issue, but you may wish to upgrade to composer instead.
"composer require apache/log4php" should do the job nicely.
> unable to install log4php via pear: unable to resolv hostname pear.apache.org
> -----------------------------------------------------------------------------
>
> Key: LOG4PHP-237
> URL: https://issues.apache.org/jira/browse/LOG4PHP-237
> Project: Log4php
> Issue Type: Bug
> Components: Code, Website
> Affects Versions: 2.3.0
> Environment: centos 7, php 5.6 via rh scl repo and php 5.6, 7.0 and 7.1 with webtatic repo
> Reporter: Dietrich Streifert
> Priority: Critical
>
> When trying the discover part of pear for the pear.apache.org/log4php via
> {quote}pear channel-discover pear.apache.org/log4php{quote}
> we get the following error message:
> {quote}
> Discovering channel pear.apache.org/log4php over http:// failed with message: channel-add: Cannot open "http://pear.apache.org/log4php/channel.xml" (Connection to `pear.apache.org:80' failed: php_network_getaddresses: getaddrinfo failed: Name or service not known)
> Trying to discover channel pear.apache.org/log4php over https:// instead
> Discovery of channel "pear.apache.org/log4php" failed (channel-add: Cannot open "https://pear.apache.org/log4php/channel.xml" (Connection to `pear.apache.org:443' failed: php_network_getaddresses: getaddrinfo failed: Name or service not known))
> {quote}
> Trying to resolve the hostname via dns gives ends with the following error message:
> {quote}
> ** server can't find pear.apache.org: NXDOMAIN
> {quote}
> Verified on different hosts with differen providers and even with https://toolbox.googleapps.com/apps/dig/#A/
> About approx. 10 days ago this worked.
> This leads to failing docker image builds for our php-fcgi images.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)