# License for Windows binaries

- Thread: https://externals.io/message/40902
- Original archive: https://news-web.php.net/php.internals/40902
- Started by yuichi_tanaka@cybozu.co.jp on 2008-10-10T02:25:52+00:00
- Messages: 6
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #40902 — yuichi_tanaka@cybozu.co.jp — 2008-10-10T02:25:52+00:00

URL: https://externals.io/message/40902#40902

Hi all,

Could anyone tell me the license of the binaries and source code placed here?
http://pecl2.php.net/downloads/php-windows-builds/

I am developing a commercial package software using PHP and I will build
libraries and PHP my own.
Is it ok to use Visual Studio project files in these zip files (http://pecl2.php.net/downloads/php-windows-builds/source/)
or these binaries (http://pecl2.php.net/downloads/php-windows-builds/php-libs/)
for our commercial product and distribute our product with those binaries?

Sincerely,
----
Yuichi Tanaka

---

## #40903 — crrodriguez@suse.de — 2008-10-10T03:20:08+00:00

URL: https://externals.io/message/40902#40903 · In reply to: #40902

田中 裕一 escribió:
> Hi all,
> 
> Could anyone tell me the license of the binaries and source code placed here?
> http://pecl2.php.net/downloads/php-windows-builds/
> 
> I am developing a commercial package software using PHP and I will build
> libraries and PHP my own.
> Is it ok to use Visual Studio project files in these zip files (http://pecl2.php.net/downloads/php-windows-builds/source/)
> or these binaries (http://pecl2.php.net/downloads/php-windows-builds/php-libs/)
> for our commercial product and distribute our product with those binaries?

there is no restriction on using PHP in commercial products, as long you
comply with PHP license

http://www.php.net/license/3_01.txt

you must also comply with the legal requirements of the needed libraries.

Warning: this is not legal advice, IANAL  if you distribute a commercial
product you will probably need a lawyer anyway.

-- 
"A computer is like an Old Testament god, with a lot of rules and no
mercy. "

Cristian Rodríguez R.
Platform/OpenSUSE - Core Services
SUSE LINUX Products GmbH
Research & Development
http://www.opensuse.org/

---

## #40904 — William A. Rowe — 2008-10-10T03:40:10+00:00

URL: https://externals.io/message/40902#40904 · In reply to: #40903

Cristian Rodríguez wrote:
> 田中 裕一 escribió:
> > […]
> 
> there is no restriction on using PHP in commercial products, as long you
> comply with PHP license
> 
> http://www.php.net/license/3_01.txt
> 
> you must also comply with the legal requirements of the needed libraries.

Well, the binaries probably include c runtimes under liberal MS license.
They might be kind and give you mysql and a host of other GPL features under
a very restrictive license.

PHP's license is, as Cristian says, very liberal and you have nothing to
worry about until you link to something ;-)

---

## #40915 — Hannes Magnusson — 2008-10-10T07:22:44+00:00

URL: https://externals.io/message/40902#40915 · In reply to: #40904

> Cristian Rodríguez wrote:
> > […]
>
> PHP's license is, as Cristian says, very liberal and you have nothing to
> worry about until you link to something ;-)

I'm pretty sure that was his question: Can he link to these libraries
without issues?

-Hannes

---

## #40917 — Ulf Wendel — 2008-10-10T07:43:55+00:00

URL: https://externals.io/message/40902#40917 · In reply to: #40904

William A. Rowe, Jr. schrieb:
> Well, the binaries probably include c runtimes under liberal MS license.
> They might be kind and give you mysql and a host of other GPL features under
> a very restrictive license.

With any PHP before 5.3, you'll have to compile any of the MySQL 
extensions (ext/mysqli, PDO MySQL, ext/mysql) against the MySQL Client 
Library (libmysql). libmysql is GPL + FLOSS Licence exception [1].

As of PHP 5.3 you can optionally compile all the MySQL extensions 
against the MySQL native driver for PHP (mysqlnd) instead of compiling 
against libmysqlnd. mysqlnd is part of the PHP source tree and as such 
licensed under the terms of the PHP license.

> PHP's license is, as Cristian says, very liberal and you have nothing to
> worry about until you link to something ;-)

Go PHP 5.3, go mysqlnd ;-)

Ulf

[1] http://www.mysql.com/about/legal/licensing/foss-exception.html

---

## #40918 — Pierre Joye — 2008-10-10T08:29:53+00:00

URL: https://externals.io/message/40902#40918 · In reply to: #40902

hi Yuichi,



> Could anyone tell me the license of the binaries and source code placed here?
> http://pecl2.php.net/downloads/php-windows-builds/
>
> I am developing a commercial package software using PHP and I will build
> libraries and PHP my own.
> Is it ok to use Visual Studio project files in these zip files (http://pecl2.php.net/downloads/php-windows-builds/source/)
> or these binaries (http://pecl2.php.net/downloads/php-windows-builds/php-libs/)
> for our commercial product and distribute our product with those binaries?

PHP itself is covered by the PHP License (with some portions under
LGPL or BSD). The libraries we provide there are under various
licenses, a link to each library project page is available here:

http://wiki.php.net/internals/windows/libs

We distribute only libraries with a permissive enough license.
However, some of them requires a bit more attention, for example a
notice in some visible place (end user documentation for example)
saying that your software uses their libraries is sometimes required.
That's not a problem for us as we say it anyway in the PHP manual.


Cheers,
-- 
Pierre

http://blog.thepimp.net | http://www.libgd.org
