[ https://issues.apache.org/jira/browse/LOG4PHP-173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13221284#comment-13221284 ]
Ivan Habunek commented on LOG4PHP-173: -------------------------------------- Unfortunately, I'm not a PEAR person, and neither is any of the other devs on the project currently. It's my experience that PEAR repo can become corrupt sometimes when upgrading, it has happened to me with PHPUnit several times. If you have the time and energy, you're very welcome to help us improve our PEAR build procedure. I can show you what's currently being done. As far as this issue is concerned, I will leave it open since log4php is almost certainly not compatible with PHP 5.2.0. I will perform unit tests on 5.2.7 which is the lowest version compatible with PHPUnit. Then we can update minimum requirements accordingly. Do you actually use 5.2.6 actively? It's pretty ancient. Frankly, I doubt we will be supporting versions below 5.2.7 because of PHPUnit incompatibility. > 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