IT lexicon › Programming › PHP License

PHP License

Programming På svenska → Updated: 2026-11-02

The BSD-style licence the PHP interpreter has shipped under since PHP 4, with a naming clause that makes it fussier than it needs to be.

The core is permissive: use it, change it, redistribute it, keep the copyright notice. What sets it apart are the naming rules. Derived products may not be called PHP or carry PHP in their name without written permission from the PHP Group, and they must include a sentence saying they contain PHP software. Version 3.01 is the current one.

The OSI approved it and the FSF counts it as free, but it is GPL-incompatible. Because the text names the PHP Group and PHP software explicitly, it also makes little sense for anything other than PHP itself, and Debian has long rejected non-PHP packages that borrow it. In 2025 a proposal was put forward to move future versions to the three-clause BSD licence instead.

← Back to the lexicon