Download

Apache log4php™ is a versatile logging framework for PHP.

Apache log4php is distributed under the Apache License, version 2.0.

Version 2.3.0 is the latest stable version, available since 13.10.2012.

Source package

The source package contains the complete source code and API docs. This is recommended for most users.

MirrorsChecksumSignature
apache-log4php-2.3.0-src.tar.gzMD5ASC
apache-log4php-2.3.0-src.zipMD5ASC

Via Composer

Install composer in your project:

curl -s http://getcomposer.org/installer | php

Create a composer.json file in your project root:

{
    "require": {
        "apache/log4php": "2.3.0"
    }
}

Install using Composer:

php composer.phar install

Pear package

To install from the Apache log4php PEAR channel:

pear channel-discover pear.apache.org/log4php
pear install log4php/Apache_log4php

Alternatively, the PEAR package can be downloaded from:

MirrorsChecksumSignature
Apache_log4php-2.3.0.tgzMD5ASC

From repository

The latest development version can be checked out from the project repository. This will provide access to all the latest features, but may be unstable and should not be used in production systems.

Previous Releases

All previous releases of Apache log4php can be found in the archive repository.

Please mind the signatures

It is important that you verify the integrity of the downloaded files using the PGP or MD5 signatures. Please read Verifying Apache HTTP Server Releases for more information on why you should verify our releases.

The PGP signatures can be verified using PGP or GPG. First download the KEYS as well as the asc signature file for the relevant distribution. Make sure you get these files from the main distribution directory, rather than from a mirror.

Then verify the signatures using GPG perform the following:

# gpg --import KEYS
# gpg --verify apache-log4php-2.3.0-src.tar.gz.asc

This should result in a confirmation message:

gpg: Signature made Fri 27 Nov 2009 07:47:28 AM CET using DSA key ID 42196CA8
gpg: Good signature from "Christian Grobmeier (Apache Codesigning) <grobmeier@apache.org>"

Apache log4php 2.3.0 is signed by Ivan Habunek (key 0BD936F1).

Alternatively, you can verify the MD5 signature on the files.