PHP License
| Latest version | 4.0 |
|---|---|
| Publisher | The PHP Group |
| Published | May 2026 |
| SPDX identifier | BSD-3-Clause |
| Debian FSG compatible | No |
| FSF approved | Yes |
| OSI approved | Yes |
| GPL compatible | Yes |
| Copyleft | No |
| Website | www |
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.