| ~~ Licensed to the Apache Software Foundation (ASF) under one or more |
| ~~ contributor license agreements. See the NOTICE file distributed with |
| ~~ this work for additional information regarding copyright ownership. |
| ~~ The ASF licenses this file to You under the Apache License, Version 2.0 |
| ~~ (the "License"); you may not use this file except in compliance with |
| ~~ the License. You may obtain a copy of the License at |
| ~~ |
| ~~ https://www.apache.org/licenses/LICENSE-2.0 |
| ~~ |
| ~~ Unless required by applicable law or agreed to in writing, software |
| ~~ distributed under the License is distributed on an "AS IS" BASIS, |
| ~~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| ~~ See the License for the specific language governing permissions and |
| ~~ limitations under the License. |
| ------ |
| Download |
| ------ |
| ------ |
| ------ |
| |
| Download |
| |
| Apache log4php\u2122 is a versatile logging framework for PHP. |
| |
| Apache log4php is distributed under the {{{https://www.apache.org/licenses/LICENSE-2.0.html} 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. |
| |
| *----------+-----------+------------+ |
| || Mirrors || Checksum || Signature | |
| *----------+-----------+------------+ |
| | {{{https://www.apache.org/dyn/closer.cgi/logging/log4php/2.3.0/apache-log4php-2.3.0-src.tar.gz}apache-log4php-2.3.0-src.tar.gz}} | {{{https://www.apache.org/dist/logging/log4php/2.3.0/apache-log4php-2.3.0-src.tar.gz.sha512}SHA-512}} | {{{https://www.apache.org/dist/logging/log4php/2.3.0/apache-log4php-2.3.0-src.tar.gz.asc}ASC}} | |
| *----------+-----------+------------+ |
| | {{{https://www.apache.org/dyn/closer.cgi/logging/log4php/2.3.0/apache-log4php-2.3.0-src.zip}apache-log4php-2.3.0-src.zip}} | {{{https://www.apache.org/dist/logging/log4php/2.3.0/apache-log4php-2.3.0-src.zip.sha512}SHA-512}} | {{{https://www.apache.org/dist/logging/log4php/2.3.0/apache-log4php-2.3.0-src.zip.asc}ASC}} | |
| *----------+-----------+------------+ |
| |
| * Via Composer |
| |
| Install composer in your project: |
| |
| +-- |
| curl -s https://getcomposer.org/installer | php |
| +-- |
| |
| Create a composer.json file in your project root: |
| |
| +-- |
| { |
| "require": { |
| "apache/log4php": "^2.3" |
| } |
| } |
| +-- |
| |
| Install using Composer: |
| |
| +-- |
| php composer.phar install |
| +-- |
| |
| * Pear package |
| |
| PEAR is no longer supported. |
| |
| * From repository |
| |
| The latest development version can be checked out from the {{{./source-repository.html}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 {{{http://archive.apache.org/dist/logging/log4php}archive repository}}. |
| |
| * Please mind the signatures |
| |
| It is important that you verify the integrity of the downloaded files using the PGP or SHA512 signatures. |
| Please read {{{https://httpd.apache.org/dev/verification.html}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 {{{http://www.apache.org/dist/logging/log4php/KEYS}KEYS}} |
| as well as the asc signature file for the relevant distribution. Make sure you get these files from the |
| {{{http://www.apache.org/dist/logging/log4php}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 SHA512 signature on the files. |