Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:128015 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by lists.php.net (Postfix) with ESMTPS id 2D3CE1A00BC for ; Sat, 12 Jul 2025 09:19:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1752311845; bh=XjCBdwnMKRiMAQwk5RpntTnGoO/dltS4nx4EFIgB0Sk=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=CrQTZws9QN5fEhizcAe5Mvf2OnwtPYyv/l5WKHl5l09v4mRGuW33k6YGupcwt8EW1 Ik6bysCvUT9XaSvqGo5rv4DOIPbEkc5/oiHTrh8iesPwBBsL7e3Ru6DjkYj/+NZxTb p4uHmATxTkK3U67mGh+w5XDVRlAQVy7vWQsGlfRfbQzmrdKsbCKQKqb9HCj4G8dUg1 f7+/47heFqEFC2Q4oFdNAtZ9D+Qpd/bH3X+xuppj3P0S9Wg9XSoS/4bQCxhQsFuwPK AVHTg4upQeLRJlLi/FY2LM2qLM7ME1A/fd4NLWqB3zOnyhPKpxmgaLHuMRybWqYdM5 KMI+YGKgiIiHg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id E1B6D18006A for ; Sat, 12 Jul 2025 09:17:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on php-smtp4.php.net X-Spam-Level: **** X-Spam-Status: No, score=4.7 required=5.0 tests=BAYES_50,DMARC_NONE, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_SOFTFAIL autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from 16.mo582.mail-out.ovh.net (16.mo582.mail-out.ovh.net [87.98.139.208]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sat, 12 Jul 2025 09:17:24 +0000 (UTC) Received: from director4.ghost.mail-out.ovh.net (unknown [10.110.0.87]) by mo582.mail-out.ovh.net (Postfix) with ESMTP id 4bfNLm0239z6TQJ for ; Sat, 12 Jul 2025 09:19:11 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-774q8 (unknown [10.110.118.160]) by director4.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 388D4C28A8 for ; Sat, 12 Jul 2025 09:19:11 +0000 (UTC) Received: from php.earth ([37.59.142.101]) by ghost-submission-5b5ff79f4f-774q8 with ESMTPSA id dD/YAI8ocmiWlRgAuOgIrg (envelope-from ) for ; Sat, 12 Jul 2025 09:19:11 +0000 Authentication-Results:garm.ovh; auth=pass (GARM-101G0041cbf38cd-dafb-4e26-b227-afdefa3352af, 86BC799B1564D8FE94AFFB5E114F0DE4FB191C1A) smtp.auth=peter.kokot@php.earth X-OVh-ClientIp:209.85.221.175 Received: by mail-vk1-f175.google.com with SMTP id 71dfb90a1353d-531466622beso1141552e0c.1 for ; Sat, 12 Jul 2025 02:19:11 -0700 (PDT) X-Gm-Message-State: AOJu0YwOkPW6gSyaz07D8AQ/Qofhxnnmkou1bmufJx7O6gX1eB2DaKeg 8W6f2hnb1fElgsFI6BmOGiZVpEX6Y26dBjZz++hTQvWCldUk8q/Vx3tNfwseimFSX/QAYhDemnK sitzpNiQC8FR9n3Jj/wLXOnjGqTRp3yg= X-Google-Smtp-Source: AGHT+IERLntwVLFhDmRsn5CNLZG7QaRmeW8LRiNwrw6cXbXK0JJTOul6ydu7TjAKNW20xXviXkBaPaVorA3qn5evUSU= X-Received: by 2002:a05:6122:3541:b0:534:7f57:8e25 with SMTP id 71dfb90a1353d-535f46cf652mr4262985e0c.1.1752311948345; Sat, 12 Jul 2025 02:19:08 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: <70DC3FB4-C98E-4C79-AB2C-F2B65AE8B9F1@php.net> In-Reply-To: <70DC3FB4-C98E-4C79-AB2C-F2B65AE8B9F1@php.net> Date: Sat, 12 Jul 2025 11:18:56 +0200 X-Gmail-Original-Message-ID: X-Gm-Features: Ac12FXxCh2YHRaoPT_qmO67W-aAxQX8o6eGXSoYL1ipoSIQ5kqctCPgQLHlIbAI Message-ID: Subject: Re: [PHP-DEV] [RFC] Updating the PHP License To: Ben Ramsey Cc: PHP internals Content-Type: multipart/alternative; boundary="0000000000003785ee0639b7eba4" X-Ovh-Tracer-Id: 2922554685144162822 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdegheekvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpeggfhgjhfffkffuvfevtgesrgdtreertddtjeenucfhrhhomheprfgvthgvrhcumfhokhhothcuoehpvghtkhesphhhphdrnhgvtheqnecuggftrfgrthhtvghrnhepjeegieelfeefieeuhefhleettdegieegfedtheetgeelvddtteevteffgffhuddunecuffhomhgrihhnpehphhhprdhnvghtpdgthhgvshhtvghklhgvghgrlhdrtghomhdpghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupddvtdelrdekhedrvddvuddrudejhedpfeejrdehledrudegvddruddtudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepphgvthhksehphhhprdhnvghtpdhnsggprhgtphhtthhopedupdhrtghpthhtohepihhnthgvrhhnrghlsheslhhishhtshdrphhhphdrnhgvthdpoffvtefjohhsthepmhhoheekvdgmpdhmohguvgepshhmthhpohhuth From: petk@php.net (Peter Kokot) --0000000000003785ee0639b7eba4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, 10 Jul 2025 at 05:26, Ben Ramsey wrote: > Hello internals, > > I=E2=80=99m opening discussion on an RFC proposing that we relicense PHP = under > the Modified BSD License (SPDX identifier: BSD-3-Clause), starting with > PHP 9.0. This change simplifies and modernizes our licensing, > addressing long-standing issues while preserving the rights of both > contributors and users. Below is a quick summary of what the RFC > proposes and what it means for developers. > > - Proposes that PHP 9.0 adopt the Modified BSD License (BSD-3-Clause), > replacing the current PHP and Zend Engine licenses. > - The Modified BSD License is OSI-approved, GPL-compatible, and widely > recognized in the open source community. > - Your rights as a developer=E2=80=94use, modification, distribution=E2= =80=94remain > unchanged. > - Extensions and tools may adopt BSD-3-Clause in place of the outdated > PHP License. > - The update removes confusing legacy clauses tied to branding and > permissions. > > I=E2=80=99ve spoken with all members of the PHP Group, and each has voice= d their > approval of this proposal. The Perforce legal team has also informally > approved, and I will be working with them to get a formal letter of > approval soon. > > The RFC is available at: https://wiki.php.net/rfc/php_license_update > > Discussion will remain open for at least six months to ensure all > interested parties have an opportunity to respond. > > Cheers, > Ben > > P.S. For legal questions or concerns, I=E2=80=99m working with Pamela Che= stek > of Chestek Legal on behalf of the PHP > Group. You may be familiar with her work as chair of the license > committee for the Open Source Initiative. > Sounds great. I'm sure this was a lot of work involved. Thank you. I'd just have two questions here that are popping up to things I've encountered lately: 1. TSRM (Thread Safe Resource Manager) also has a separate LICENSE file but it is BSD 2 Clause, which is compatible with all of that, I assume. That should be also simplified in some way? Perhaps integrating TSRM into Zend Engine directly at some point or updating its license to 3 clause BSD? 2. To be more clear, the GPL compatibility would probably need to be just slightly clarified to make PHP usage simpler in the future for cases when GPL-licensed software is involved. PHP currently has option to link to two GPL-3 licensed libraries that cause issues when distributing PHP (for example, packaging PHP and providing it as a binary via some package and similar): - GNU readline library for ext/readline (here libedit alternative can be used) https://github.com/php/php-src/issues/16826 - GDBM for ext/dba (here other handlers can be used) https://github.com/php/php-src/issues/15882 So, GPL-compatibility here means that PHP licensed under the Modified BSD License could link to GNU Readline library but it should be relicensed as GPL-3 then? Because I'm thinking of deprecating linking options with GNU Readline and GDBM to make the PHP build process worry-free for packagers. --0000000000003785ee0639b7eba4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Thu, 10 Jul = 2025 at 05:26, Ben Ramsey <ramsey@php.= net> wrote:
Hello internals,

I=E2=80=99m opening discussion on an RFC proposing that we relicense PHP un= der
the Modified BSD License (SPDX identifier: BSD-3-Clause), starting with
PHP 9.0. This change simplifies and modernizes our licensing,
addressing long-standing issues while preserving the rights of both
contributors and users. Below is a quick summary of what the RFC
proposes and what it means for developers.

- Proposes that PHP 9.0 adopt the Modified BSD License (BSD-3-Clause),
=C2=A0 replacing the current PHP and Zend Engine licenses.
- The Modified BSD License is OSI-approved, GPL-compatible, and widely
=C2=A0 recognized in the open source community.
- Your rights as a developer=E2=80=94use, modification, distribution=E2=80= =94remain
=C2=A0 unchanged.
- Extensions and tools may adopt BSD-3-Clause in place of the outdated
=C2=A0 PHP License.
- The update removes confusing legacy clauses tied to branding and
=C2=A0 permissions.

I=E2=80=99ve spoken with all members of the PHP Group, and each has voiced = their
approval of this proposal. The Perforce legal team has also informally
approved, and I will be working with them to get a formal letter of
approval soon.

The RFC is available at: https://wiki.php.net/rfc/php_lic= ense_update

Discussion will remain open for at least six months to ensure all
interested parties have an opportunity to respond.

Cheers,
Ben

P.S. For legal questions or concerns, I=E2=80=99m working with Pamela Chest= ek
of Chestek Legal <https://www.chesteklegal.com> on behalf of t= he PHP
Group. You may be familiar with her work as chair of the license
committee for the Open Source Initiative.

Sounds great. I'm sure this was a lot of work involved. Thank you.
I'd just have two questions here that are popping up to things I&= #39;ve encountered lately:

1. TSRM (Thread Safe Resource Manager) al= so has a separate LICENSE file but it is BSD 2 Clause, which is compatible = with all of that,=C2=A0I assume. That should be also simplified in some way= ? Perhaps integrating TSRM into Zend Engine directly at some point or updat= ing its license to 3 clause BSD?

2. To be more clear, the GPL compat= ibility would probably need to be just slightly clarified to make PHP usage= simpler in the future for cases when GPL-licensed software is involved.
PHP currently has option to link to two GPL-3 licensed libraries that = cause issues when distributing PHP (for example, packaging PHP and providin= g it as a binary via some package and similar):=C2=A0
- GNU readl= ine library for ext/readline (here libedit alternative can be used)
https://github.com/php/= php-src/issues/16826
- GDBM for ext/dba (here other handlers can be = used)
https://gi= thub.com/php/php-src/issues/15882

So, GPL-compatibility here mea= ns that PHP licensed under the Modified BSD License could link to GNU Readl= ine library but it should be relicensed as GPL-3 then?

Because I'= ;m thinking of deprecating linking options with GNU Readline and GDBM to ma= ke the PHP build process worry-free for packagers.
--0000000000003785ee0639b7eba4--