PHP License

PHP License
Latest version4.0 Edit this on Wikidata
PublisherThe PHP Group
PublishedMay 2026
SPDX identifierBSD-3-Clause
Debian FSG compatibleNo
FSF approvedYes
OSI approvedYes
GPL compatibleYes
CopyleftNo
Websitewww.php.net/license/ Edit this on Wikidata

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. 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.