Re: License for PHP 8.x?
| From: | Nikita Popov | Date: | Mon, 19 Jul 2021 07:31:41 +0000 |
| Subject: | Re: License for PHP 8.x? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-115473@lists.php.net to get a copy of this message | ||
On Mon, Jul 19, 2021 at 5:56 AM Mike Schinkel <mike@newclarity.net> wrote:
> I was just checking to see what the license was for PHP and this page[1]
> states:
>
> "PHP 4, PHP 5 and PHP 7 are distributed under the PHP License
> v3.01, copyright (c) the PHP Group."
>
> Can I assume that PHP 8 is also distributed under the PHP License v3.01
> and that this page on PHP.net <http://php.net/> has just
> not yet been
> updated to reflect the existence of PHP 8?
>
Yes, see https://github.com/php/php-src/blob/master/LICENSE.
The page
should be updated to say something like "PHP 4 and newer".
> -Mike
> P.S. Relatedly, if someone wants to publish code in a GitHub repo with
> intent to try to have it included in PHP what license should be used?
> Would BSD-3 be appropriate?
>
While both MIT and BSD are compatible, it's generally preferred to license
it under the PHP license. This allows free code movement within php-src.
Regards,
Nikita