PHP License

The PHP License is the software license under which the PHP scripting language is released. The PHP License is designed to encourage widespread adoption of the source code. Redistribution is permitted in source or binary form with or without modifications, with some caveats.

PHP License
Latest version3.01
PublisherThe PHP Group
SPDX identifierPHP-3.0, PHP-3.01
DFSG compatibleNo[1]
FSF approvedYes[2]
OSI approvedYes[3][4]
GPL compatibleNo[2]
Website Edit this on Wikidata

Version 3 of PHP used a dual license—PHP 3's source is available under either the PHP License or the GNU General Public License (GPL). This practice was discontinued as of PHP 4, with PHP's developers citing the restrictions on reuse associated with the GPL's copyleft enforcement as being the reason for dropping it.[5] The Zend Engine, the core of the PHP interpreter, is separately licensed under the similar Zend Engine License[6], which contains similar naming restrictions to the PHP license (applying to the names "Zend" and "Zend Engine"), and a clause requiring advertising materials to mention its use.


The PHP License is an open source license according to the Open Source Initiative, and a non-copyleft free software license according to the Free Software Foundation.[3][4][2] The license is GPL-incompatible due to restrictions on the usage of the term PHP.[2]

Debian maintainers have had a long-standing discussion (since at least 2005) about the validity of the PHP license.[7] Expressed concerns include that the license "contains statements about the software it covers that are specific to distributing PHP itself", which, for other software than PHP itself therefore would be "false statements".

See alsoEdit


  1. ^ "Debian -- License information". 2015-06-23. Retrieved 2015-11-20.
  2. ^ a b c d e "GPL-Incompatible, Free Software Licenses". Various Licenses and Comments about Them. Free Software Foundation.
  3. ^ a b "OSI-approved licenses by name". Alphabetized list of open source licenses approved by the Open Source Initiative (OSI).
  4. ^ a b "PHP License 3.01 (PHP-3.01)". Text of the PHP License 3.01 as approved by the Open Source Initiative (OSI).
  5. ^ "Why is PHP 4 not dual-licensed under the GNU General Public License (GPL) like PHP 3 was?". PHP: License Information FAQ.
  6. ^ "Zend License 2.00". Zend Engine: License Information. Archived from the original on 2013-05-17.
  7. ^ "Debian concerns". 2014-09-09. Retrieved 2014-09-29.

External linksEdit