PHP License Agreement

License Overview

PHP is freely redistributable under an open-source license. This license allows developers to use PHP for commercial and non-commercial purposes, including redistribution in both source and binary forms.

License Summary

Redistribution of PHP in source code form is permitted provided that all copyright notices and the following disclaimer appear prominently.

No trademarks or names of contributors to PHP may be used to endorse or promote products derived from PHP without prior written approval.

For commercial uses, you must clearly state that PHP is free software in any promotional materials or documentation accompanying the product.

The PHP license is compatible with the GNU General Public License (GPL), allowing for seamless integration with GPL-licensed software.

Full License Text

// PHP License (Simplified Excerpt)
//
// PHP is distributed under the terms of the PHP License, a copy of which can be found at
// /php.php/legal/license.txt. This license grants you rights to use, copy, and modify PHP,
// provided that the following conditions are met: 
// 1. All distribution must retain a copy of this license notice and disclaimers.
// 2. Commercial redistribution must not alter trademark or attribution notices.
// 3. No endorsement or promotion may be implied without written approval.
//
// This software is provided "as is", and the PHP contributors disclaim all warranties,
// including merchantability and fitness for a particular purpose.

License Compatibility

  • Compatible with GNU General Public License (GPL) 2.0 and later
  • Open-source and permissive for commercial use
  • Allows modification and redistribution
  • Requires attribution in derivative works

License Files

The full license text is available in source code repositories and can be accessed via: /php.php/legal/license.txt

Need Legal Assistance?

For detailed legal questions regarding PHP licensing and usage, consult your legal team or visit our contributors' documentation.

View Contributors