PHP: License Information
PHP Licensing
For licensing and copyright information on the PHP project materials, please see the following links:
PHP Codebase
PHP 4 and PHP 5 are distributed under the
PHP License v3.01, copyright (c) the PHP Group.
This is an Open Source license,
certified by the Open Source Initiative.
The PHP license is a BSD-style license which does not have the "copyleft"
restrictions associated with GPL.
Some files have been contributed under other (compatible) licenses and carry
additional requirements and copyright information.
This is indicated in the license + copyright comment block at the top of the source file.
Practical Guidelines:
Distributing PHP
Contributing to PHP
PHP Documentation
The PHP manual text and comments are covered by the
Creative Commons Attribution 3.0 License,
copyright (c) the PHP Documentation Group
Summary in human-readable form
Practical Information: Documentation HOWTO
PHP Website
The Website copyright can be viewed here: Website Copyright
PHP Logo
The Logo license terms can be viewed on the Logo and Icon Download page
Frequently Asked Questions
Use of the "PHP" name
Q. I've written a project in PHP that I'm going to release
as open source, and I'd like to call it PHPTransmogrifier. Is that
OK?
A.
We cannot really stop you from using PHP in the name of
your project unless you include any code from the PHP distribution, in
which case you would be violating the license.
See Clause 4 in the
PHP License v3.01.
But we would really prefer if people would come up with their own names
independent of the PHP name.
"Why?" you ask. You are only trying to contribute to the PHP
community. That may be true, but by using the PHP name you are
explicitly linking your efforts to those of the entire PHP development
community and the years of work that has gone into the PHP project.
Every time a flaw is found in one of the thousands of applications out
there that call themselves "PHP-Something" the negative karma that
generates reflects unfairly on the entire PHP project. We had nothing
to do with PHP-Nuke, for example, and every bugtraq posting on that
says "PHP" in it. Your particular project may in fact be the greatest
thing ever, but we have to be consistent in how we handle these
requests and we honestly have no way of knowing whether your project
is actually the greatest thing ever.
So, please, pick a name that stands on its own merits. If your
stuff is good, it will not take long to establish a reputation for
yourselves. Look at Zope, for example, that is a framework for Python
that doesn't have Python in the name. Smarty as well doesn't have PHP
in the name and does quite well.
Change in licensing from PHP 4 onwards
Q. Why is PHP 4 not dual-licensed under the GNU General
Public License (GPL) like PHP 3 was?
A. GPL enforces many restrictions on what can and cannot
be done with the licensed code. The PHP developers decided to
release PHP under a much more loose license (Apache-style), to help
PHP become as popular as possible.
Licensing information for related projects
For related projects, please refer to licensing information on the Project websites: