Uploaded image for project: 'Log4php'
  1. Log4php
  2. LOG4PHP-173

Minimum PHP version requirement

    XMLWordPrintableJSON

Details

    • Dependency upgrade
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • 2.2.1
    • None
    • Documentation
    • PHP v5.2.6

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bingalls Bruce Ingalls
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified