[ https://issues.apache.org/jira/browse/LOG4PHP-173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13221269#comment-13221269 ]
Bruce Ingalls commented on LOG4PHP-173: --------------------------------------- My mistake: my PHP version is 5.2.6 Running PHP_CompatInfo v2.2.5, claims that v5.2.0 is the minimum: http://pear.php.net/package/PHP_CompatInfo Indeed, you are right. The pear install for my v5.2.6 system is corrupt, while the pear install for the same log4php version for v5.3.6 is working. It sounds like you've seen this problem before, and that PEAR needs SHA hashes to reduce this problem. You can close this issue. Thanks, Bruce > Minimum PHP version requirement > ------------------------------- > > Key: LOG4PHP-173 > URL: https://issues.apache.org/jira/browse/LOG4PHP-173 > Project: Log4php > Issue Type: Dependency upgrade > Components: Documentation > Affects Versions: 2.2.1 > Environment: PHP v5.2.26 > Reporter: Bruce Ingalls > Labels: documentation > Fix For: 2.2.1 > > Original Estimate: 24h > Remaining Estimate: 24h > > Documentation claims that Log4php supports PHP v5.2. The simplest example in > quickstart works for v5.3, but fails for v5.2.26: > Fatal error: Call to a member function close() on a non-object in > ~PEAR/log4php/Logger.php on line 302 > Further, your unit testing section at > http://wiki.apache.org/logging-log4php/WritingTests uses phpunit, which > requires PHP v5.2.27+ > This implies that you are not testing older versions of PHP, unless you've > built a legacy test harness. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira