PHP License
Template:Short description Template:DMCA Template:DMCA
Page Module:Infobox/styles.css has no content.
| Latest version | Template:Wikidata |
|---|---|
| Publisher | The PHP Group |
| Published | Template:Wikidata |
| Debian FSG compatible | No[1][2] |
| FSF approved | Yes[3] |
| OSI approved | Yes[4][5] |
| GPL compatible | Yes[3] |
| Copyleft | No[3] |
| Website | Script error: No such module "WikidataIB". |
The PHP License is the open-source 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.
Beginning with PHP version 8.6 in 2026, the PHP and Zend licences are reduced to three clauses and they become equivalent to the 3-clause BSD license.[3] This change made the licences GPL compatible. according to the old licenses clause 4 or 5 you can use any php license under newer terms which backdated php to be gpl compatible now.[6][7]
Earlier versions
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.[8] The Zend Engine, the core of the PHP interpreter, is separately licensed under the similar Zend Engine License,[9] 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.
Criticism of early versions
Version 3 of 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.[4][5][10] The license is GPL-incompatible due to restrictions on the usage of the term PHP.[10]
Debian maintainers have had a long-standing discussion (since at least 2005) about the validity of the PHP license.[11] 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".
Debian has a specific policy for the license (and requires a statement in debian/copyright file when it is used): "The PHP license must only be used for PHP and PHP add-ons."[12]
See also
Lua error in mw.title.lua at line 404: bad argument #2 to 'title.new' (unrecognized namespace name 'Portal').
- Apache License
- Software using the PHP license (category)
References
Page Template:Reflist/styles.css has no content.
- ^ Page Module:Citation/CS1/styles.css has no content."Reject FAQ for Debian's NEW-Queue". ftp-master.debian.org. Retrieved January 10, 2021.
- ^ Page Module:Citation/CS1/styles.css has no content."Debian -- License information". June 23, 2015. Retrieved November 20, 2015.
- ^ a b c d Page Module:Citation/CS1/styles.css has no content."PHP: License Information". www.php.net. Retrieved April 26, 2026.
- ^ a b Page Module:Citation/CS1/styles.css has no content."OSI-approved licenses by name". Alphabetized list of open source licenses approved by the Open Source Initiative (OSI).
- ^ a b Page Module:Citation/CS1/styles.css has no content."PHP License 3.01 (PHP-3.01)". Text of the PHP License 3.01 as approved by the Open Source Initiative (OSI).
- ^ Page Module:Citation/CS1/styles.css has no content."An example PHP License, version 2.01 file". Retrieved May 5, 2026.
- ^ Page Module:Citation/CS1/styles.css has no content."An example PHP License, version 3.01 file". Retrieved May 5, 2026.
- ^ Page Module:Citation/CS1/styles.css has no content."Why is PHP 4 not dual-licensed under the GNU General Public License (GPL) like PHP 3 was?". PHP: License Information FAQ. PHP.net.
- ^ Page Module:Citation/CS1/styles.css has no content."Zend License 2.00". Zend Engine: License Information. Archived from the original on May 17, 2013.
- ^ a b Page Module:Citation/CS1/styles.css has no content."GPL-Incompatible, Free Software Licenses". Various Licenses and Comments about Them. Free Software Foundation.
- ^ Page Module:Citation/CS1/styles.css has no content."Debian concerns". September 9, 2014. Retrieved September 29, 2014.
- ^ Page Module:Citation/CS1/styles.css has no content."Debian position on software licensed under the PHP License". ftp-master.debian.org. August 2016. Retrieved January 10, 2021.