Skip to content

Commit b5306ab

Browse files
committed
Add licenses
1 parent 115c96a commit b5306ab

File tree

7 files changed

+4887
-0
lines changed

7 files changed

+4887
-0
lines changed

Php/LICENSE

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
--------------------------------------------------------------------
2+
The PHP License, version 3.01
3+
Copyright (c) 1999 - 2021 The PHP Group. All rights reserved.
4+
--------------------------------------------------------------------
5+
6+
Redistribution and use in source and binary forms, with or without
7+
modification, is permitted provided that the following conditions
8+
are met:
9+
10+
1. Redistributions of source code must retain the above copyright
11+
notice, this list of conditions and the following disclaimer.
12+
13+
2. Redistributions in binary form must reproduce the above copyright
14+
notice, this list of conditions and the following disclaimer in
15+
the documentation and/or other materials provided with the
16+
distribution.
17+
18+
3. The name "PHP" must not be used to endorse or promote products
19+
derived from this software without prior written permission. For
20+
written permission, please contact group@php.net.
21+
22+
4. Products derived from this software may not be called "PHP", nor
23+
may "PHP" appear in their name, without prior written permission
24+
from group@php.net. You may indicate that your software works in
25+
conjunction with PHP by saying "Foo for PHP" instead of calling
26+
it "PHP Foo" or "phpfoo"
27+
28+
5. The PHP Group may publish revised and/or new versions of the
29+
license from time to time. Each version will be given a
30+
distinguishing version number.
31+
Once covered code has been published under a particular version
32+
of the license, you may always continue to use it under the terms
33+
of that version. You may also choose to use such covered code
34+
under the terms of any subsequent version of the license
35+
published by the PHP Group. No one other than the PHP Group has
36+
the right to modify the terms applicable to covered code created
37+
under this License.
38+
39+
6. Redistributions of any form whatsoever must retain the following
40+
acknowledgment:
41+
"This product includes PHP software, freely available from
42+
<http://www.php.net/software/>".
43+
44+
THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND
45+
ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
46+
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
47+
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PHP
48+
DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
49+
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
50+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
51+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
52+
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
53+
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
54+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
55+
OF THE POSSIBILITY OF SUCH DAMAGE.
56+
57+
--------------------------------------------------------------------
58+
59+
This software consists of voluntary contributions made by many
60+
individuals on behalf of the PHP Group.
61+
62+
The PHP Group can be contacted via Email at group@php.net.
63+
64+
For more information on the PHP Group and the PHP project,
65+
please see <http://www.php.net>.
66+
67+
PHP includes the Zend Engine, freely available at
68+
<http://www.zend.com>.

Php/README.md

Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
1+
<div align="center">
2+
<a href="https://php.net">
3+
<img
4+
alt="PHP"
5+
src="https://www.php.net/images/logos/new-php-logo.svg"
6+
width="150">
7+
</a>
8+
</div>
9+
10+
# The PHP Interpreter
11+
12+
PHP is a popular general-purpose scripting language that is especially suited to
13+
web development. Fast, flexible and pragmatic, PHP powers everything from your
14+
blog to the most popular websites in the world. PHP is distributed under the
15+
[PHP License v3.01](LICENSE).
16+
17+
[![Build status](https://travis-ci.org/php/php-src.svg?branch=master)](https://travis-ci.org/php/php-src)
18+
[![Build status](https://ci.appveyor.com/api/projects/status/meyur6fviaxgdwdy/branch/master?svg=true)](https://ci.appveyor.com/project/php/php-src)
19+
[![Build Status](https://dev.azure.com/phpazuredevops/php/_apis/build/status/php.php-src?branchName=master)](https://dev.azure.com/phpazuredevops/php/_build/latest?definitionId=1&branchName=master)
20+
[![Fuzzing Status](https://oss-fuzz-build-logs.storage.googleapis.com/badges/php.svg)](https://bugs.chromium.org/p/oss-fuzz/issues/list?sort=-opened&can=1&q=proj:php)
21+
22+
## Documentation
23+
24+
The PHP manual is available at [php.net/docs](https://php.net/docs).
25+
26+
## Installation
27+
28+
### Prebuilt packages and binaries
29+
30+
Prebuilt packages and binaries can be used to get up and running fast with PHP.
31+
32+
For Windows, the PHP binaries can be obtained from
33+
[windows.php.net](https://windows.php.net). After extracting the archive the
34+
`*.exe` files are ready to use.
35+
36+
For other systems, see the [installation chapter](https://php.net/install).
37+
38+
### Building PHP source code
39+
40+
*For Windows, see [Build your own PHP on Windows](https://wiki.php.net/internals/windows/stepbystepbuild_sdk_2).*
41+
42+
For a minimal PHP build from Git, you will need autoconf, bison, and re2c. For
43+
a default build, you will additionally need libxml2 and libsqlite3. On Ubuntu,
44+
you can install these using:
45+
46+
sudo apt install -y pkg-config build-essential autoconf bison re2c \
47+
libxml2-dev libsqlite3-dev
48+
49+
Generate configure:
50+
51+
./buildconf
52+
53+
Configure your build. `--enable-debug` is recommended for development, see
54+
`./configure --help` for a full list of options.
55+
56+
# For development
57+
./configure --enable-debug
58+
# For production
59+
./configure
60+
61+
Build PHP. To speed up the build, specify the maximum number of jobs using `-j`:
62+
63+
make -j4
64+
65+
The number of jobs should usually match the number of available cores, which
66+
can be determined using `nproc`.
67+
68+
## Testing PHP source code
69+
70+
PHP ships with an extensive test suite, the command `make test` is used after
71+
successful compilation of the sources to run this test suite.
72+
73+
It is possible to run tests using multiple cores by setting `-jN` in
74+
`TEST_PHP_ARGS`:
75+
76+
make TEST_PHP_ARGS=-j4 test
77+
78+
Shall run `make test` with a maximum of 4 concurrent jobs: Generally the maximum
79+
number of jobs should not exceed the number of cores available.
80+
81+
The [qa.php.net](https://qa.php.net) site provides more detailed info about
82+
testing and quality assurance.
83+
84+
## Installing PHP built from source
85+
86+
After a successful build (and test), PHP may be installed with:
87+
88+
make install
89+
90+
Depending on your permissions and prefix, `make install` may need super user
91+
permissions.
92+
93+
## PHP extensions
94+
95+
Extensions provide additional functionality on top of PHP. PHP consists of many
96+
essential bundled extensions. Additional extensions can be found in the PHP
97+
Extension Community Library - [PECL](https://pecl.php.net).
98+
99+
## Contributing
100+
101+
The PHP source code is located in the Git repository at
102+
[github.com/php/php-src](https://github.com/php/php-src). Contributions are most
103+
welcome by forking the repository and sending a pull request.
104+
105+
Discussions are done on GitHub, but depending on the topic can also be relayed
106+
to the official PHP developer mailing list internals@lists.php.net.
107+
108+
New features require an RFC and must be accepted by the developers. See
109+
[Request for comments - RFC](https://wiki.php.net/rfc) and
110+
[Voting on PHP features](https://wiki.php.net/rfc/voting) for more information
111+
on the process.
112+
113+
Bug fixes don't require an RFC. If the bug has a GitHub issue, reference it in
114+
the commit message using `GH-NNNNNN`. Use `#NNNNNN` for tickets in the old
115+
[bugs.php.net](https://bugs.php.net) bug tracker.
116+
117+
Fix GH-7815: php_uname doesn't recognise latest Windows versions
118+
Fix #55371: get_magic_quotes_gpc() throws deprecation warning
119+
120+
See [Git workflow](https://wiki.php.net/vcs/gitworkflow) for details on how pull
121+
requests are merged.
122+
123+
### Guidelines for contributors
124+
125+
See further documents in the repository for more information on how to
126+
contribute:
127+
128+
- [Contributing to PHP](/CONTRIBUTING.md)
129+
- [PHP coding standards](/CODING_STANDARDS.md)
130+
- [Mailinglist rules](/docs/mailinglist-rules.md)
131+
- [PHP release process](/docs/release-process.md)
132+
133+
## Credits
134+
135+
For the list of people who've put work into PHP, please see the
136+
[PHP credits page](https://php.net/credits.php).

PhpRedis/CREDITS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Redis client extension for PHP
2+
Alfonso Jimenez (yo@alfonsojimenez.com)
3+
Nasreddine Bouafif (n.bouafif@owlient.eu)
4+
Nicolas Favre-Felix (n.favre-felix@owlient.eu)
5+
Michael Grunder (michael.grunder@gmail.com)

PhpRedis/LICENSE

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
--------------------------------------------------------------------
2+
The PHP License, version 3.01
3+
Copyright (c) 1999 - 2010 The PHP Group. All rights reserved.
4+
--------------------------------------------------------------------
5+
6+
Redistribution and use in source and binary forms, with or without
7+
modification, is permitted provided that the following conditions
8+
are met:
9+
10+
1. Redistributions of source code must retain the above copyright
11+
notice, this list of conditions and the following disclaimer.
12+
13+
2. Redistributions in binary form must reproduce the above copyright
14+
notice, this list of conditions and the following disclaimer in
15+
the documentation and/or other materials provided with the
16+
distribution.
17+
18+
3. The name "PHP" must not be used to endorse or promote products
19+
derived from this software without prior written permission. For
20+
written permission, please contact group@php.net.
21+
22+
4. Products derived from this software may not be called "PHP", nor
23+
may "PHP" appear in their name, without prior written permission
24+
from group@php.net. You may indicate that your software works in
25+
conjunction with PHP by saying "Foo for PHP" instead of calling
26+
it "PHP Foo" or "phpfoo"
27+
28+
5. The PHP Group may publish revised and/or new versions of the
29+
license from time to time. Each version will be given a
30+
distinguishing version number.
31+
Once covered code has been published under a particular version
32+
of the license, you may always continue to use it under the terms
33+
of that version. You may also choose to use such covered code
34+
under the terms of any subsequent version of the license
35+
published by the PHP Group. No one other than the PHP Group has
36+
the right to modify the terms applicable to covered code created
37+
under this License.
38+
39+
6. Redistributions of any form whatsoever must retain the following
40+
acknowledgment:
41+
"This product includes PHP software, freely available from
42+
<http://www.php.net/software/>".
43+
44+
THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND
45+
ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
46+
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
47+
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PHP
48+
DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
49+
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
50+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
51+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
52+
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
53+
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
54+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
55+
OF THE POSSIBILITY OF SUCH DAMAGE.
56+
57+
--------------------------------------------------------------------
58+
59+
This software consists of voluntary contributions made by many
60+
individuals on behalf of the PHP Group.
61+
62+
The PHP Group can be contacted via Email at group@php.net.
63+
64+
For more information on the PHP Group and the PHP project,
65+
please see <http://www.php.net>.
66+
67+
PHP includes the Zend Engine, freely available at
68+
<http://www.zend.com>.

0 commit comments

Comments
 (0)