mirror of
https://github.com/QYG2297248353/IYUUPlus-Windows.git
synced 2025-12-29 08:01:35 +08:00
feat 初始化
This commit is contained in:
@@ -0,0 +1,140 @@
|
||||
<div align="center">
|
||||
<a href="https://php.net">
|
||||
<img
|
||||
alt="PHP"
|
||||
src="https://www.php.net/images/logos/new-php-logo.svg"
|
||||
width="150">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
# The PHP Interpreter
|
||||
|
||||
PHP is a popular general-purpose scripting language that is especially suited to
|
||||
web development. Fast, flexible and pragmatic, PHP powers everything from your
|
||||
blog to the most popular websites in the world. PHP is distributed under the
|
||||
[PHP License v3.01](LICENSE).
|
||||
|
||||
[](https://github.com/php/php-src/actions/workflows/push.yml)
|
||||
[](https://travis-ci.com/github/php/php-src)
|
||||
[](https://bugs.chromium.org/p/oss-fuzz/issues/list?sort=-opened&can=1&q=proj:php)
|
||||
|
||||
## Documentation
|
||||
|
||||
The PHP manual is available at [php.net/docs](https://php.net/docs).
|
||||
|
||||
## Installation
|
||||
|
||||
### Prebuilt packages and binaries
|
||||
|
||||
Prebuilt packages and binaries can be used to get up and running fast with PHP.
|
||||
|
||||
For Windows, the PHP binaries can be obtained from
|
||||
[windows.php.net](https://windows.php.net). After extracting the archive the
|
||||
`*.exe` files are ready to use.
|
||||
|
||||
For other systems, see the [installation chapter](https://php.net/install).
|
||||
|
||||
### Building PHP source code
|
||||
|
||||
*For Windows, see [Build your own PHP on Windows](https://wiki.php.net/internals/windows/stepbystepbuild_sdk_2).*
|
||||
|
||||
For a minimal PHP build from Git, you will need autoconf, bison, and re2c. For
|
||||
a default build, you will additionally need libxml2 and libsqlite3.
|
||||
|
||||
On Ubuntu, you can install these using:
|
||||
|
||||
sudo apt install -y pkg-config build-essential autoconf bison re2c \
|
||||
libxml2-dev libsqlite3-dev
|
||||
|
||||
On Fedora, you can install these using:
|
||||
|
||||
sudo dnf install re2c bison autoconf make libtool ccache libxml2-devel sqlite-devel
|
||||
|
||||
Generate configure:
|
||||
|
||||
./buildconf
|
||||
|
||||
Configure your build. `--enable-debug` is recommended for development, see
|
||||
`./configure --help` for a full list of options.
|
||||
|
||||
# For development
|
||||
./configure --enable-debug
|
||||
# For production
|
||||
./configure
|
||||
|
||||
Build PHP. To speed up the build, specify the maximum number of jobs using `-j`:
|
||||
|
||||
make -j4
|
||||
|
||||
The number of jobs should usually match the number of available cores, which
|
||||
can be determined using `nproc`.
|
||||
|
||||
## Testing PHP source code
|
||||
|
||||
PHP ships with an extensive test suite, the command `make test` is used after
|
||||
successful compilation of the sources to run this test suite.
|
||||
|
||||
It is possible to run tests using multiple cores by setting `-jN` in
|
||||
`TEST_PHP_ARGS`:
|
||||
|
||||
make TEST_PHP_ARGS=-j4 test
|
||||
|
||||
Shall run `make test` with a maximum of 4 concurrent jobs: Generally the maximum
|
||||
number of jobs should not exceed the number of cores available.
|
||||
|
||||
The [qa.php.net](https://qa.php.net) site provides more detailed info about
|
||||
testing and quality assurance.
|
||||
|
||||
## Installing PHP built from source
|
||||
|
||||
After a successful build (and test), PHP may be installed with:
|
||||
|
||||
make install
|
||||
|
||||
Depending on your permissions and prefix, `make install` may need super user
|
||||
permissions.
|
||||
|
||||
## PHP extensions
|
||||
|
||||
Extensions provide additional functionality on top of PHP. PHP consists of many
|
||||
essential bundled extensions. Additional extensions can be found in the PHP
|
||||
Extension Community Library - [PECL](https://pecl.php.net).
|
||||
|
||||
## Contributing
|
||||
|
||||
The PHP source code is located in the Git repository at
|
||||
[github.com/php/php-src](https://github.com/php/php-src). Contributions are most
|
||||
welcome by forking the repository and sending a pull request.
|
||||
|
||||
Discussions are done on GitHub, but depending on the topic can also be relayed
|
||||
to the official PHP developer mailing list internals@lists.php.net.
|
||||
|
||||
New features require an RFC and must be accepted by the developers. See
|
||||
[Request for comments - RFC](https://wiki.php.net/rfc) and
|
||||
[Voting on PHP features](https://wiki.php.net/rfc/voting) for more information
|
||||
on the process.
|
||||
|
||||
Bug fixes don't require an RFC. If the bug has a GitHub issue, reference it in
|
||||
the commit message using `GH-NNNNNN`. Use `#NNNNNN` for tickets in the old
|
||||
[bugs.php.net](https://bugs.php.net) bug tracker.
|
||||
|
||||
Fix GH-7815: php_uname doesn't recognise latest Windows versions
|
||||
Fix #55371: get_magic_quotes_gpc() throws deprecation warning
|
||||
|
||||
See [Git workflow](https://wiki.php.net/vcs/gitworkflow) for details on how pull
|
||||
requests are merged.
|
||||
|
||||
### Guidelines for contributors
|
||||
|
||||
See further documents in the repository for more information on how to
|
||||
contribute:
|
||||
|
||||
- [Contributing to PHP](/CONTRIBUTING.md)
|
||||
- [PHP coding standards](/CODING_STANDARDS.md)
|
||||
- [Mailing list rules](/docs/mailinglist-rules.md)
|
||||
- [PHP release process](/docs/release-process.md)
|
||||
|
||||
## Credits
|
||||
|
||||
For the list of people who've put work into PHP, please see the
|
||||
[PHP credits page](https://php.net/credits.php).
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,390 @@
|
||||
#
|
||||
# OpenSSL example configuration file.
|
||||
# See doc/man5/config.pod for more info.
|
||||
#
|
||||
# This is mostly being used for generation of certificate requests,
|
||||
# but may be used for auto loading of providers
|
||||
|
||||
# Note that you can include other files from the main configuration
|
||||
# file using the .include directive.
|
||||
#.include filename
|
||||
|
||||
# This definition stops the following lines choking if HOME isn't
|
||||
# defined.
|
||||
HOME = .
|
||||
|
||||
# Use this in order to automatically load providers.
|
||||
openssl_conf = openssl_init
|
||||
|
||||
# Comment out the next line to ignore configuration errors
|
||||
config_diagnostics = 1
|
||||
|
||||
# Extra OBJECT IDENTIFIER info:
|
||||
# oid_file = $ENV::HOME/.oid
|
||||
oid_section = new_oids
|
||||
|
||||
# To use this configuration file with the "-extfile" option of the
|
||||
# "openssl x509" utility, name here the section containing the
|
||||
# X.509v3 extensions to use:
|
||||
# extensions =
|
||||
# (Alternatively, use a configuration file that has only
|
||||
# X.509v3 extensions in its main [= default] section.)
|
||||
|
||||
[ new_oids ]
|
||||
# We can add new OIDs in here for use by 'ca', 'req' and 'ts'.
|
||||
# Add a simple OID like this:
|
||||
# testoid1=1.2.3.4
|
||||
# Or use config file substitution like this:
|
||||
# testoid2=${testoid1}.5.6
|
||||
|
||||
# Policies used by the TSA examples.
|
||||
tsa_policy1 = 1.2.3.4.1
|
||||
tsa_policy2 = 1.2.3.4.5.6
|
||||
tsa_policy3 = 1.2.3.4.5.7
|
||||
|
||||
# For FIPS
|
||||
# Optionally include a file that is generated by the OpenSSL fipsinstall
|
||||
# application. This file contains configuration data required by the OpenSSL
|
||||
# fips provider. It contains a named section e.g. [fips_sect] which is
|
||||
# referenced from the [provider_sect] below.
|
||||
# Refer to the OpenSSL security policy for more information.
|
||||
# .include fipsmodule.cnf
|
||||
|
||||
[openssl_init]
|
||||
providers = provider_sect
|
||||
|
||||
# List of providers to load
|
||||
[provider_sect]
|
||||
default = default_sect
|
||||
# The fips section name should match the section name inside the
|
||||
# included fipsmodule.cnf.
|
||||
# fips = fips_sect
|
||||
|
||||
# If no providers are activated explicitly, the default one is activated implicitly.
|
||||
# See man 7 OSSL_PROVIDER-default for more details.
|
||||
#
|
||||
# If you add a section explicitly activating any other provider(s), you most
|
||||
# probably need to explicitly activate the default provider, otherwise it
|
||||
# becomes unavailable in openssl. As a consequence applications depending on
|
||||
# OpenSSL may not work correctly which could lead to significant system
|
||||
# problems including inability to remotely access the system.
|
||||
[default_sect]
|
||||
# activate = 1
|
||||
|
||||
|
||||
####################################################################
|
||||
[ ca ]
|
||||
default_ca = CA_default # The default ca section
|
||||
|
||||
####################################################################
|
||||
[ CA_default ]
|
||||
|
||||
dir = ./demoCA # Where everything is kept
|
||||
certs = $dir/certs # Where the issued certs are kept
|
||||
crl_dir = $dir/crl # Where the issued crl are kept
|
||||
database = $dir/index.txt # database index file.
|
||||
#unique_subject = no # Set to 'no' to allow creation of
|
||||
# several certs with same subject.
|
||||
new_certs_dir = $dir/newcerts # default place for new certs.
|
||||
|
||||
certificate = $dir/cacert.pem # The CA certificate
|
||||
serial = $dir/serial # The current serial number
|
||||
crlnumber = $dir/crlnumber # the current crl number
|
||||
# must be commented out to leave a V1 CRL
|
||||
crl = $dir/crl.pem # The current CRL
|
||||
private_key = $dir/private/cakey.pem# The private key
|
||||
|
||||
x509_extensions = usr_cert # The extensions to add to the cert
|
||||
|
||||
# Comment out the following two lines for the "traditional"
|
||||
# (and highly broken) format.
|
||||
name_opt = ca_default # Subject Name options
|
||||
cert_opt = ca_default # Certificate field options
|
||||
|
||||
# Extension copying option: use with caution.
|
||||
# copy_extensions = copy
|
||||
|
||||
# Extensions to add to a CRL. Note: Netscape communicator chokes on V2 CRLs
|
||||
# so this is commented out by default to leave a V1 CRL.
|
||||
# crlnumber must also be commented out to leave a V1 CRL.
|
||||
# crl_extensions = crl_ext
|
||||
|
||||
default_days = 365 # how long to certify for
|
||||
default_crl_days= 30 # how long before next CRL
|
||||
default_md = default # use public key default MD
|
||||
preserve = no # keep passed DN ordering
|
||||
|
||||
# A few difference way of specifying how similar the request should look
|
||||
# For type CA, the listed attributes must be the same, and the optional
|
||||
# and supplied fields are just that :-)
|
||||
policy = policy_match
|
||||
|
||||
# For the CA policy
|
||||
[ policy_match ]
|
||||
countryName = match
|
||||
stateOrProvinceName = match
|
||||
organizationName = match
|
||||
organizationalUnitName = optional
|
||||
commonName = supplied
|
||||
emailAddress = optional
|
||||
|
||||
# For the 'anything' policy
|
||||
# At this point in time, you must list all acceptable 'object'
|
||||
# types.
|
||||
[ policy_anything ]
|
||||
countryName = optional
|
||||
stateOrProvinceName = optional
|
||||
localityName = optional
|
||||
organizationName = optional
|
||||
organizationalUnitName = optional
|
||||
commonName = supplied
|
||||
emailAddress = optional
|
||||
|
||||
####################################################################
|
||||
[ req ]
|
||||
default_bits = 2048
|
||||
default_keyfile = privkey.pem
|
||||
distinguished_name = req_distinguished_name
|
||||
attributes = req_attributes
|
||||
x509_extensions = v3_ca # The extensions to add to the self signed cert
|
||||
|
||||
# Passwords for private keys if not present they will be prompted for
|
||||
# input_password = secret
|
||||
# output_password = secret
|
||||
|
||||
# This sets a mask for permitted string types. There are several options.
|
||||
# default: PrintableString, T61String, BMPString.
|
||||
# pkix : PrintableString, BMPString (PKIX recommendation before 2004)
|
||||
# utf8only: only UTF8Strings (PKIX recommendation after 2004).
|
||||
# nombstr : PrintableString, T61String (no BMPStrings or UTF8Strings).
|
||||
# MASK:XXXX a literal mask value.
|
||||
# WARNING: ancient versions of Netscape crash on BMPStrings or UTF8Strings.
|
||||
string_mask = utf8only
|
||||
|
||||
# req_extensions = v3_req # The extensions to add to a certificate request
|
||||
|
||||
[ req_distinguished_name ]
|
||||
countryName = Country Name (2 letter code)
|
||||
countryName_default = AU
|
||||
countryName_min = 2
|
||||
countryName_max = 2
|
||||
|
||||
stateOrProvinceName = State or Province Name (full name)
|
||||
stateOrProvinceName_default = Some-State
|
||||
|
||||
localityName = Locality Name (eg, city)
|
||||
|
||||
0.organizationName = Organization Name (eg, company)
|
||||
0.organizationName_default = Internet Widgits Pty Ltd
|
||||
|
||||
# we can do this but it is not needed normally :-)
|
||||
#1.organizationName = Second Organization Name (eg, company)
|
||||
#1.organizationName_default = World Wide Web Pty Ltd
|
||||
|
||||
organizationalUnitName = Organizational Unit Name (eg, section)
|
||||
#organizationalUnitName_default =
|
||||
|
||||
commonName = Common Name (e.g. server FQDN or YOUR name)
|
||||
commonName_max = 64
|
||||
|
||||
emailAddress = Email Address
|
||||
emailAddress_max = 64
|
||||
|
||||
# SET-ex3 = SET extension number 3
|
||||
|
||||
[ req_attributes ]
|
||||
challengePassword = A challenge password
|
||||
challengePassword_min = 4
|
||||
challengePassword_max = 20
|
||||
|
||||
unstructuredName = An optional company name
|
||||
|
||||
[ usr_cert ]
|
||||
|
||||
# These extensions are added when 'ca' signs a request.
|
||||
|
||||
# This goes against PKIX guidelines but some CAs do it and some software
|
||||
# requires this to avoid interpreting an end user certificate as a CA.
|
||||
|
||||
basicConstraints=CA:FALSE
|
||||
|
||||
# This is typical in keyUsage for a client certificate.
|
||||
# keyUsage = nonRepudiation, digitalSignature, keyEncipherment
|
||||
|
||||
# PKIX recommendations harmless if included in all certificates.
|
||||
subjectKeyIdentifier=hash
|
||||
authorityKeyIdentifier=keyid,issuer
|
||||
|
||||
# This stuff is for subjectAltName and issuerAltname.
|
||||
# Import the email address.
|
||||
# subjectAltName=email:copy
|
||||
# An alternative to produce certificates that aren't
|
||||
# deprecated according to PKIX.
|
||||
# subjectAltName=email:move
|
||||
|
||||
# Copy subject details
|
||||
# issuerAltName=issuer:copy
|
||||
|
||||
# This is required for TSA certificates.
|
||||
# extendedKeyUsage = critical,timeStamping
|
||||
|
||||
[ v3_req ]
|
||||
|
||||
# Extensions to add to a certificate request
|
||||
|
||||
basicConstraints = CA:FALSE
|
||||
keyUsage = nonRepudiation, digitalSignature, keyEncipherment
|
||||
|
||||
[ v3_ca ]
|
||||
|
||||
|
||||
# Extensions for a typical CA
|
||||
|
||||
|
||||
# PKIX recommendation.
|
||||
|
||||
subjectKeyIdentifier=hash
|
||||
|
||||
authorityKeyIdentifier=keyid:always,issuer
|
||||
|
||||
basicConstraints = critical,CA:true
|
||||
|
||||
# Key usage: this is typical for a CA certificate. However since it will
|
||||
# prevent it being used as an test self-signed certificate it is best
|
||||
# left out by default.
|
||||
# keyUsage = cRLSign, keyCertSign
|
||||
|
||||
# Include email address in subject alt name: another PKIX recommendation
|
||||
# subjectAltName=email:copy
|
||||
# Copy issuer details
|
||||
# issuerAltName=issuer:copy
|
||||
|
||||
# DER hex encoding of an extension: beware experts only!
|
||||
# obj=DER:02:03
|
||||
# Where 'obj' is a standard or added object
|
||||
# You can even override a supported extension:
|
||||
# basicConstraints= critical, DER:30:03:01:01:FF
|
||||
|
||||
[ crl_ext ]
|
||||
|
||||
# CRL extensions.
|
||||
# Only issuerAltName and authorityKeyIdentifier make any sense in a CRL.
|
||||
|
||||
# issuerAltName=issuer:copy
|
||||
authorityKeyIdentifier=keyid:always
|
||||
|
||||
[ proxy_cert_ext ]
|
||||
# These extensions should be added when creating a proxy certificate
|
||||
|
||||
# This goes against PKIX guidelines but some CAs do it and some software
|
||||
# requires this to avoid interpreting an end user certificate as a CA.
|
||||
|
||||
basicConstraints=CA:FALSE
|
||||
|
||||
# This is typical in keyUsage for a client certificate.
|
||||
# keyUsage = nonRepudiation, digitalSignature, keyEncipherment
|
||||
|
||||
# PKIX recommendations harmless if included in all certificates.
|
||||
subjectKeyIdentifier=hash
|
||||
authorityKeyIdentifier=keyid,issuer
|
||||
|
||||
# This stuff is for subjectAltName and issuerAltname.
|
||||
# Import the email address.
|
||||
# subjectAltName=email:copy
|
||||
# An alternative to produce certificates that aren't
|
||||
# deprecated according to PKIX.
|
||||
# subjectAltName=email:move
|
||||
|
||||
# Copy subject details
|
||||
# issuerAltName=issuer:copy
|
||||
|
||||
# This really needs to be in place for it to be a proxy certificate.
|
||||
proxyCertInfo=critical,language:id-ppl-anyLanguage,pathlen:3,policy:foo
|
||||
|
||||
####################################################################
|
||||
[ tsa ]
|
||||
|
||||
default_tsa = tsa_config1 # the default TSA section
|
||||
|
||||
[ tsa_config1 ]
|
||||
|
||||
# These are used by the TSA reply generation only.
|
||||
dir = ./demoCA # TSA root directory
|
||||
serial = $dir/tsaserial # The current serial number (mandatory)
|
||||
crypto_device = builtin # OpenSSL engine to use for signing
|
||||
signer_cert = $dir/tsacert.pem # The TSA signing certificate
|
||||
# (optional)
|
||||
certs = $dir/cacert.pem # Certificate chain to include in reply
|
||||
# (optional)
|
||||
signer_key = $dir/private/tsakey.pem # The TSA private key (optional)
|
||||
signer_digest = sha256 # Signing digest to use. (Optional)
|
||||
default_policy = tsa_policy1 # Policy if request did not specify it
|
||||
# (optional)
|
||||
other_policies = tsa_policy2, tsa_policy3 # acceptable policies (optional)
|
||||
digests = sha1, sha256, sha384, sha512 # Acceptable message digests (mandatory)
|
||||
accuracy = secs:1, millisecs:500, microsecs:100 # (optional)
|
||||
clock_precision_digits = 0 # number of digits after dot. (optional)
|
||||
ordering = yes # Is ordering defined for timestamps?
|
||||
# (optional, default: no)
|
||||
tsa_name = yes # Must the TSA name be included in the reply?
|
||||
# (optional, default: no)
|
||||
ess_cert_id_chain = no # Must the ESS cert id chain be included?
|
||||
# (optional, default: no)
|
||||
ess_cert_id_alg = sha1 # algorithm to compute certificate
|
||||
# identifier (optional, default: sha1)
|
||||
|
||||
[insta] # CMP using Insta Demo CA
|
||||
# Message transfer
|
||||
server = pki.certificate.fi:8700
|
||||
# proxy = # set this as far as needed, e.g., http://192.168.1.1:8080
|
||||
# tls_use = 0
|
||||
path = pkix/
|
||||
|
||||
# Server authentication
|
||||
recipient = "/C=FI/O=Insta Demo/CN=Insta Demo CA" # or set srvcert or issuer
|
||||
ignore_keyusage = 1 # potentially needed quirk
|
||||
unprotected_errors = 1 # potentially needed quirk
|
||||
extracertsout = insta.extracerts.pem
|
||||
|
||||
# Client authentication
|
||||
ref = 3078 # user identification
|
||||
secret = pass:insta # can be used for both client and server side
|
||||
|
||||
# Generic message options
|
||||
cmd = ir # default operation, can be overridden on cmd line with, e.g., kur
|
||||
|
||||
# Certificate enrollment
|
||||
subject = "/CN=openssl-cmp-test"
|
||||
newkey = insta.priv.pem
|
||||
out_trusted = apps/insta.ca.crt # does not include keyUsage digitalSignature
|
||||
certout = insta.cert.pem
|
||||
|
||||
[pbm] # Password-based protection for Insta CA
|
||||
# Server and client authentication
|
||||
ref = $insta::ref # 3078
|
||||
secret = $insta::secret # pass:insta
|
||||
|
||||
[signature] # Signature-based protection for Insta CA
|
||||
# Server authentication
|
||||
trusted = $insta::out_trusted # apps/insta.ca.crt
|
||||
|
||||
# Client authentication
|
||||
secret = # disable PBM
|
||||
key = $insta::newkey # insta.priv.pem
|
||||
cert = $insta::certout # insta.cert.pem
|
||||
|
||||
[ir]
|
||||
cmd = ir
|
||||
|
||||
[cr]
|
||||
cmd = cr
|
||||
|
||||
[kur]
|
||||
# Certificate update
|
||||
cmd = kur
|
||||
oldcert = $insta::certout # insta.cert.pem
|
||||
|
||||
[rr]
|
||||
# Certificate revocation
|
||||
cmd = rr
|
||||
oldcert = $insta::certout # insta.cert.pem
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,68 @@
|
||||
--------------------------------------------------------------------
|
||||
The PHP License, version 3.01
|
||||
Copyright (c) 1999 - 2024 The PHP Group. All rights reserved.
|
||||
--------------------------------------------------------------------
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, is permitted provided that the following conditions
|
||||
are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
|
||||
2. Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in
|
||||
the documentation and/or other materials provided with the
|
||||
distribution.
|
||||
|
||||
3. The name "PHP" must not be used to endorse or promote products
|
||||
derived from this software without prior written permission. For
|
||||
written permission, please contact group@php.net.
|
||||
|
||||
4. Products derived from this software may not be called "PHP", nor
|
||||
may "PHP" appear in their name, without prior written permission
|
||||
from group@php.net. You may indicate that your software works in
|
||||
conjunction with PHP by saying "Foo for PHP" instead of calling
|
||||
it "PHP Foo" or "phpfoo"
|
||||
|
||||
5. The PHP Group may publish revised and/or new versions of the
|
||||
license from time to time. Each version will be given a
|
||||
distinguishing version number.
|
||||
Once covered code has been published under a particular version
|
||||
of the license, you may always continue to use it under the terms
|
||||
of that version. You may also choose to use such covered code
|
||||
under the terms of any subsequent version of the license
|
||||
published by the PHP Group. No one other than the PHP Group has
|
||||
the right to modify the terms applicable to covered code created
|
||||
under this License.
|
||||
|
||||
6. Redistributions of any form whatsoever must retain the following
|
||||
acknowledgment:
|
||||
"This product includes PHP software, freely available from
|
||||
<http://www.php.net/software/>".
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND
|
||||
ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
||||
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PHP
|
||||
DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
||||
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
--------------------------------------------------------------------
|
||||
|
||||
This software consists of voluntary contributions made by many
|
||||
individuals on behalf of the PHP Group.
|
||||
|
||||
The PHP Group can be contacted via Email at group@php.net.
|
||||
|
||||
For more information on the PHP Group and the PHP project,
|
||||
please see <http://www.php.net>.
|
||||
|
||||
PHP includes the Zend Engine, freely available at
|
||||
<http://www.zend.com>.
|
||||
@@ -0,0 +1,845 @@
|
||||
PHP NEWS
|
||||
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||
06 Jun 2024, PHP 8.3.8
|
||||
|
||||
- CGI:
|
||||
. Fixed buffer limit on Windows, replacing read call usage by _read.
|
||||
(David Carlier)
|
||||
. Fixed bug GHSA-3qgc-jrrr-25jv (Bypass of CVE-2012-1823, Argument Injection
|
||||
in PHP-CGI). (CVE-2024-4577) (nielsdos)
|
||||
|
||||
- CLI:
|
||||
. Fixed bug GH-14189 (PHP Interactive shell input state incorrectly handles
|
||||
quoted heredoc literals.). (nielsdos)
|
||||
|
||||
- Core:
|
||||
. Fixed bug GH-13970 (Incorrect validation of #[Attribute] flags type for
|
||||
non-compile-time expressions). (ilutov)
|
||||
|
||||
- DOM:
|
||||
. Fix crashes when entity declaration is removed while still having entity
|
||||
references. (nielsdos)
|
||||
. Fix references not handled correctly in C14N. (nielsdos)
|
||||
. Fix crash when calling childNodes next() when iterator is exhausted.
|
||||
(nielsdos)
|
||||
. Fix crash in ParentNode::append() when dealing with a fragment
|
||||
containing text nodes. (nielsdos)
|
||||
|
||||
- Filter:
|
||||
. Fixed bug GHSA-w8qr-v226-r27w (Filter bypass in filter_var FILTER_VALIDATE_URL).
|
||||
(CVE-2024-5458) (nielsdos)
|
||||
|
||||
- FPM:
|
||||
. Fix bug GH-14175 (Show decimal number instead of scientific notation in
|
||||
systemd status). (Benjamin Cremer)
|
||||
|
||||
- Hash:
|
||||
. ext/hash: Swap the checking order of `__has_builtin` and `__GNUC__`
|
||||
(Saki Takamachi)
|
||||
|
||||
- Intl:
|
||||
. Fixed build regression on systems without C++17 compilers. (Calvin Buckley,
|
||||
Peter Kokot)
|
||||
|
||||
- MySQLnd:
|
||||
. Fix bug GH-14255 (mysqli_fetch_assoc reports error from
|
||||
nested query). (Kamil Tekiela)
|
||||
|
||||
- Opcache:
|
||||
. Fixed bug GH-14109 (Fix accidental persisting of internal class constant in
|
||||
shm). (ilutov)
|
||||
|
||||
- OpenSSL:
|
||||
. The openssl_private_decrypt function in PHP, when using PKCS1 padding
|
||||
(OPENSSL_PKCS1_PADDING, which is the default), is vulnerable to the Marvin Attack
|
||||
unless it is used with an OpenSSL version that includes the changes from this pull
|
||||
request: https://github.com/openssl/openssl/pull/13817 (rsa_pkcs1_implicit_rejection).
|
||||
These changes are part of OpenSSL 3.2 and have also been backported to stable
|
||||
versions of various Linux distributions, as well as to the PHP builds provided for
|
||||
Windows since the previous release. All distributors and builders should ensure that
|
||||
this version is used to prevent PHP from being vulnerable. (CVE-2024-2408)
|
||||
|
||||
- Standard:
|
||||
. Fixed bug GHSA-9fcc-425m-g385 (Bypass of CVE-2024-1874).
|
||||
(CVE-2024-5585) (nielsdos)
|
||||
|
||||
- XML:
|
||||
. Fixed bug GH-14124 (Segmentation fault with XML extension under certain
|
||||
memory limit). (nielsdos)
|
||||
|
||||
- XMLReader:
|
||||
. Fixed bug GH-14183 (XMLReader::open() can't be overridden). (nielsdos)
|
||||
|
||||
09 May 2024, PHP 8.3.7
|
||||
|
||||
- Core:
|
||||
. Fixed zend_call_stack build with Linux/uclibc-ng without thread support.
|
||||
(Fabrice Fontaine)
|
||||
. Fixed bug GH-13772 (Invalid execute_data->opline pointers in observer fcall
|
||||
handlers when JIT is enabled). (Bob)
|
||||
. Fixed bug GH-13931 (Applying zero offset to null pointer in
|
||||
Zend/zend_opcode.c). (nielsdos)
|
||||
. Fixed bug GH-13942 (Align the behavior of zend-max-execution-timers with
|
||||
other timeout implementations). (Kévin Dunglas)
|
||||
. Fixed bug GH-14003 (Broken cleanup of unfinished calls with callable convert
|
||||
parameters). (ilutov)
|
||||
. Fixed bug GH-14013 (Erroneous dnl appended in configure). (Peter Kokot)
|
||||
. Fixed bug GH-10232 (If autoloading occurs during constant resolution
|
||||
filename and lineno are identified incorrectly). (ranvis)
|
||||
. Fixed bug GH-13727 (Missing void keyword). (Peter Kokot)
|
||||
|
||||
- Fibers:
|
||||
. Fixed bug GH-13903 (ASAN false positive underflow when executing copy()).
|
||||
(nielsdos)
|
||||
|
||||
- Fileinfo:
|
||||
. Fixed bug GH-13795 (Test failing in ext/fileinfo/tests/bug78987.phpt on
|
||||
big-endian PPC). (orlitzky)
|
||||
|
||||
- FPM:
|
||||
. Fixed bug GH-13563 (Setting bool values via env in FPM config fails).
|
||||
(Jakub Zelenka)
|
||||
|
||||
- Intl:
|
||||
. Fixed build for icu 74 and onwards. (dunglas)
|
||||
|
||||
- MySQLnd:
|
||||
. Fix shift out of bounds on 32-bit non-fast-path platforms. (nielsdos)
|
||||
|
||||
- Opcache:
|
||||
. Fixed bug GH-13433 (Segmentation Fault in zend_class_init_statics when
|
||||
using opcache.preload). (nielsdos)
|
||||
. Fixed incorrect assumptions across compilation units for static calls.
|
||||
(ilutov)
|
||||
|
||||
- OpenSSL:
|
||||
. Fixed bug GH-10495 (feof on OpenSSL stream hangs indefinitely).
|
||||
(Jakub Zelenka)
|
||||
|
||||
- PDO SQLite:
|
||||
. Fix GH-13984 (Buffer size is now checked before memcmp). (Saki Takamachi)
|
||||
. Fix GH-13998 (Manage refcount of agg_context->val correctly).
|
||||
(Saki Takamachi)
|
||||
|
||||
- Phar:
|
||||
. Fixed bug GH-13836 (Renaming a file in a Phar to an already existing
|
||||
filename causes a NULL pointer dereference). (nielsdos)
|
||||
. Fixed bug GH-13833 (Applying zero offset to null pointer in zend_hash.c).
|
||||
(nielsdos)
|
||||
. Fix potential NULL pointer dereference before calling EVP_SignInit. (icy17)
|
||||
|
||||
- PHPDBG:
|
||||
. Fixed bug GH-13827 (Null pointer access of type 'zval' in phpdbg_frame).
|
||||
(nielsdos)
|
||||
|
||||
- Posix:
|
||||
. Fix usage of reentrant functions in ext/posix. (Arnaud)
|
||||
|
||||
- Session:
|
||||
. Fixed bug GH-13856 (Member access within null pointer of type 'ps_files' in
|
||||
ext/session/mod_files.c). (nielsdos)
|
||||
. Fixed bug GH-13891 (memleak and segfault when using ini_set with
|
||||
session.trans_sid_hosts). (nielsdos, kamil-tekiela)
|
||||
. Fixed buffer _read/_write size limit on windows for the file mode. (David Carlier)
|
||||
|
||||
- Streams:
|
||||
. Fixed file_get_contents() on Windows fails with "errno=22 Invalid
|
||||
argument". (Damian Wójcik)
|
||||
. Fixed bug GH-13264 (Part 1 - Memory leak on stream filter failure).
|
||||
(Jakub Zelenka)
|
||||
. Fixed bug GH-13860 (Incorrect PHP_STREAM_OPTION_CHECK_LIVENESS case in
|
||||
ext/openssl/xp_ssl.c - causing use of dead socket). (nielsdos)
|
||||
. Fixed bug GH-11678 (Build fails on musl 1.2.4 - lfs64). (Arnaud)
|
||||
|
||||
- Treewide:
|
||||
. Fix gcc-14 Wcalloc-transposed-args warnings. (Cristian Rodríguez)
|
||||
|
||||
28 Mar 2024, PHP 8.3.5RC1
|
||||
|
||||
- Core:
|
||||
. Fixed GH-13569 (GC buffer unnecessarily grows up to GC_MAX_BUF_SIZE when
|
||||
scanning WeakMaps). (Arnaud)
|
||||
. Fixed bug GH-13612 (Corrupted memory in destructor with weak references).
|
||||
(nielsdos)
|
||||
. Fixed bug GH-13446 (Restore exception handler after it finishes). (ilutov)
|
||||
. Fixed bug GH-13784 (AX_GCC_FUNC_ATTRIBUTE failure). (Remi)
|
||||
. Fixed bug GH-13670 (GC does not scale well with a lot of objects created in
|
||||
destructor). (Arnaud)
|
||||
|
||||
- DOM:
|
||||
. Add some missing ZPP checks. (nielsdos)
|
||||
. Fix potential memory leak in XPath evaluation results. (nielsdos)
|
||||
|
||||
- FPM:
|
||||
. Fixed GH-11086 (FPM: config test runs twice in daemonised mode).
|
||||
(Jakub Zelenka)
|
||||
. Fixed incorrect check in fpm_shm_free(). (nielsdos)
|
||||
|
||||
- GD:
|
||||
. Fixed bug GH-12019 (add GDLIB_CFLAGS in feature tests). (Michael Orlitzky)
|
||||
|
||||
- Gettext:
|
||||
. Fixed sigabrt raised with dcgettext/dcngettext calls with gettext 0.22.5
|
||||
with category set to LC_ALL. (David Carlier)
|
||||
|
||||
- MySQLnd:
|
||||
. Fix GH-13452 (Fixed handshake response [mysqlnd]). (Saki Takamachi)
|
||||
. Fix incorrect charset length in check_mb_eucjpms(). (nielsdos)
|
||||
|
||||
- Opcache:
|
||||
. Fixed GH-13508 (JITed QM_ASSIGN may be optimized out when op1 is null).
|
||||
(Arnaud, Dmitry)
|
||||
. Fixed GH-13712 (Segmentation fault for enabled observers when calling trait
|
||||
method of internal trait when opcache is loaded). (Bob)
|
||||
|
||||
- Random:
|
||||
. Fixed bug GH-13544 (Pre-PHP 8.2 compatibility for mt_srand with unknown
|
||||
modes). (timwolla)
|
||||
. Fixed bug GH-13690 (Global Mt19937 is not properly reset in-between
|
||||
requests when MT_RAND_PHP is used). (timwolla)
|
||||
|
||||
- Session:
|
||||
. Fixed bug GH-13680 (Segfault with session_decode and compilation error).
|
||||
(nielsdos)
|
||||
|
||||
- SPL:
|
||||
. Fixed bug GH-13685 (Unexpected null pointer in zend_string.h). (nielsdos)
|
||||
|
||||
- Standard:
|
||||
. Fixed bug GH-11808 (Live filesystem modified by tests). (nielsdos)
|
||||
. Fixed GH-13402 (Added validation of `\n` in $additional_headers of mail()).
|
||||
(SakiTakamachi)
|
||||
. Fixed bug GH-13203 (file_put_contents fail on strings over 4GB on Windows).
|
||||
(divinity76)
|
||||
. Fixed bug GHSA-pc52-254m-w9w7 (Command injection via array-ish $command
|
||||
parameter of proc_open). (CVE-2024-1874) (Jakub Zelenka)
|
||||
. Fixed bug GHSA-wpj3-hf5j-x4v4 (__Host-/__Secure- cookie bypass due to
|
||||
partial CVE-2022-31629 fix). (CVE-2024-2756) (nielsdos)
|
||||
. Fixed bug GHSA-h746-cjrr-wfmr (password_verify can erroneously return true,
|
||||
opening ATO risk). (CVE-2024-3096) (Jakub Zelenka)
|
||||
. Fixed bug GHSA-fjp9-9hwx-59fq (mb_encode_mimeheader runs endlessly for some
|
||||
inputs). (CVE-2024-2757) (Alex Dowad)
|
||||
|
||||
14 Mar 2024, PHP 8.3.4
|
||||
|
||||
- Core:
|
||||
. Fix ZTS persistent resource crashes on shutdown. (nielsdos)
|
||||
|
||||
- Curl:
|
||||
. Fix failing tests due to string changes in libcurl 8.6.0. (Ayesh)
|
||||
|
||||
- DOM:
|
||||
. Fix unlikely memory leak in case of namespace removal with extremely deep
|
||||
trees. (nielsdos)
|
||||
. Fix reference access in dimensions for DOMNodeList and DOMNodeMap.
|
||||
(nielsdos)
|
||||
|
||||
- Fileinfo:
|
||||
. Fixed bug GH-13344 (finfo::buffer(): Failed identify data 0:(null),
|
||||
backport). (nielsdos)
|
||||
|
||||
- FPM:
|
||||
. Fixed bug #75712 (getenv in php-fpm should not read $_ENV, $_SERVER).
|
||||
(Jakub Zelenka)
|
||||
|
||||
- GD:
|
||||
. Fixed bug GH-12019 (detection of image formats in system gd library).
|
||||
(Michael Orlitzky)
|
||||
|
||||
- MySQLnd:
|
||||
. Fixed bug GH-11950 ([mysqlnd] Fixed not to set CR_MALFORMED_PACKET to error
|
||||
if CR_SERVER_GONE_ERROR is already set). (Saki Takamachi)
|
||||
|
||||
- PDO:
|
||||
. Fix various PDORow bugs. (Girgias)
|
||||
|
||||
- PGSQL:
|
||||
. Fixed bug GH-13354 (pg_execute/pg_send_query_params/pg_send_execute
|
||||
with null value passed by reference). (George Barbarosie)
|
||||
|
||||
- SPL:
|
||||
. Fixed bug GH-13531 (Unable to resize SplfixedArray after being unserialized
|
||||
in PHP 8.2.15). (nielsdos)
|
||||
|
||||
- Standard:
|
||||
. Fixed bug GH-13279 (Instable array during in-place modification in uksort).
|
||||
(ilutov)
|
||||
. Fixed array key as hash to string (case insensitive) comparison typo
|
||||
for the second operand buffer size (albeit unused for now). (A. Slepykh)
|
||||
|
||||
- XML:
|
||||
. Fixed bug GH-13517 (Multiple test failures when building with
|
||||
--with-expat). (nielsdos)
|
||||
|
||||
15 Feb 2024, PHP 8.3.3
|
||||
|
||||
- Core:
|
||||
. Fixed timer leak in zend-max-execution-timers builds. (withinboredom)
|
||||
. Fixed bug GH-12349 (linking failure on ARM with mold). (Jan Palus)
|
||||
. Fixed bug GH-13097 (Anonymous class reference in trigger_error / thrown
|
||||
Exception). (nielsdos)
|
||||
. Fixed bug GH-13177 (PHP 8.3.2: final private constructor not allowed
|
||||
when used in trait). (nielsdos)
|
||||
. Fixed bug GH-13215 (GCC 14 build failure). (Remi)
|
||||
|
||||
- Curl:
|
||||
. Fix missing error check in curl_multi_init(). (divinity76)
|
||||
|
||||
- FPM:
|
||||
. Fixed bug GH-12996 (Incorrect SCRIPT_NAME with Apache ProxyPassMatch when
|
||||
plus in path). (Jakub Zelenka)
|
||||
|
||||
- GD:
|
||||
. Fixed bug GH-10344 (imagettfbbox(): Could not find/open font UNC path).
|
||||
(nielsdos)
|
||||
. Fixed bug GH-10614 (imagerotate will turn the picture all black, when
|
||||
rotated 90). (nielsdos)
|
||||
|
||||
- LibXML:
|
||||
. Fix crashes with entity references and predefined entities. (nielsdos)
|
||||
|
||||
- MySQLnd:
|
||||
. Fixed bug GH-12107 (When running a stored procedure (that returns a result
|
||||
set) twice, PHP crashes). (nielsdos)
|
||||
|
||||
- Opcache:
|
||||
. Fixed bug GH-13145 (strtok() is not comptime). (ilutov)
|
||||
. Fixed type inference of range(). (ilutov)
|
||||
. Fixed bug GH-13232 (Segmentation fault will be reported when JIT is off but
|
||||
JIT_debug is still on). (nielsdos)
|
||||
|
||||
- OpenSSL:
|
||||
. Fixed LibreSSL undefined reference when OPENSSL_NO_ENGINE not set.
|
||||
(David Carlier).
|
||||
|
||||
- PDO_Firebird:
|
||||
. Fix GH-13119 (Changed to convert float and double values into strings using
|
||||
`H` format). (SakiTakamachi)
|
||||
|
||||
- Phar:
|
||||
. Fixed bug #71465 (PHAR doesn't know about litespeed). (nielsdos)
|
||||
. Fixed bug GH-13037 (PharData incorrectly extracts zip file). (nielsdos)
|
||||
|
||||
- Random:
|
||||
. Fixed bug GH-13138 (Randomizer::pickArrayKeys() does not detect broken
|
||||
engines). (timwolla)
|
||||
|
||||
- Session:
|
||||
. Fixed bug GH-12504 (Corrupted session written when there's a fatal error
|
||||
in autoloader). (nielsdos)
|
||||
|
||||
- Standard:
|
||||
. Fixed bug GH-13094 (range(9.9, '0') causes segmentation fault). (nielsdos)
|
||||
|
||||
- Streams:
|
||||
. Fixed bug GH-13071 (Copying large files using mmap-able source streams may
|
||||
exhaust available memory and fail). (nielsdos)
|
||||
|
||||
18 Jan 2024, PHP 8.3.2
|
||||
|
||||
- Core:
|
||||
. Fixed bug GH-12953 (false positive SSA integrity verification failed when
|
||||
loading composer classmaps with more than 11k elements). (nielsdos)
|
||||
. Fixed bug GH-12999 (zend_strnlen build when strnlen is unsupported).
|
||||
(rainerjung)
|
||||
. Fixed bug GH-12966 (missing cross-compiling 3rd argument so Autoconf
|
||||
doesn't emit warnings). (Peter Kokot)
|
||||
. Fixed bug GH-12854 (8.3 - as final trait-used method does not correctly
|
||||
report visibility in Reflection). (nielsdos)
|
||||
|
||||
- Cli:
|
||||
. Fix incorrect timeout in built-in web server when using router script and
|
||||
max_input_time. (ilutov)
|
||||
|
||||
- DOM:
|
||||
. Fixed bug GH-12870 (Creating an xmlns attribute results in a DOMException).
|
||||
(nielsdos)
|
||||
. Fix crash when toggleAttribute() is used without a document. (nielsdos)
|
||||
. Fix crash in adoptNode with attribute references. (nielsdos)
|
||||
. Fixed bug GH-13012 (DOMNode::isEqualNode() is incorrect when attribute
|
||||
order is different). (nielsdos)
|
||||
|
||||
- FFI:
|
||||
. Fixed bug GH-9698 (stream_wrapper_register crashes with FFI\CData).
|
||||
(Jakub Zelenka)
|
||||
. Fixed bug GH-12905 (FFI::new interacts badly with observers). (nielsdos)
|
||||
|
||||
- GD:
|
||||
. Fixed GH-13082 undefined behavior with GdFont instances handling with
|
||||
imageload* and imagechar*. (David Carlier)
|
||||
|
||||
- Intl:
|
||||
. Fixed GH-12943 (IntlDateFormatter::__construct accepts 'C' as valid locale).
|
||||
(David Carlier)
|
||||
|
||||
- Hash:
|
||||
. Fixed bug GH-12936 (hash() function hangs endlessly if using sha512 on
|
||||
strings >= 4GiB). (nielsdos)
|
||||
|
||||
- MBString:
|
||||
. When operating on a string with invalid encoding, mb_substr (as well
|
||||
as mb_strstr and its variants) defines character indices in the same
|
||||
way as other mbstring functions such as mb_strpos. (Alex Dowad)
|
||||
|
||||
- ODBC:
|
||||
. Fix crash on Apache shutdown with persistent connections. (nielsdos)
|
||||
|
||||
- Opcache:
|
||||
. Fixed oss-fuzz #64727 (JIT undefined array key warning may overwrite DIM
|
||||
with NULL when DIM is the same var as result). (ilutov)
|
||||
. Added workaround for SELinux mprotect execheap issue.
|
||||
See https://bugzilla.kernel.org/show_bug.cgi?id=218258. (ilutov)
|
||||
|
||||
- OpenSSL:
|
||||
. Fixed bug GH-12987 (openssl_csr_sign might leak new cert on error).
|
||||
(Jakub Zelenka)
|
||||
|
||||
- PDO:
|
||||
. Fix GH-12969 (Fixed PDO::getAttribute() to get PDO::ATTR_STRINGIFY_FETCHES).
|
||||
(SakiTakamachi)
|
||||
|
||||
- PDO_ODBC:
|
||||
. Fixed bug GH-12767 (Unable to turn on autocommit mode with setAttribute()).
|
||||
(SakiTakamachi)
|
||||
|
||||
- PGSQL:
|
||||
. Fixed auto_reset_persistent handling and allow_persistent type. (David Carlier)
|
||||
. Fixed bug GH-12974 (Apache crashes on shutdown when using pg_pconnect()).
|
||||
(nielsdos)
|
||||
|
||||
- Phar:
|
||||
. Fixed bug #77432 (Segmentation fault on including phar file). (nielsdos)
|
||||
|
||||
- PHPDBG:
|
||||
. Fixed bug GH-12962 (Double free of init_file in phpdbg_prompt.c). (nielsdos)
|
||||
|
||||
- SimpleXML:
|
||||
. Fix getting the address of an uninitialized property of a SimpleXMLElement
|
||||
resulting in a crash. (nielsdos)
|
||||
. Fixed bug GH-12929 (SimpleXMLElement with stream_wrapper_register can
|
||||
segfault). (nielsdos)
|
||||
|
||||
- Tidy:
|
||||
. Fixed bug GH-12980 (tidynode.props.attribute is missing
|
||||
"Boolean Attributes" and empty attributes). (nielsdos)
|
||||
|
||||
07 Dec 2023, PHP 8.3.1RC1
|
||||
|
||||
- Core:
|
||||
. Fixed bug GH-12758 / GH-12768 (Invalid opline in OOM handlers within
|
||||
ZEND_FUNC_GET_ARGS and ZEND_BIND_STATIC). (Florian Engelhardt)
|
||||
. Fix various missing NULL checks. (nielsdos, dstogov)
|
||||
. Fixed bug GH-12835 (Leak of call->extra_named_params on internal __call).
|
||||
(ilutov)
|
||||
. Fixed bug GH-12826 (Weird pointers issue in nested loops). (nielsdos)
|
||||
|
||||
- FPM:
|
||||
. Fixed bug GH-12705 (Segmentation fault in fpm_status_export_to_zval).
|
||||
(Patrick Prasse)
|
||||
|
||||
- FTP:
|
||||
. Fixed bug GH-9348 (FTP & SSL session reuse). (nielsdos)
|
||||
|
||||
- LibXML:
|
||||
. Fixed test failures for libxml2 2.12.0. (nielsdos)
|
||||
|
||||
- MySQLnd:
|
||||
. Avoid using uninitialised struct. (mikhainin)
|
||||
. Fixed bug GH-12791 (Possible dereference of NULL in MySQLnd debug code).
|
||||
(nielsdos)
|
||||
|
||||
- Opcache:
|
||||
. Fixed JIT bug (Function JIT emits "Uninitialized string offset" warning
|
||||
at the same time as invalid offset Error). (Girgias)
|
||||
. Fixed JIT bug (JIT emits "Attempt to assign property of non-object"
|
||||
warning at the same time as Error is being thrown). (Girgias)
|
||||
|
||||
- PDO PGSQL:
|
||||
. Fixed the default value of $fetchMode in PDO::pgsqlGetNotify() (kocsismate)
|
||||
|
||||
- SOAP:
|
||||
. Fixed bug GH-12838 ([SOAP] Temporary WSDL cache files not being deleted).
|
||||
(nielsdos)
|
||||
|
||||
- Standard
|
||||
. Fixed GH-12745 (http_build_query() default null argument for $arg_separator
|
||||
is implicitly coerced to string). (Girgias)
|
||||
|
||||
23 Nov 2023, PHP 8.3.0
|
||||
|
||||
- Bcmath
|
||||
. Fixed GH-11761 (removing trailing zeros from numbers) (jorgsowa)
|
||||
|
||||
- CLI:
|
||||
. Added pdeathsig to builtin server to terminate workers when the master
|
||||
process is killed. (ilutov)
|
||||
. Fixed bug GH-11104 (STDIN/STDOUT/STDERR is not available for CLI without
|
||||
a script). (nielsdos)
|
||||
. Implement GH-10024 (support linting multiple files at once using php -l).
|
||||
(nielsdos)
|
||||
|
||||
- Core:
|
||||
. Fix GH-11388 (Allow "final" modifier when importing a method from a trait).
|
||||
(nielsdos)
|
||||
. Fixed bug GH-11406 (segfault with unpacking and magic method closure).
|
||||
(nielsdos)
|
||||
. Fixed bug GH-9388 (Improve unset property and __get type incompatibility
|
||||
error message). (ilutov)
|
||||
. SA_ONSTACK is now set for signal handlers to be friendlier to other
|
||||
in-process code such as Go's cgo. (Kévin Dunglas)
|
||||
. SA_ONSTACK is now set when signals are disabled. (Kévin Dunglas)
|
||||
. Fix GH-9649: Signal handlers now do a no-op instead of crashing when
|
||||
executed on threads not managed by TSRM. (Kévin Dunglas)
|
||||
. Added shadow stack support for fibers. (Chen Hu)
|
||||
. Fix bug GH-9965 (Fix accidental caching of default arguments with side
|
||||
effects). (ilutov)
|
||||
. Implement GH-10217 (Use strlen() for determining the class_name length).
|
||||
(Dennis Buteyn)
|
||||
. Fix bug GH-8821 (Improve line numbers for errors in constant expressions).
|
||||
(ilutov)
|
||||
. Fix bug GH-10083 (Allow comments between & and parameter). (ilutov)
|
||||
. Zend Max Execution Timers is now enabled by default for ZTS builds on
|
||||
Linux. (Kévin Dunglas)
|
||||
. Fix bug GH-10469 (Disallow .. in open_basedir paths set at runtime).
|
||||
(ilutov)
|
||||
. Fix bug GH-10168, GH-10582 (Various segfaults with destructors and VM return
|
||||
values). (dstogov, nielsdos, ilutov)
|
||||
. Fix bug GH-10935 (Use of trait doesn't redeclare static property if class
|
||||
has inherited it from its parent). (ilutov)
|
||||
. Fix bug GH-11154 (Negative indices on empty array don't affect next chosen
|
||||
index). (ColinHDev)
|
||||
. Fix bug GH-8846 (Implement delayed early binding for classes without
|
||||
parents). (ilutov)
|
||||
. Fix bug #79836 (Segfault in concat_function). (nielsdos)
|
||||
. Fix bug #81705 (type confusion/UAF on set_error_handler with concat
|
||||
operation). (nielsdos)
|
||||
. Fix GH-11348 (Closure created from magic method does not accept named
|
||||
arguments). (nielsdos)
|
||||
. Fix GH-11388 (Allow "final" modifier when importing a method from a trait).
|
||||
(nielsdos)
|
||||
. Fixed bug GH-11406 (segfault with unpacking and magic method closure).
|
||||
(nielsdos)
|
||||
. Fixed bug GH-11507 (String concatenation performance regression in 8.3).
|
||||
(nielsdos)
|
||||
. Fixed GH-11488 (Missing "Optional parameter before required" deprecation on
|
||||
union null type). (ilutov)
|
||||
. Implement the #[\Override] attribute RFC. (timwolla)
|
||||
. Fixed bug GH-11601 (Incorrect handling of unwind and graceful exit
|
||||
exceptions). (ilutov)
|
||||
. Added zend_call_stack_get implementation for OpenBSD. (David Carlier)
|
||||
. Add stack limit check in zend_eval_const_expr(). (Arnaud)
|
||||
. Expose time spent collecting cycles in gc_status(). (Arnaud)
|
||||
. Remove WeakMap entries whose key is only reachable through the entry value.
|
||||
(Arnaud)
|
||||
. Resolve open_basedir paths on INI update. (ilutov)
|
||||
. Fixed oss-fuzz #60741 (Leak in open_basedir). (ilutov)
|
||||
. Fixed segfault during freeing of some incompletely initialized objects due
|
||||
to OOM error (PDO, SPL, XSL). (ilutov)
|
||||
. Introduced Zend guard recursion protection to fix __debugInfo issue.
|
||||
(Jakub Zelenka)
|
||||
. Fixed oss-fuzz #61712 (assertion failure with error handler during binary
|
||||
op). (nielsdos)
|
||||
. Fixed GH-11847 (DTrace enabled build is broken). (Filip Zrůst)
|
||||
. Fixed OSS Fuzz #61865 (Undef variable in ++/-- for declared property
|
||||
that is unset in error handler). (Girgias)
|
||||
. Fixed warning emitted when checking if a user stream is castable. (Girgias)
|
||||
. Fixed bug GH-12123 (Compile error on MacOS with C++ extension when using
|
||||
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX). (kocsismate)
|
||||
. Fixed bug GH-12189 (#[Override] attribute in trait does not check for
|
||||
parent class implementations). (timwolla)
|
||||
. Fixed OSS Fuzz #62294 (Unsetting variable after ++/-- on string variable
|
||||
warning). (Girgias)
|
||||
. Fixed buffer underflow when compiling memoized expression. (ilutov)
|
||||
. Fixed oss-fuzz #63802 (OP1 leak in error path of post inc/dec). (ilutov)
|
||||
|
||||
- Curl:
|
||||
. Added Curl options and constants up to (including) version 7.87.
|
||||
(nielsdos, adoy)
|
||||
|
||||
- Date:
|
||||
. Implement More Appropriate Date/Time Exceptions RFC. (Derick)
|
||||
|
||||
- DOM:
|
||||
. Fix bug GH-8388 (DOMAttr unescapes character reference). (Tim Starling)
|
||||
. Fix bug GH-11308 (getElementsByTagName() is O(N^2)). (nielsdos)
|
||||
. Fix #79700 (wrong use of libxml oldNs leads to performance problem).
|
||||
(nielsdos)
|
||||
. Fix #77894 (DOMNode::C14N() very slow on generated DOMDocuments even after
|
||||
normalisation). (nielsdos)
|
||||
. Revert changes to DOMAttr::$value and DOMAttr::$nodeValue expansion.
|
||||
(nielsdos)
|
||||
. Fixed bug GH-11500 (Namespace reuse in createElementNS() generates wrong
|
||||
output). (nielsdos)
|
||||
. Implemented DOMDocument::adoptNode(). Previously this always threw a
|
||||
"not yet implemented" exception. (nielsdos)
|
||||
. Fixed bug GH-9628 (Implicitly removing nodes from \DOMDocument breaks
|
||||
existing references). (nielsdos)
|
||||
. Added DOMNode::contains() and DOMNameSpaceNode::contains(). (nielsdos)
|
||||
. Added DOMElement::getAttributeNames(). (nielsdos)
|
||||
. Added DOMNode::getRootNode(). (nielsdos)
|
||||
. Added DOMElement::className and DOMElement::id. (nielsdos)
|
||||
. Added DOMParentNode::replaceChildren(). (nielsdos)
|
||||
. Added DOMNode::isConnected and DOMNameSpaceNode::isConnected. (nielsdos)
|
||||
. Added DOMNode::parentElement and DOMNameSpaceNode::parentElement.
|
||||
(nielsdos)
|
||||
. Added DOMNode::isEqualNode(). (nielsdos)
|
||||
. Added DOMElement::insertAdjacentElement() and
|
||||
DOMElement::insertAdjacentText(). (nielsdos)
|
||||
. Added DOMElement::toggleAttribute(). (nielsdos)
|
||||
. Fixed bug GH-11792 (LIBXML_NOXMLDECL is not implemented or broken).
|
||||
(nielsdos)
|
||||
. adoptNode now respects the strict error checking property. (nielsdos)
|
||||
. Align DOMChildNode parent checks with spec. (nielsdos)
|
||||
. Fixed bug #80927 (Removing documentElement after creating attribute node:
|
||||
possible use-after-free). (nielsdos)
|
||||
. Fix various namespace prefix conflict resolution bugs. (nielsdos)
|
||||
. Fix calling createAttributeNS() without prefix causing the default
|
||||
namespace of the element to change. (nielsdos)
|
||||
. Fixed GH-11952 (Confusing warning when blocking entity loading via
|
||||
libxml_set_external_entity_loader). (nielsdos)
|
||||
. Fix broken cache invalidation with deallocated and reallocated document
|
||||
node. (nielsdos)
|
||||
. Fix compile error when php_libxml.h header is included in C++.
|
||||
(Remi, nielsdos)
|
||||
. Fixed bug #47531 (No way of removing redundant xmlns: declarations).
|
||||
(nielsdos)
|
||||
|
||||
- Exif:
|
||||
. Removed unneeded codepaths in exif_process_TIFF_in_JPEG(). (nielsdos)
|
||||
|
||||
- FFI:
|
||||
. Implement GH-11934 (Allow to pass CData into struct and/or union fields).
|
||||
(nielsdos, KapitanOczywisty)
|
||||
|
||||
- Fileinfo:
|
||||
. Upgrade bundled libmagic to 5.43. (Anatol)
|
||||
. Fix GH-11408 (Unable to build PHP 8.3.0 alpha 1 / fileinfo extension).
|
||||
(nielsdos)
|
||||
|
||||
- FPM:
|
||||
. The status.listen shared pool now uses the same php_values (including
|
||||
expose_php) and php_admin_value as the pool it is shared with. (dwxh)
|
||||
. Added warning to log when fpm socket was not registered on the expected
|
||||
path. (Joshua Behrens, Jakub Zelenka)
|
||||
. Fixed bug #76067 (system() function call leaks php-fpm listening sockets).
|
||||
(Mikhail Galanin, Jakub Zelenka)
|
||||
. Fixed GH-12077 (PHP 8.3.0RC1 borked socket-close-on-exec.phpt).
|
||||
(Jakub Zelenka)
|
||||
|
||||
- GD:
|
||||
. Removed imagerotate "ignore_transparent" argument since it has no effect.
|
||||
(David Carlier)
|
||||
|
||||
- Intl:
|
||||
. Added pattern format error infos for numfmt_set_pattern. (David Carlier)
|
||||
. Added MIXED_NUMBERS and HIDDEN_OVERLAY constants for
|
||||
the Spoofchecker's class. (David Carlier)
|
||||
. Updated datefmt_set_timezone/IntlDateformatter::setTimezone returns type.
|
||||
(David Carlier).
|
||||
. Updated IntlBreakInterator::setText return type. (David Carlier)
|
||||
. Updated IntlChar::enumCharNames return type. (David Carlier)
|
||||
. Removed the BC break on IntlDateFormatter::construct which threw an
|
||||
exception with an invalid locale. (David Carlier)
|
||||
|
||||
- JSON:
|
||||
. Added json_validate(). (Juan Morales)
|
||||
|
||||
- LDAP:
|
||||
. Deprecate calling ldap_connect() with separate hostname and port.
|
||||
(heiglandreas)
|
||||
|
||||
- LibXML:
|
||||
. Fix compile error with -Werror=incompatible-function-pointer-types and
|
||||
old libxml2. (nielsdos)
|
||||
|
||||
- MBString:
|
||||
. mb_detect_encoding is better able to identify the correct encoding for
|
||||
Turkish text. (Alex Dowad)
|
||||
. mb_detect_encoding's "non-strict" mode now behaves as described in the
|
||||
documentation. Previously, it would return false if the same byte
|
||||
(for example, the first byte) of the input string was invalid in all
|
||||
candidate encodings. More generally, it would eliminate candidate
|
||||
encodings from consideration when an invalid byte was seen, and if the
|
||||
same input byte eliminated all remaining encodings still under
|
||||
consideration, it would return false. On the other hand, if all candidate
|
||||
encodings but one were eliminated from consideration, it would return the
|
||||
last remaining one without regard for how many encoding errors might be
|
||||
encountered later in the string. This is different from the behavior
|
||||
described in the documentation, which says: "If strict is set to false,
|
||||
the closest matching encoding will be returned." (Alex Dowad)
|
||||
. mb_strtolower, mb_strtotitle, and mb_convert_case implement conditional
|
||||
casing rules for the Greek letter sigma. For mb_convert_case, conditional
|
||||
casing only applies to MB_CASE_LOWER and MB_CASE_TITLE modes, not to
|
||||
MB_CASE_LOWER_SIMPLE and MB_CASE_TITLE_SIMPLE. (Alex Dowad)
|
||||
. mb_detect_encoding is better able to identify UTF-8 and UTF-16 strings
|
||||
with a byte-order mark. (Alex Dowad)
|
||||
. mb_decode_mimeheader interprets underscores in QPrint-encoded MIME
|
||||
encoded words as required by RFC 2047; they are converted to spaces.
|
||||
Underscores must be encoded as "=5F" in such MIME encoded words.
|
||||
(Alex Dowad)
|
||||
. mb_encode_mimeheader no longer drops NUL (zero) bytes when
|
||||
QPrint-encoding the input string. This previously caused strings in
|
||||
certain text encodings, especially UTF-16 and UTF-32, to be
|
||||
corrupted by mb_encode_mimeheader. (Alex Dowad)
|
||||
. Implement mb_str_pad() RFC. (nielsdos)
|
||||
. Fixed bug GH-11514 (PHP 8.3 build fails with --enable-mbstring enabled).
|
||||
(nielsdos)
|
||||
. Fix use-after-free of mb_list_encodings() return value. (ilutov)
|
||||
. Fixed bug GH-11992 (utf_encodings.phpt fails on Windows 32-bit). (nielsdos)
|
||||
|
||||
- mysqli:
|
||||
. mysqli_fetch_object raises a ValueError instead of an Exception.
|
||||
(David Carlier)
|
||||
|
||||
- Opcache:
|
||||
. Added start, restart and force restart time to opcache's
|
||||
phpinfo section. (Mikhail Galanin)
|
||||
. Fix GH-9139: Allow FFI in opcache.preload when opcache.preload_user=root.
|
||||
(Arnaud, Kapitan Oczywisty)
|
||||
. Made opcache.preload_user always optional in the cli and phpdbg SAPIs.
|
||||
(Arnaud)
|
||||
. Allows W/X bits on page creation on FreeBSD despite system settings.
|
||||
(David Carlier)
|
||||
. Added memfd api usage, on Linux, for zend_shared_alloc_create_lock()
|
||||
to create an abstract anonymous file for the opcache's lock. (Max Kellermann)
|
||||
. Avoid resetting JIT counter handlers from multiple processes/threads.
|
||||
(ilutov)
|
||||
. Fixed COPY_TMP type inference for references. (ilutov)
|
||||
|
||||
- OpenSSL:
|
||||
. Added OPENSSL_CMS_OLDMIMETYPE and PKCS7_NOOLDMIMETYPE contants to switch
|
||||
between mime content types. (Daniel Kesselberg)
|
||||
. Fixed GH-11054: Reset OpenSSL errors when using a PEM public key.
|
||||
(Florian Moser)
|
||||
. Added support for additional EC parameters in openssl_pkey_new. (Eno-CN)
|
||||
|
||||
- PCNTL:
|
||||
. SA_ONSTACK is now set for pcntl_signal. (Kévin Dunglas)
|
||||
. Added SIGINFO constant. (David Carlier)
|
||||
|
||||
- PCRE:
|
||||
. Update bundled libpcre2 to 10.42. (nielsdos)
|
||||
|
||||
- PGSQL:
|
||||
. pg_fetch_object raises a ValueError instead of an Exception.
|
||||
(David Carlier)
|
||||
. pg_cancel use thread safe PQcancel api instead. (David Carlier)
|
||||
. pg_trace new PGSQL_TRACE_SUPPRESS_TIMESTAMPS/PGSQL_TRACE_REGRESS_MODE
|
||||
contants support. (David Carlier)
|
||||
. pg_set_error_verbosity adding PGSQL_ERRORS_STATE constant. (David Carlier)
|
||||
. pg_convert/pg_insert E_WARNING on type errors had been converted to
|
||||
ValueError/TypeError exceptions. (David Carlier)
|
||||
. Added pg_set_error_context_visibility to set the context's visibility
|
||||
within the error messages. (David Carlier)
|
||||
|
||||
- Phar:
|
||||
. Fix memory leak in phar_rename_archive(). (stkeke)
|
||||
|
||||
- POSIX:
|
||||
. Added posix_sysconf. (David Carlier)
|
||||
. Added posix_pathconf. (David Carlier)
|
||||
. Added posix_fpathconf. (David Carlier)
|
||||
. Fixed zend_parse_arg_long's bool pointer argument assignment. (Cristian Rodriguez)
|
||||
. Added posix_eaccess. (David Carlier)
|
||||
|
||||
- Random:
|
||||
. Added Randomizer::getBytesFromString(). (Joshua Rüsweg)
|
||||
. Added Randomizer::nextFloat(), ::getFloat(), and IntervalBoundary. (timwolla)
|
||||
. Enable getrandom() for NetBSD (from 10.x). (David Carlier)
|
||||
. Deprecate MT_RAND_PHP. (timwolla)
|
||||
. Fix Randomizer::getFloat() returning incorrect results under
|
||||
certain circumstances. (timwolla)
|
||||
|
||||
- Reflection:
|
||||
. Fix GH-9470 (ReflectionMethod constructor should not find private parent
|
||||
method). (ilutov)
|
||||
. Fix GH-10259 (ReflectionClass::getStaticProperties doesn't need null return
|
||||
type). (kocsismate)
|
||||
|
||||
- SAPI:
|
||||
. Fixed GH-11141 (Could not open input file: should be sent to stderr).
|
||||
(nielsdos)
|
||||
|
||||
- Session:
|
||||
. Fixed bug GH-11529 (Crash after dealing with an Apache request). (nielsdos)
|
||||
|
||||
- SimpleXML:
|
||||
. Fixed bug GH-12192 (SimpleXML infinite loop when getName() is called
|
||||
within foreach). (nielsdos)
|
||||
. Fixed bug GH-12208 (SimpleXML infinite loop when a cast is used inside a
|
||||
foreach). (nielsdos)
|
||||
. Fixed bug #55098 (SimpleXML iteration produces infinite loop). (nielsdos)
|
||||
|
||||
- Sockets:
|
||||
. Added SO_ATTACH_REUSEPORT_CBPF socket option, to give tighter control
|
||||
over socket binding for a cpu core. (David Carlier)
|
||||
. Added SKF_AD_QUEUE for cbpf filters. (David Carlier)
|
||||
. Added socket_atmark if send/recv needs using MSG_OOB. (David Carlier)
|
||||
. Added TCP_QUICKACK constant, to give tigher control over
|
||||
ACK delays. (David Carlier)
|
||||
. Added DONTFRAGMENT support for path MTU discovery purpose. (David Carlier)
|
||||
. Added AF_DIVERT for raw socket for divert ports. (David Carlier)
|
||||
. Added SOL_UPDLITE, UDPLITE_RECV_CSCOV and UDPLITE_SEND_CSCOV for updlite
|
||||
protocol support. (David Carlier)
|
||||
. Added SO_RERROR, SO_ZEROIZE and SO_SPLICE netbsd and openbsd constants.
|
||||
(David Carlier)
|
||||
. Added TCP_REPAIR for quietly close a connection. (David Carlier)
|
||||
. Added SO_REUSEPORT_LB freebsd constant. (David Carlier)
|
||||
. Added IP_BIND_ADDRESS_NO_PORT. (David Carlier)
|
||||
|
||||
- SPL:
|
||||
. Fixed GH-11573 (RecursiveDirectoryIterator::hasChildren is slow).
|
||||
(nielsdos)
|
||||
|
||||
- Standard:
|
||||
. E_NOTICEs emitted by unserialize() have been promoted to E_WARNING. (timwolla)
|
||||
. unserialize() now emits a new E_WARNING if the input contains unconsumed
|
||||
bytes. (timwolla)
|
||||
. Make array_pad's $length warning less confusing. (nielsdos)
|
||||
. E_WARNING emitted by strtok in the caase both arguments are not provided when
|
||||
starting tokenisation. (David Carlier)
|
||||
. password_hash() will now chain the original RandomException to the ValueError
|
||||
on salt generation failure. (timwolla)
|
||||
. Fix GH-10239 (proc_close after proc_get_status always returns -1). (nielsdos)
|
||||
. Improve the warning message for unpack() in case not enough values were
|
||||
provided. (nielsdos)
|
||||
. Fix GH-11010 (parse_ini_string() now preserves formatting of unquoted
|
||||
strings starting with numbers when the INI_SCANNER_TYPED flag is
|
||||
specified). (ilutov)
|
||||
. Fix GH-10742 (http_response_code emits no error when headers were already
|
||||
sent). (NattyNarwhal)
|
||||
. Added support for rounding negative places in number_format().
|
||||
(Marc Bennewitz)
|
||||
. Prevent precision loss on formatting decimal integers in number_format().
|
||||
(Marc Bennewitz)
|
||||
. Added usage of posix_spawn for proc_open when supported by OS.
|
||||
(Cristian Rodriguez)
|
||||
. Added $before_needle argument to strrchr(). (HypeMC)
|
||||
. Fixed GH-11982 (str_getcsv returns null byte for unterminated enclosure).
|
||||
(Jakub Zelenka)
|
||||
. Fixed str_decrement() on "1". (ilutov)
|
||||
|
||||
- Streams:
|
||||
. Fixed bug #51056: blocking fread() will block even if data is available.
|
||||
(Jakub Zelenka)
|
||||
. Added storing of the original path used to open xport stream.
|
||||
(Luc Vieillescazes)
|
||||
. Implement GH-8641 (STREAM_NOTIFY_COMPLETED over HTTP never emitted).
|
||||
(nielsdos, Jakub Zelenka)
|
||||
. Fix bug GH-10406 (fgets on a redis socket connection fails on PHP 8.3).
|
||||
(Jakub Zelenka)
|
||||
. Implemented GH-11242 (_php_stream_copy_to_mem: Allow specifying a maximum
|
||||
length without allocating a buffer of that size). (Jakub Zelenka)
|
||||
. Fixed bug #52335 (fseek() on memory stream behavior different than file).
|
||||
(Jakub Zelenka)
|
||||
. Fixed bug #76857 (Can read "non-existant" files). (Jakub Zelenka)
|
||||
|
||||
- XSLTProcessor:
|
||||
. Fixed bug #69168 (DomNode::getNodePath() returns invalid path). (nielsdos)
|
||||
|
||||
- ZIP:
|
||||
. zip extension version 1.22.0 for libzip 1.10.0. (Remi)
|
||||
. add new error macros (ER_DATA_LENGTH and ER_NOT_ALLOWED). (Remi)
|
||||
. add new archive global flags (ER_AFL_*). (Remi)
|
||||
. add ZipArchive::setArchiveFlag and ZipArchive::getArchiveFlag methods.
|
||||
(Remi)
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
"%~dp0php.exe" "%~dp0pharcommand.phar" %*
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,1959 @@
|
||||
[PHP]
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;
|
||||
; About php.ini ;
|
||||
;;;;;;;;;;;;;;;;;;;
|
||||
; PHP's initialization file, generally called php.ini, is responsible for
|
||||
; configuring many of the aspects of PHP's behavior.
|
||||
|
||||
; PHP attempts to find and load this configuration from a number of locations.
|
||||
; The following is a summary of its search order:
|
||||
; 1. SAPI module specific location.
|
||||
; 2. The PHPRC environment variable.
|
||||
; 3. A number of predefined registry keys on Windows
|
||||
; 4. Current working directory (except CLI)
|
||||
; 5. The web server's directory (for SAPI modules), or directory of PHP
|
||||
; (otherwise in Windows)
|
||||
; 6. The directory from the --with-config-file-path compile time option, or the
|
||||
; Windows directory (usually C:\windows)
|
||||
; See the PHP docs for more specific information.
|
||||
; https://php.net/configuration.file
|
||||
|
||||
; The syntax of the file is extremely simple. Whitespace and lines
|
||||
; beginning with a semicolon are silently ignored (as you probably guessed).
|
||||
; Section headers (e.g. [Foo]) are also silently ignored, even though
|
||||
; they might mean something in the future.
|
||||
|
||||
; Directives following the section heading [PATH=/www/mysite] only
|
||||
; apply to PHP files in the /www/mysite directory. Directives
|
||||
; following the section heading [HOST=www.example.com] only apply to
|
||||
; PHP files served from www.example.com. Directives set in these
|
||||
; special sections cannot be overridden by user-defined INI files or
|
||||
; at runtime. Currently, [PATH=] and [HOST=] sections only work under
|
||||
; CGI/FastCGI.
|
||||
; https://php.net/ini.sections
|
||||
|
||||
; Directives are specified using the following syntax:
|
||||
; directive = value
|
||||
; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
|
||||
; Directives are variables used to configure PHP or PHP extensions.
|
||||
; There is no name validation. If PHP can't find an expected
|
||||
; directive because it is not set or is mistyped, a default value will be used.
|
||||
|
||||
; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
|
||||
; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
|
||||
; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
|
||||
; previously set variable or directive (e.g. ${foo})
|
||||
|
||||
; Expressions in the INI file are limited to bitwise operators and parentheses:
|
||||
; | bitwise OR
|
||||
; ^ bitwise XOR
|
||||
; & bitwise AND
|
||||
; ~ bitwise NOT
|
||||
; ! boolean NOT
|
||||
|
||||
; Boolean flags can be turned on using the values 1, On, True or Yes.
|
||||
; They can be turned off using the values 0, Off, False or No.
|
||||
|
||||
; An empty string can be denoted by simply not writing anything after the equal
|
||||
; sign, or by using the None keyword:
|
||||
|
||||
; foo = ; sets foo to an empty string
|
||||
; foo = None ; sets foo to an empty string
|
||||
; foo = "None" ; sets foo to the string 'None'
|
||||
|
||||
; If you use constants in your value, and these constants belong to a
|
||||
; dynamically loaded extension (either a PHP extension or a Zend extension),
|
||||
; you may only use these constants *after* the line that loads the extension.
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;
|
||||
; About this file ;
|
||||
;;;;;;;;;;;;;;;;;;;
|
||||
; PHP comes packaged with two INI files. One that is recommended to be used
|
||||
; in production environments and one that is recommended to be used in
|
||||
; development environments.
|
||||
|
||||
; php.ini-production contains settings which hold security, performance and
|
||||
; best practices at its core. But please be aware, these settings may break
|
||||
; compatibility with older or less security-conscious applications. We
|
||||
; recommending using the production ini in production and testing environments.
|
||||
|
||||
; php.ini-development is very similar to its production variant, except it is
|
||||
; much more verbose when it comes to errors. We recommend using the
|
||||
; development version only in development environments, as errors shown to
|
||||
; application users can inadvertently leak otherwise secure information.
|
||||
|
||||
; This is the php.ini-development INI file.
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;
|
||||
; Quick Reference ;
|
||||
;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
; The following are all the settings which are different in either the production
|
||||
; or development versions of the INIs with respect to PHP's default behavior.
|
||||
; Please see the actual settings later in the document for more details as to why
|
||||
; we recommend these changes in PHP's behavior.
|
||||
|
||||
; display_errors
|
||||
; Default Value: On
|
||||
; Development Value: On
|
||||
; Production Value: Off
|
||||
|
||||
; display_startup_errors
|
||||
; Default Value: On
|
||||
; Development Value: On
|
||||
; Production Value: Off
|
||||
|
||||
; error_reporting
|
||||
; Default Value: E_ALL
|
||||
; Development Value: E_ALL
|
||||
; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
|
||||
|
||||
; log_errors
|
||||
; Default Value: Off
|
||||
; Development Value: On
|
||||
; Production Value: On
|
||||
|
||||
; max_input_time
|
||||
; Default Value: -1 (Unlimited)
|
||||
; Development Value: 60 (60 seconds)
|
||||
; Production Value: 60 (60 seconds)
|
||||
|
||||
; output_buffering
|
||||
; Default Value: Off
|
||||
; Development Value: 4096
|
||||
; Production Value: 4096
|
||||
|
||||
; register_argc_argv
|
||||
; Default Value: On
|
||||
; Development Value: Off
|
||||
; Production Value: Off
|
||||
|
||||
; request_order
|
||||
; Default Value: None
|
||||
; Development Value: "GP"
|
||||
; Production Value: "GP"
|
||||
|
||||
; session.gc_divisor
|
||||
; Default Value: 100
|
||||
; Development Value: 1000
|
||||
; Production Value: 1000
|
||||
|
||||
; session.sid_bits_per_character
|
||||
; Default Value: 4
|
||||
; Development Value: 5
|
||||
; Production Value: 5
|
||||
|
||||
; session.sid_length
|
||||
; Default Value: 32
|
||||
; Development Value: 26
|
||||
; Production Value: 26
|
||||
|
||||
; short_open_tag
|
||||
; Default Value: On
|
||||
; Development Value: Off
|
||||
; Production Value: Off
|
||||
|
||||
; variables_order
|
||||
; Default Value: "EGPCS"
|
||||
; Development Value: "GPCS"
|
||||
; Production Value: "GPCS"
|
||||
|
||||
; zend.assertions
|
||||
; Default Value: 1
|
||||
; Development Value: 1
|
||||
; Production Value: -1
|
||||
|
||||
; zend.exception_ignore_args
|
||||
; Default Value: Off
|
||||
; Development Value: Off
|
||||
; Production Value: On
|
||||
|
||||
; zend.exception_string_param_max_len
|
||||
; Default Value: 15
|
||||
; Development Value: 15
|
||||
; Production Value: 0
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;
|
||||
; php.ini Options ;
|
||||
;;;;;;;;;;;;;;;;;;;;
|
||||
; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
|
||||
;user_ini.filename = ".user.ini"
|
||||
|
||||
; To disable this feature set this option to an empty value
|
||||
;user_ini.filename =
|
||||
|
||||
; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
|
||||
;user_ini.cache_ttl = 300
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;
|
||||
; Language Options ;
|
||||
;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
; Enable the PHP scripting language engine under Apache.
|
||||
; https://php.net/engine
|
||||
engine = On
|
||||
|
||||
; This directive determines whether or not PHP will recognize code between
|
||||
; <? and ?> tags as PHP source which should be processed as such. It is
|
||||
; generally recommended that <?php and ?> should be used and that this feature
|
||||
; should be disabled, as enabling it may result in issues when generating XML
|
||||
; documents, however this remains supported for backward compatibility reasons.
|
||||
; Note that this directive does not control the <?= shorthand tag, which can be
|
||||
; used regardless of this directive.
|
||||
; Default Value: On
|
||||
; Development Value: Off
|
||||
; Production Value: Off
|
||||
; https://php.net/short-open-tag
|
||||
short_open_tag = Off
|
||||
|
||||
; The number of significant digits displayed in floating point numbers.
|
||||
; https://php.net/precision
|
||||
precision = 14
|
||||
|
||||
; Output buffering is a mechanism for controlling how much output data
|
||||
; (excluding headers and cookies) PHP should keep internally before pushing that
|
||||
; data to the client. If your application's output exceeds this setting, PHP
|
||||
; will send that data in chunks of roughly the size you specify.
|
||||
; Turning on this setting and managing its maximum buffer size can yield some
|
||||
; interesting side-effects depending on your application and web server.
|
||||
; You may be able to send headers and cookies after you've already sent output
|
||||
; through print or echo. You also may see performance benefits if your server is
|
||||
; emitting less packets due to buffered output versus PHP streaming the output
|
||||
; as it gets it. On production servers, 4096 bytes is a good setting for performance
|
||||
; reasons.
|
||||
; Note: Output buffering can also be controlled via Output Buffering Control
|
||||
; functions.
|
||||
; Possible Values:
|
||||
; On = Enabled and buffer is unlimited. (Use with caution)
|
||||
; Off = Disabled
|
||||
; Integer = Enables the buffer and sets its maximum size in bytes.
|
||||
; Note: This directive is hardcoded to Off for the CLI SAPI
|
||||
; Default Value: Off
|
||||
; Development Value: 4096
|
||||
; Production Value: 4096
|
||||
; https://php.net/output-buffering
|
||||
output_buffering = 4096
|
||||
|
||||
; You can redirect all of the output of your scripts to a function. For
|
||||
; example, if you set output_handler to "mb_output_handler", character
|
||||
; encoding will be transparently converted to the specified encoding.
|
||||
; Setting any output handler automatically turns on output buffering.
|
||||
; Note: People who wrote portable scripts should not depend on this ini
|
||||
; directive. Instead, explicitly set the output handler using ob_start().
|
||||
; Using this ini directive may cause problems unless you know what script
|
||||
; is doing.
|
||||
; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
|
||||
; and you cannot use both "ob_gzhandler" and "zlib.output_compression".
|
||||
; Note: output_handler must be empty if this is set 'On' !!!!
|
||||
; Instead you must use zlib.output_handler.
|
||||
; https://php.net/output-handler
|
||||
;output_handler =
|
||||
|
||||
; URL rewriter function rewrites URL on the fly by using
|
||||
; output buffer. You can set target tags by this configuration.
|
||||
; "form" tag is special tag. It will add hidden input tag to pass values.
|
||||
; Refer to session.trans_sid_tags for usage.
|
||||
; Default Value: "form="
|
||||
; Development Value: "form="
|
||||
; Production Value: "form="
|
||||
;url_rewriter.tags
|
||||
|
||||
; URL rewriter will not rewrite absolute URL nor form by default. To enable
|
||||
; absolute URL rewrite, allowed hosts must be defined at RUNTIME.
|
||||
; Refer to session.trans_sid_hosts for more details.
|
||||
; Default Value: ""
|
||||
; Development Value: ""
|
||||
; Production Value: ""
|
||||
;url_rewriter.hosts
|
||||
|
||||
; Transparent output compression using the zlib library
|
||||
; Valid values for this option are 'off', 'on', or a specific buffer size
|
||||
; to be used for compression (default is 4KB)
|
||||
; Note: Resulting chunk size may vary due to nature of compression. PHP
|
||||
; outputs chunks that are few hundreds bytes each as a result of
|
||||
; compression. If you prefer a larger chunk size for better
|
||||
; performance, enable output_buffering in addition.
|
||||
; Note: You need to use zlib.output_handler instead of the standard
|
||||
; output_handler, or otherwise the output will be corrupted.
|
||||
; https://php.net/zlib.output-compression
|
||||
zlib.output_compression = Off
|
||||
|
||||
; https://php.net/zlib.output-compression-level
|
||||
;zlib.output_compression_level = -1
|
||||
|
||||
; You cannot specify additional output handlers if zlib.output_compression
|
||||
; is activated here. This setting does the same as output_handler but in
|
||||
; a different order.
|
||||
; https://php.net/zlib.output-handler
|
||||
;zlib.output_handler =
|
||||
|
||||
; Implicit flush tells PHP to tell the output layer to flush itself
|
||||
; automatically after every output block. This is equivalent to calling the
|
||||
; PHP function flush() after each and every call to print() or echo() and each
|
||||
; and every HTML block. Turning this option on has serious performance
|
||||
; implications and is generally recommended for debugging purposes only.
|
||||
; https://php.net/implicit-flush
|
||||
; Note: This directive is hardcoded to On for the CLI SAPI
|
||||
implicit_flush = Off
|
||||
|
||||
; The unserialize callback function will be called (with the undefined class'
|
||||
; name as parameter), if the unserializer finds an undefined class
|
||||
; which should be instantiated. A warning appears if the specified function is
|
||||
; not defined, or if the function doesn't include/implement the missing class.
|
||||
; So only set this entry, if you really want to implement such a
|
||||
; callback-function.
|
||||
unserialize_callback_func =
|
||||
|
||||
; The unserialize_max_depth specifies the default depth limit for unserialized
|
||||
; structures. Setting the depth limit too high may result in stack overflows
|
||||
; during unserialization. The unserialize_max_depth ini setting can be
|
||||
; overridden by the max_depth option on individual unserialize() calls.
|
||||
; A value of 0 disables the depth limit.
|
||||
;unserialize_max_depth = 4096
|
||||
|
||||
; When floats & doubles are serialized, store serialize_precision significant
|
||||
; digits after the floating point. The default value ensures that when floats
|
||||
; are decoded with unserialize, the data will remain the same.
|
||||
; The value is also used for json_encode when encoding double values.
|
||||
; If -1 is used, then dtoa mode 0 is used which automatically select the best
|
||||
; precision.
|
||||
serialize_precision = -1
|
||||
|
||||
; open_basedir, if set, limits all file operations to the defined directory
|
||||
; and below. This directive makes most sense if used in a per-directory
|
||||
; or per-virtualhost web server configuration file.
|
||||
; Note: disables the realpath cache
|
||||
; https://php.net/open-basedir
|
||||
;open_basedir =
|
||||
|
||||
; This directive allows you to disable certain functions.
|
||||
; It receives a comma-delimited list of function names.
|
||||
; https://php.net/disable-functions
|
||||
disable_functions =
|
||||
|
||||
; This directive allows you to disable certain classes.
|
||||
; It receives a comma-delimited list of class names.
|
||||
; https://php.net/disable-classes
|
||||
disable_classes =
|
||||
|
||||
; Colors for Syntax Highlighting mode. Anything that's acceptable in
|
||||
; <span style="color: ???????"> would work.
|
||||
; https://php.net/syntax-highlighting
|
||||
;highlight.string = #DD0000
|
||||
;highlight.comment = #FF9900
|
||||
;highlight.keyword = #007700
|
||||
;highlight.default = #0000BB
|
||||
;highlight.html = #000000
|
||||
|
||||
; If enabled, the request will be allowed to complete even if the user aborts
|
||||
; the request. Consider enabling it if executing long requests, which may end up
|
||||
; being interrupted by the user or a browser timing out. PHP's default behavior
|
||||
; is to disable this feature.
|
||||
; https://php.net/ignore-user-abort
|
||||
;ignore_user_abort = On
|
||||
|
||||
; Determines the size of the realpath cache to be used by PHP. This value should
|
||||
; be increased on systems where PHP opens many files to reflect the quantity of
|
||||
; the file operations performed.
|
||||
; Note: if open_basedir is set, the cache is disabled
|
||||
; https://php.net/realpath-cache-size
|
||||
;realpath_cache_size = 4096k
|
||||
|
||||
; Duration of time, in seconds for which to cache realpath information for a given
|
||||
; file or directory. For systems with rarely changing files, consider increasing this
|
||||
; value.
|
||||
; https://php.net/realpath-cache-ttl
|
||||
;realpath_cache_ttl = 120
|
||||
|
||||
; Enables or disables the circular reference collector.
|
||||
; https://php.net/zend.enable-gc
|
||||
zend.enable_gc = On
|
||||
|
||||
; If enabled, scripts may be written in encodings that are incompatible with
|
||||
; the scanner. CP936, Big5, CP949 and Shift_JIS are the examples of such
|
||||
; encodings. To use this feature, mbstring extension must be enabled.
|
||||
;zend.multibyte = Off
|
||||
|
||||
; Allows to set the default encoding for the scripts. This value will be used
|
||||
; unless "declare(encoding=...)" directive appears at the top of the script.
|
||||
; Only affects if zend.multibyte is set.
|
||||
;zend.script_encoding =
|
||||
|
||||
; Allows to include or exclude arguments from stack traces generated for exceptions.
|
||||
; In production, it is recommended to turn this setting on to prohibit the output
|
||||
; of sensitive information in stack traces
|
||||
; Default Value: Off
|
||||
; Development Value: Off
|
||||
; Production Value: On
|
||||
zend.exception_ignore_args = Off
|
||||
|
||||
; Allows setting the maximum string length in an argument of a stringified stack trace
|
||||
; to a value between 0 and 1000000.
|
||||
; This has no effect when zend.exception_ignore_args is enabled.
|
||||
; Default Value: 15
|
||||
; Development Value: 15
|
||||
; Production Value: 0
|
||||
zend.exception_string_param_max_len = 15
|
||||
|
||||
;;;;;;;;;;;;;;;;;
|
||||
; Miscellaneous ;
|
||||
;;;;;;;;;;;;;;;;;
|
||||
|
||||
; Decides whether PHP may expose the fact that it is installed on the server
|
||||
; (e.g. by adding its signature to the Web server header). It is no security
|
||||
; threat in any way, but it makes it possible to determine whether you use PHP
|
||||
; on your server or not.
|
||||
; https://php.net/expose-php
|
||||
expose_php = On
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;
|
||||
; Resource Limits ;
|
||||
;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
; Maximum execution time of each script, in seconds
|
||||
; https://php.net/max-execution-time
|
||||
; Note: This directive is hardcoded to 0 for the CLI SAPI
|
||||
max_execution_time = 30
|
||||
|
||||
; Maximum amount of time each script may spend parsing request data. It's a good
|
||||
; idea to limit this time on productions servers in order to eliminate unexpectedly
|
||||
; long running scripts.
|
||||
; Note: This directive is hardcoded to -1 for the CLI SAPI
|
||||
; Default Value: -1 (Unlimited)
|
||||
; Development Value: 60 (60 seconds)
|
||||
; Production Value: 60 (60 seconds)
|
||||
; https://php.net/max-input-time
|
||||
max_input_time = 60
|
||||
|
||||
; Maximum input variable nesting level
|
||||
; https://php.net/max-input-nesting-level
|
||||
;max_input_nesting_level = 64
|
||||
|
||||
; How many GET/POST/COOKIE input variables may be accepted
|
||||
;max_input_vars = 1000
|
||||
|
||||
; How many multipart body parts (combined input variable and file uploads) may
|
||||
; be accepted.
|
||||
; Default Value: -1 (Sum of max_input_vars and max_file_uploads)
|
||||
;max_multipart_body_parts = 1500
|
||||
|
||||
; Maximum amount of memory a script may consume
|
||||
; https://php.net/memory-limit
|
||||
memory_limit = 512M
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
; Error handling and logging ;
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
; This directive informs PHP of which errors, warnings and notices you would like
|
||||
; it to take action for. The recommended way of setting values for this
|
||||
; directive is through the use of the error level constants and bitwise
|
||||
; operators. The error level constants are below here for convenience as well as
|
||||
; some common settings and their meanings.
|
||||
; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
|
||||
; those related to E_NOTICE and E_STRICT, which together cover best practices and
|
||||
; recommended coding standards in PHP. For performance reasons, this is the
|
||||
; recommend error reporting setting. Your production server shouldn't be wasting
|
||||
; resources complaining about best practices and coding standards. That's what
|
||||
; development servers and development settings are for.
|
||||
; Note: The php.ini-development file has this setting as E_ALL. This
|
||||
; means it pretty much reports everything which is exactly what you want during
|
||||
; development and early testing.
|
||||
;
|
||||
; Error Level Constants:
|
||||
; E_ALL - All errors and warnings
|
||||
; E_ERROR - fatal run-time errors
|
||||
; E_RECOVERABLE_ERROR - almost fatal run-time errors
|
||||
; E_WARNING - run-time warnings (non-fatal errors)
|
||||
; E_PARSE - compile-time parse errors
|
||||
; E_NOTICE - run-time notices (these are warnings which often result
|
||||
; from a bug in your code, but it's possible that it was
|
||||
; intentional (e.g., using an uninitialized variable and
|
||||
; relying on the fact it is automatically initialized to an
|
||||
; empty string)
|
||||
; E_STRICT - run-time notices, enable to have PHP suggest changes
|
||||
; to your code which will ensure the best interoperability
|
||||
; and forward compatibility of your code
|
||||
; E_CORE_ERROR - fatal errors that occur during PHP's initial startup
|
||||
; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's
|
||||
; initial startup
|
||||
; E_COMPILE_ERROR - fatal compile-time errors
|
||||
; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
|
||||
; E_USER_ERROR - user-generated error message
|
||||
; E_USER_WARNING - user-generated warning message
|
||||
; E_USER_NOTICE - user-generated notice message
|
||||
; E_DEPRECATED - warn about code that will not work in future versions
|
||||
; of PHP
|
||||
; E_USER_DEPRECATED - user-generated deprecation warnings
|
||||
;
|
||||
; Common Values:
|
||||
; E_ALL (Show all errors, warnings and notices including coding standards.)
|
||||
; E_ALL & ~E_NOTICE (Show all errors, except for notices)
|
||||
; E_ALL & ~E_NOTICE & ~E_STRICT (Show all errors, except for notices and coding standards warnings.)
|
||||
; E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR (Show only errors)
|
||||
; Default Value: E_ALL
|
||||
; Development Value: E_ALL
|
||||
; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
|
||||
; https://php.net/error-reporting
|
||||
error_reporting = E_ALL
|
||||
|
||||
; This directive controls whether or not and where PHP will output errors,
|
||||
; notices and warnings too. Error output is very useful during development, but
|
||||
; it could be very dangerous in production environments. Depending on the code
|
||||
; which is triggering the error, sensitive information could potentially leak
|
||||
; out of your application such as database usernames and passwords or worse.
|
||||
; For production environments, we recommend logging errors rather than
|
||||
; sending them to STDOUT.
|
||||
; Possible Values:
|
||||
; Off = Do not display any errors
|
||||
; stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
|
||||
; On or stdout = Display errors to STDOUT
|
||||
; Default Value: On
|
||||
; Development Value: On
|
||||
; Production Value: Off
|
||||
; https://php.net/display-errors
|
||||
display_errors = On
|
||||
|
||||
; The display of errors which occur during PHP's startup sequence are handled
|
||||
; separately from display_errors. We strongly recommend you set this to 'off'
|
||||
; for production servers to avoid leaking configuration details.
|
||||
; Default Value: On
|
||||
; Development Value: On
|
||||
; Production Value: Off
|
||||
; https://php.net/display-startup-errors
|
||||
display_startup_errors = On
|
||||
|
||||
; Besides displaying errors, PHP can also log errors to locations such as a
|
||||
; server-specific log, STDERR, or a location specified by the error_log
|
||||
; directive found below. While errors should not be displayed on productions
|
||||
; servers they should still be monitored and logging is a great way to do that.
|
||||
; Default Value: Off
|
||||
; Development Value: On
|
||||
; Production Value: On
|
||||
; https://php.net/log-errors
|
||||
log_errors = On
|
||||
|
||||
; Do not log repeated messages. Repeated errors must occur in same file on same
|
||||
; line unless ignore_repeated_source is set true.
|
||||
; https://php.net/ignore-repeated-errors
|
||||
ignore_repeated_errors = Off
|
||||
|
||||
; Ignore source of message when ignoring repeated messages. When this setting
|
||||
; is On you will not log errors with repeated messages from different files or
|
||||
; source lines.
|
||||
; https://php.net/ignore-repeated-source
|
||||
ignore_repeated_source = Off
|
||||
|
||||
; If this parameter is set to Off, then memory leaks will not be shown (on
|
||||
; stdout or in the log). This is only effective in a debug compile, and if
|
||||
; error reporting includes E_WARNING in the allowed list
|
||||
; https://php.net/report-memleaks
|
||||
report_memleaks = On
|
||||
|
||||
; This setting is off by default.
|
||||
;report_zend_debug = 0
|
||||
|
||||
; Turn off normal error reporting and emit XML-RPC error XML
|
||||
; https://php.net/xmlrpc-errors
|
||||
;xmlrpc_errors = 0
|
||||
|
||||
; An XML-RPC faultCode
|
||||
;xmlrpc_error_number = 0
|
||||
|
||||
; When PHP displays or logs an error, it has the capability of formatting the
|
||||
; error message as HTML for easier reading. This directive controls whether
|
||||
; the error message is formatted as HTML or not.
|
||||
; Note: This directive is hardcoded to Off for the CLI SAPI
|
||||
; https://php.net/html-errors
|
||||
;html_errors = On
|
||||
|
||||
; If html_errors is set to On *and* docref_root is not empty, then PHP
|
||||
; produces clickable error messages that direct to a page describing the error
|
||||
; or function causing the error in detail.
|
||||
; You can download a copy of the PHP manual from https://php.net/docs
|
||||
; and change docref_root to the base URL of your local copy including the
|
||||
; leading '/'. You must also specify the file extension being used including
|
||||
; the dot. PHP's default behavior is to leave these settings empty, in which
|
||||
; case no links to documentation are generated.
|
||||
; Note: Never use this feature for production boxes.
|
||||
; https://php.net/docref-root
|
||||
; Examples
|
||||
;docref_root = "/phpmanual/"
|
||||
|
||||
; https://php.net/docref-ext
|
||||
;docref_ext = .html
|
||||
|
||||
; String to output before an error message. PHP's default behavior is to leave
|
||||
; this setting blank.
|
||||
; https://php.net/error-prepend-string
|
||||
; Example:
|
||||
;error_prepend_string = "<span style='color: #ff0000'>"
|
||||
|
||||
; String to output after an error message. PHP's default behavior is to leave
|
||||
; this setting blank.
|
||||
; https://php.net/error-append-string
|
||||
; Example:
|
||||
;error_append_string = "</span>"
|
||||
|
||||
; Log errors to specified file. PHP's default behavior is to leave this value
|
||||
; empty.
|
||||
; https://php.net/error-log
|
||||
; Example:
|
||||
;error_log = php_errors.log
|
||||
; Log errors to syslog (Event Log on Windows).
|
||||
;error_log = syslog
|
||||
|
||||
; The syslog ident is a string which is prepended to every message logged
|
||||
; to syslog. Only used when error_log is set to syslog.
|
||||
;syslog.ident = php
|
||||
|
||||
; The syslog facility is used to specify what type of program is logging
|
||||
; the message. Only used when error_log is set to syslog.
|
||||
;syslog.facility = user
|
||||
|
||||
; Set this to disable filtering control characters (the default).
|
||||
; Some loggers only accept NVT-ASCII, others accept anything that's not
|
||||
; control characters. If your logger accepts everything, then no filtering
|
||||
; is needed at all.
|
||||
; Allowed values are:
|
||||
; ascii (all printable ASCII characters and NL)
|
||||
; no-ctrl (all characters except control characters)
|
||||
; all (all characters)
|
||||
; raw (like "all", but messages are not split at newlines)
|
||||
; https://php.net/syslog.filter
|
||||
;syslog.filter = ascii
|
||||
|
||||
;windows.show_crt_warning
|
||||
; Default value: 0
|
||||
; Development value: 0
|
||||
; Production value: 0
|
||||
|
||||
;;;;;;;;;;;;;;;;;
|
||||
; Data Handling ;
|
||||
;;;;;;;;;;;;;;;;;
|
||||
|
||||
; The separator used in PHP generated URLs to separate arguments.
|
||||
; PHP's default setting is "&".
|
||||
; https://php.net/arg-separator.output
|
||||
; Example:
|
||||
;arg_separator.output = "&"
|
||||
|
||||
; List of separator(s) used by PHP to parse input URLs into variables.
|
||||
; PHP's default setting is "&".
|
||||
; NOTE: Every character in this directive is considered as separator!
|
||||
; https://php.net/arg-separator.input
|
||||
; Example:
|
||||
;arg_separator.input = ";&"
|
||||
|
||||
; This directive determines which super global arrays are registered when PHP
|
||||
; starts up. G,P,C,E & S are abbreviations for the following respective super
|
||||
; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
|
||||
; paid for the registration of these arrays and because ENV is not as commonly
|
||||
; used as the others, ENV is not recommended on productions servers. You
|
||||
; can still get access to the environment variables through getenv() should you
|
||||
; need to.
|
||||
; Default Value: "EGPCS"
|
||||
; Development Value: "GPCS"
|
||||
; Production Value: "GPCS";
|
||||
; https://php.net/variables-order
|
||||
variables_order = "GPCS"
|
||||
|
||||
; This directive determines which super global data (G,P & C) should be
|
||||
; registered into the super global array REQUEST. If so, it also determines
|
||||
; the order in which that data is registered. The values for this directive
|
||||
; are specified in the same manner as the variables_order directive,
|
||||
; EXCEPT one. Leaving this value empty will cause PHP to use the value set
|
||||
; in the variables_order directive. It does not mean it will leave the super
|
||||
; globals array REQUEST empty.
|
||||
; Default Value: None
|
||||
; Development Value: "GP"
|
||||
; Production Value: "GP"
|
||||
; https://php.net/request-order
|
||||
request_order = "GP"
|
||||
|
||||
; This directive determines whether PHP registers $argv & $argc each time it
|
||||
; runs. $argv contains an array of all the arguments passed to PHP when a script
|
||||
; is invoked. $argc contains an integer representing the number of arguments
|
||||
; that were passed when the script was invoked. These arrays are extremely
|
||||
; useful when running scripts from the command line. When this directive is
|
||||
; enabled, registering these variables consumes CPU cycles and memory each time
|
||||
; a script is executed. For performance reasons, this feature should be disabled
|
||||
; on production servers.
|
||||
; Note: This directive is hardcoded to On for the CLI SAPI
|
||||
; Default Value: On
|
||||
; Development Value: Off
|
||||
; Production Value: Off
|
||||
; https://php.net/register-argc-argv
|
||||
register_argc_argv = Off
|
||||
|
||||
; When enabled, the ENV, REQUEST and SERVER variables are created when they're
|
||||
; first used (Just In Time) instead of when the script starts. If these
|
||||
; variables are not used within a script, having this directive on will result
|
||||
; in a performance gain. The PHP directive register_argc_argv must be disabled
|
||||
; for this directive to have any effect.
|
||||
; https://php.net/auto-globals-jit
|
||||
auto_globals_jit = On
|
||||
|
||||
; Whether PHP will read the POST data.
|
||||
; This option is enabled by default.
|
||||
; Most likely, you won't want to disable this option globally. It causes $_POST
|
||||
; and $_FILES to always be empty; the only way you will be able to read the
|
||||
; POST data will be through the php://input stream wrapper. This can be useful
|
||||
; to proxy requests or to process the POST data in a memory efficient fashion.
|
||||
; https://php.net/enable-post-data-reading
|
||||
;enable_post_data_reading = Off
|
||||
|
||||
; Maximum size of POST data that PHP will accept.
|
||||
; Its value may be 0 to disable the limit. It is ignored if POST data reading
|
||||
; is disabled through enable_post_data_reading.
|
||||
; https://php.net/post-max-size
|
||||
post_max_size = 8M
|
||||
|
||||
; Automatically add files before PHP document.
|
||||
; https://php.net/auto-prepend-file
|
||||
auto_prepend_file =
|
||||
|
||||
; Automatically add files after PHP document.
|
||||
; https://php.net/auto-append-file
|
||||
auto_append_file =
|
||||
|
||||
; By default, PHP will output a media type using the Content-Type header. To
|
||||
; disable this, simply set it to be empty.
|
||||
;
|
||||
; PHP's built-in default media type is set to text/html.
|
||||
; https://php.net/default-mimetype
|
||||
default_mimetype = "text/html"
|
||||
|
||||
; PHP's default character set is set to UTF-8.
|
||||
; https://php.net/default-charset
|
||||
default_charset = "UTF-8"
|
||||
|
||||
; PHP internal character encoding is set to empty.
|
||||
; If empty, default_charset is used.
|
||||
; https://php.net/internal-encoding
|
||||
;internal_encoding =
|
||||
|
||||
; PHP input character encoding is set to empty.
|
||||
; If empty, default_charset is used.
|
||||
; https://php.net/input-encoding
|
||||
;input_encoding =
|
||||
|
||||
; PHP output character encoding is set to empty.
|
||||
; If empty, default_charset is used.
|
||||
; See also output_buffer.
|
||||
; https://php.net/output-encoding
|
||||
;output_encoding =
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
; Paths and Directories ;
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
; UNIX: "/path1:/path2"
|
||||
;include_path = ".:/php/includes"
|
||||
;
|
||||
; Windows: "\path1;\path2"
|
||||
;include_path = ".;c:\php\includes"
|
||||
;
|
||||
; PHP's default setting for include_path is ".;/path/to/php/pear"
|
||||
; https://php.net/include-path
|
||||
|
||||
; The root of the PHP pages, used only if nonempty.
|
||||
; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
|
||||
; if you are running php as a CGI under any web server (other than IIS)
|
||||
; see documentation for security issues. The alternate is to use the
|
||||
; cgi.force_redirect configuration below
|
||||
; https://php.net/doc-root
|
||||
doc_root =
|
||||
|
||||
; The directory under which PHP opens the script using /~username used only
|
||||
; if nonempty.
|
||||
; https://php.net/user-dir
|
||||
user_dir =
|
||||
|
||||
; Directory in which the loadable extensions (modules) reside.
|
||||
; https://php.net/extension-dir
|
||||
;extension_dir = "./"
|
||||
; On windows:
|
||||
extension_dir = "ext"
|
||||
|
||||
; Directory where the temporary files should be placed.
|
||||
; Defaults to the system default (see sys_get_temp_dir)
|
||||
;sys_temp_dir = "/tmp"
|
||||
|
||||
; Whether or not to enable the dl() function. The dl() function does NOT work
|
||||
; properly in multithreaded servers, such as IIS or Zeus, and is automatically
|
||||
; disabled on them.
|
||||
; https://php.net/enable-dl
|
||||
enable_dl = Off
|
||||
|
||||
; cgi.force_redirect is necessary to provide security running PHP as a CGI under
|
||||
; most web servers. Left undefined, PHP turns this on by default. You can
|
||||
; turn it off here AT YOUR OWN RISK
|
||||
; **You CAN safely turn this off for IIS, in fact, you MUST.**
|
||||
; https://php.net/cgi.force-redirect
|
||||
;cgi.force_redirect = 1
|
||||
|
||||
; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
|
||||
; every request. PHP's default behavior is to disable this feature.
|
||||
;cgi.nph = 1
|
||||
|
||||
; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
|
||||
; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
|
||||
; will look for to know it is OK to continue execution. Setting this variable MAY
|
||||
; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
|
||||
; https://php.net/cgi.redirect-status-env
|
||||
;cgi.redirect_status_env =
|
||||
|
||||
; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI. PHP's
|
||||
; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
|
||||
; what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting
|
||||
; this to 1 will cause PHP CGI to fix its paths to conform to the spec. A setting
|
||||
; of zero causes PHP to behave as before. Default is 1. You should fix your scripts
|
||||
; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
|
||||
; https://php.net/cgi.fix-pathinfo
|
||||
;cgi.fix_pathinfo=1
|
||||
|
||||
; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
|
||||
; of the web tree and people will not be able to circumvent .htaccess security.
|
||||
;cgi.discard_path=1
|
||||
|
||||
; FastCGI under IIS supports the ability to impersonate
|
||||
; security tokens of the calling client. This allows IIS to define the
|
||||
; security context that the request runs under. mod_fastcgi under Apache
|
||||
; does not currently support this feature (03/17/2002)
|
||||
; Set to 1 if running under IIS. Default is zero.
|
||||
; https://php.net/fastcgi.impersonate
|
||||
;fastcgi.impersonate = 1
|
||||
|
||||
; Disable logging through FastCGI connection. PHP's default behavior is to enable
|
||||
; this feature.
|
||||
;fastcgi.logging = 0
|
||||
|
||||
; cgi.rfc2616_headers configuration option tells PHP what type of headers to
|
||||
; use when sending HTTP response code. If set to 0, PHP sends Status: header that
|
||||
; is supported by Apache. When this option is set to 1, PHP will send
|
||||
; RFC2616 compliant header.
|
||||
; Default is zero.
|
||||
; https://php.net/cgi.rfc2616-headers
|
||||
;cgi.rfc2616_headers = 0
|
||||
|
||||
; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
|
||||
; (shebang) at the top of the running script. This line might be needed if the
|
||||
; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
|
||||
; mode skips this line and ignores its content if this directive is turned on.
|
||||
; https://php.net/cgi.check-shebang-line
|
||||
;cgi.check_shebang_line=1
|
||||
|
||||
;;;;;;;;;;;;;;;;
|
||||
; File Uploads ;
|
||||
;;;;;;;;;;;;;;;;
|
||||
|
||||
; Whether to allow HTTP file uploads.
|
||||
; https://php.net/file-uploads
|
||||
file_uploads = On
|
||||
|
||||
; Temporary directory for HTTP uploaded files (will use system default if not
|
||||
; specified).
|
||||
; https://php.net/upload-tmp-dir
|
||||
;upload_tmp_dir =
|
||||
|
||||
; Maximum allowed size for uploaded files.
|
||||
; https://php.net/upload-max-filesize
|
||||
upload_max_filesize = 2M
|
||||
|
||||
; Maximum number of files that can be uploaded via a single request
|
||||
max_file_uploads = 20
|
||||
|
||||
;;;;;;;;;;;;;;;;;;
|
||||
; Fopen wrappers ;
|
||||
;;;;;;;;;;;;;;;;;;
|
||||
|
||||
; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
|
||||
; https://php.net/allow-url-fopen
|
||||
allow_url_fopen = On
|
||||
|
||||
; Whether to allow include/require to open URLs (like https:// or ftp://) as files.
|
||||
; https://php.net/allow-url-include
|
||||
allow_url_include = Off
|
||||
|
||||
; Define the anonymous ftp password (your email address). PHP's default setting
|
||||
; for this is empty.
|
||||
; https://php.net/from
|
||||
;from="john@doe.com"
|
||||
|
||||
; Define the User-Agent string. PHP's default setting for this is empty.
|
||||
; https://php.net/user-agent
|
||||
;user_agent="PHP"
|
||||
|
||||
; Default timeout for socket based streams (seconds)
|
||||
; https://php.net/default-socket-timeout
|
||||
default_socket_timeout = 60
|
||||
|
||||
; If your scripts have to deal with files from Macintosh systems,
|
||||
; or you are running on a Mac and need to deal with files from
|
||||
; unix or win32 systems, setting this flag will cause PHP to
|
||||
; automatically detect the EOL character in those files so that
|
||||
; fgets() and file() will work regardless of the source of the file.
|
||||
; https://php.net/auto-detect-line-endings
|
||||
;auto_detect_line_endings = Off
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;
|
||||
; Dynamic Extensions ;
|
||||
;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
; If you wish to have an extension loaded automatically, use the following
|
||||
; syntax:
|
||||
;
|
||||
; extension=modulename
|
||||
;
|
||||
; For example:
|
||||
;
|
||||
; extension=mysqli
|
||||
;
|
||||
; When the extension library to load is not located in the default extension
|
||||
; directory, You may specify an absolute path to the library file:
|
||||
;
|
||||
; extension=/path/to/extension/mysqli.so
|
||||
;
|
||||
; Note : The syntax used in previous PHP versions ('extension=<ext>.so' and
|
||||
; 'extension='php_<ext>.dll') is supported for legacy reasons and may be
|
||||
; deprecated in a future PHP major version. So, when it is possible, please
|
||||
; move to the new ('extension=<ext>) syntax.
|
||||
;
|
||||
; Notes for Windows environments :
|
||||
;
|
||||
; - Many DLL files are located in the ext/
|
||||
; extension folders as well as the separate PECL DLL download.
|
||||
; Be sure to appropriately set the extension_dir directive.
|
||||
;
|
||||
extension=bz2
|
||||
|
||||
; The ldap extension must be before curl if OpenSSL 1.0.2 and OpenLDAP is used
|
||||
; otherwise it results in segfault when unloading after using SASL.
|
||||
; See https://github.com/php/php-src/issues/8620 for more info.
|
||||
extension=ldap
|
||||
|
||||
extension=curl
|
||||
extension=ffi
|
||||
extension=ftp
|
||||
extension=fileinfo
|
||||
extension=gd
|
||||
extension=gettext
|
||||
extension=gmp
|
||||
;extension=intl
|
||||
extension=imap
|
||||
extension=mbstring
|
||||
extension=exif ; Must be after mbstring as it depends on it
|
||||
extension=mysqli
|
||||
;extension=oci8_12c ; Use with Oracle Database 12c Instant Client
|
||||
;extension=oci8_19 ; Use with Oracle Database 19 Instant Client
|
||||
;extension=odbc
|
||||
extension=openssl
|
||||
;extension=pdo_firebird
|
||||
extension=pdo_mysql
|
||||
;extension=pdo_oci
|
||||
;extension=pdo_odbc
|
||||
;extension=pdo_pgsql
|
||||
extension=pdo_sqlite
|
||||
;extension=pgsql
|
||||
extension=shmop
|
||||
|
||||
; The MIBS data available in the PHP distribution must be installed.
|
||||
; See https://www.php.net/manual/en/snmp.installation.php
|
||||
; extension=snmp
|
||||
|
||||
extension=soap
|
||||
extension=sockets
|
||||
extension=sodium
|
||||
extension=sqlite3
|
||||
extension=tidy
|
||||
extension=xsl
|
||||
extension=zip
|
||||
|
||||
zend_extension=opcache
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;
|
||||
; Module Settings ;
|
||||
;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
[CLI Server]
|
||||
; Whether the CLI web server uses ANSI color coding in its terminal output.
|
||||
cli_server.color = On
|
||||
|
||||
[Date]
|
||||
; Defines the default timezone used by the date functions
|
||||
; https://php.net/date.timezone
|
||||
;date.timezone =
|
||||
|
||||
; https://php.net/date.default-latitude
|
||||
;date.default_latitude = 31.7667
|
||||
|
||||
; https://php.net/date.default-longitude
|
||||
;date.default_longitude = 35.2333
|
||||
|
||||
; https://php.net/date.sunrise-zenith
|
||||
;date.sunrise_zenith = 90.833333
|
||||
|
||||
; https://php.net/date.sunset-zenith
|
||||
;date.sunset_zenith = 90.833333
|
||||
|
||||
[filter]
|
||||
; https://php.net/filter.default
|
||||
;filter.default = unsafe_raw
|
||||
|
||||
; https://php.net/filter.default-flags
|
||||
;filter.default_flags =
|
||||
|
||||
[iconv]
|
||||
; Use of this INI entry is deprecated, use global input_encoding instead.
|
||||
; If empty, default_charset or input_encoding or iconv.input_encoding is used.
|
||||
; The precedence is: default_charset < input_encoding < iconv.input_encoding
|
||||
;iconv.input_encoding =
|
||||
|
||||
; Use of this INI entry is deprecated, use global internal_encoding instead.
|
||||
; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
|
||||
; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
|
||||
;iconv.internal_encoding =
|
||||
|
||||
; Use of this INI entry is deprecated, use global output_encoding instead.
|
||||
; If empty, default_charset or output_encoding or iconv.output_encoding is used.
|
||||
; The precedence is: default_charset < output_encoding < iconv.output_encoding
|
||||
; To use an output encoding conversion, iconv's output handler must be set
|
||||
; otherwise output encoding conversion cannot be performed.
|
||||
;iconv.output_encoding =
|
||||
|
||||
[imap]
|
||||
; rsh/ssh logins are disabled by default. Use this INI entry if you want to
|
||||
; enable them. Note that the IMAP library does not filter mailbox names before
|
||||
; passing them to rsh/ssh command, thus passing untrusted data to this function
|
||||
; with rsh/ssh enabled is insecure.
|
||||
;imap.enable_insecure_rsh=0
|
||||
|
||||
[intl]
|
||||
;intl.default_locale =
|
||||
; This directive allows you to produce PHP errors when some error
|
||||
; happens within intl functions. The value is the level of the error produced.
|
||||
; Default is 0, which does not produce any errors.
|
||||
;intl.error_level = E_WARNING
|
||||
;intl.use_exceptions = 0
|
||||
|
||||
[sqlite3]
|
||||
; Directory pointing to SQLite3 extensions
|
||||
; https://php.net/sqlite3.extension-dir
|
||||
;sqlite3.extension_dir =
|
||||
|
||||
; SQLite defensive mode flag (only available from SQLite 3.26+)
|
||||
; When the defensive flag is enabled, language features that allow ordinary
|
||||
; SQL to deliberately corrupt the database file are disabled. This forbids
|
||||
; writing directly to the schema, shadow tables (eg. FTS data tables), or
|
||||
; the sqlite_dbpage virtual table.
|
||||
; https://www.sqlite.org/c3ref/c_dbconfig_defensive.html
|
||||
; (for older SQLite versions, this flag has no use)
|
||||
;sqlite3.defensive = 1
|
||||
|
||||
[Pcre]
|
||||
; PCRE library backtracking limit.
|
||||
; https://php.net/pcre.backtrack-limit
|
||||
;pcre.backtrack_limit=100000
|
||||
|
||||
; PCRE library recursion limit.
|
||||
; Please note that if you set this value to a high number you may consume all
|
||||
; the available process stack and eventually crash PHP (due to reaching the
|
||||
; stack size limit imposed by the Operating System).
|
||||
; https://php.net/pcre.recursion-limit
|
||||
;pcre.recursion_limit=100000
|
||||
|
||||
; Enables or disables JIT compilation of patterns. This requires the PCRE
|
||||
; library to be compiled with JIT support.
|
||||
;pcre.jit=1
|
||||
|
||||
[Pdo]
|
||||
; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
|
||||
; https://php.net/pdo-odbc.connection-pooling
|
||||
;pdo_odbc.connection_pooling=strict
|
||||
|
||||
[Pdo_mysql]
|
||||
; Default socket name for local MySQL connects. If empty, uses the built-in
|
||||
; MySQL defaults.
|
||||
pdo_mysql.default_socket=
|
||||
|
||||
[Phar]
|
||||
; https://php.net/phar.readonly
|
||||
;phar.readonly = On
|
||||
|
||||
; https://php.net/phar.require-hash
|
||||
;phar.require_hash = On
|
||||
|
||||
;phar.cache_list =
|
||||
|
||||
[mail function]
|
||||
; For Win32 only.
|
||||
; https://php.net/smtp
|
||||
SMTP = localhost
|
||||
; https://php.net/smtp-port
|
||||
smtp_port = 25
|
||||
|
||||
; For Win32 only.
|
||||
; https://php.net/sendmail-from
|
||||
;sendmail_from = me@example.com
|
||||
|
||||
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
|
||||
; https://php.net/sendmail-path
|
||||
;sendmail_path =
|
||||
|
||||
; Force the addition of the specified parameters to be passed as extra parameters
|
||||
; to the sendmail binary. These parameters will always replace the value of
|
||||
; the 5th parameter to mail().
|
||||
;mail.force_extra_parameters =
|
||||
|
||||
; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
|
||||
mail.add_x_header = Off
|
||||
|
||||
; Use mixed LF and CRLF line separators to keep compatibility with some
|
||||
; RFC 2822 non conformant MTA.
|
||||
mail.mixed_lf_and_crlf = Off
|
||||
|
||||
; The path to a log file that will log all mail() calls. Log entries include
|
||||
; the full path of the script, line number, To address and headers.
|
||||
;mail.log =
|
||||
; Log mail to syslog (Event Log on Windows).
|
||||
;mail.log = syslog
|
||||
|
||||
[ODBC]
|
||||
; https://php.net/odbc.default-db
|
||||
;odbc.default_db = Not yet implemented
|
||||
|
||||
; https://php.net/odbc.default-user
|
||||
;odbc.default_user = Not yet implemented
|
||||
|
||||
; https://php.net/odbc.default-pw
|
||||
;odbc.default_pw = Not yet implemented
|
||||
|
||||
; Controls the ODBC cursor model.
|
||||
; Default: SQL_CURSOR_STATIC (default).
|
||||
;odbc.default_cursortype
|
||||
|
||||
; Allow or prevent persistent links.
|
||||
; https://php.net/odbc.allow-persistent
|
||||
odbc.allow_persistent = On
|
||||
|
||||
; Check that a connection is still valid before reuse.
|
||||
; https://php.net/odbc.check-persistent
|
||||
odbc.check_persistent = On
|
||||
|
||||
; Maximum number of persistent links. -1 means no limit.
|
||||
; https://php.net/odbc.max-persistent
|
||||
odbc.max_persistent = -1
|
||||
|
||||
; Maximum number of links (persistent + non-persistent). -1 means no limit.
|
||||
; https://php.net/odbc.max-links
|
||||
odbc.max_links = -1
|
||||
|
||||
; Handling of LONG fields. Returns number of bytes to variables. 0 means
|
||||
; passthru.
|
||||
; https://php.net/odbc.defaultlrl
|
||||
odbc.defaultlrl = 4096
|
||||
|
||||
; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char.
|
||||
; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
|
||||
; of odbc.defaultlrl and odbc.defaultbinmode
|
||||
; https://php.net/odbc.defaultbinmode
|
||||
odbc.defaultbinmode = 1
|
||||
|
||||
[MySQLi]
|
||||
|
||||
; Maximum number of persistent links. -1 means no limit.
|
||||
; https://php.net/mysqli.max-persistent
|
||||
mysqli.max_persistent = -1
|
||||
|
||||
; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
|
||||
; https://php.net/mysqli.allow_local_infile
|
||||
;mysqli.allow_local_infile = On
|
||||
|
||||
; It allows the user to specify a folder where files that can be sent via LOAD DATA
|
||||
; LOCAL can exist. It is ignored if mysqli.allow_local_infile is enabled.
|
||||
;mysqli.local_infile_directory =
|
||||
|
||||
; Allow or prevent persistent links.
|
||||
; https://php.net/mysqli.allow-persistent
|
||||
mysqli.allow_persistent = On
|
||||
|
||||
; Maximum number of links. -1 means no limit.
|
||||
; https://php.net/mysqli.max-links
|
||||
mysqli.max_links = -1
|
||||
|
||||
; Default port number for mysqli_connect(). If unset, mysqli_connect() will use
|
||||
; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
|
||||
; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
|
||||
; at MYSQL_PORT.
|
||||
; https://php.net/mysqli.default-port
|
||||
mysqli.default_port = 3306
|
||||
|
||||
; Default socket name for local MySQL connects. If empty, uses the built-in
|
||||
; MySQL defaults.
|
||||
; https://php.net/mysqli.default-socket
|
||||
mysqli.default_socket =
|
||||
|
||||
; Default host for mysqli_connect() (doesn't apply in safe mode).
|
||||
; https://php.net/mysqli.default-host
|
||||
mysqli.default_host =
|
||||
|
||||
; Default user for mysqli_connect() (doesn't apply in safe mode).
|
||||
; https://php.net/mysqli.default-user
|
||||
mysqli.default_user =
|
||||
|
||||
; Default password for mysqli_connect() (doesn't apply in safe mode).
|
||||
; Note that this is generally a *bad* idea to store passwords in this file.
|
||||
; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
|
||||
; and reveal this password! And of course, any users with read access to this
|
||||
; file will be able to reveal the password as well.
|
||||
; https://php.net/mysqli.default-pw
|
||||
mysqli.default_pw =
|
||||
|
||||
; If this option is enabled, closing a persistent connection will rollback
|
||||
; any pending transactions of this connection, before it is put back
|
||||
; into the persistent connection pool.
|
||||
;mysqli.rollback_on_cached_plink = Off
|
||||
|
||||
[mysqlnd]
|
||||
; Enable / Disable collection of general statistics by mysqlnd which can be
|
||||
; used to tune and monitor MySQL operations.
|
||||
mysqlnd.collect_statistics = On
|
||||
|
||||
; Enable / Disable collection of memory usage statistics by mysqlnd which can be
|
||||
; used to tune and monitor MySQL operations.
|
||||
mysqlnd.collect_memory_statistics = On
|
||||
|
||||
; Records communication from all extensions using mysqlnd to the specified log
|
||||
; file.
|
||||
; https://php.net/mysqlnd.debug
|
||||
;mysqlnd.debug =
|
||||
|
||||
; Defines which queries will be logged.
|
||||
;mysqlnd.log_mask = 0
|
||||
|
||||
; Default size of the mysqlnd memory pool, which is used by result sets.
|
||||
;mysqlnd.mempool_default_size = 16000
|
||||
|
||||
; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
|
||||
;mysqlnd.net_cmd_buffer_size = 2048
|
||||
|
||||
; Size of a pre-allocated buffer used for reading data sent by the server in
|
||||
; bytes.
|
||||
;mysqlnd.net_read_buffer_size = 32768
|
||||
|
||||
; Timeout for network requests in seconds.
|
||||
;mysqlnd.net_read_timeout = 31536000
|
||||
|
||||
; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
|
||||
; key.
|
||||
;mysqlnd.sha256_server_public_key =
|
||||
|
||||
[OCI8]
|
||||
|
||||
; Connection: Enables privileged connections using external
|
||||
; credentials (OCI_SYSOPER, OCI_SYSDBA)
|
||||
; https://php.net/oci8.privileged-connect
|
||||
;oci8.privileged_connect = Off
|
||||
|
||||
; Connection: The maximum number of persistent OCI8 connections per
|
||||
; process. Using -1 means no limit.
|
||||
; https://php.net/oci8.max-persistent
|
||||
;oci8.max_persistent = -1
|
||||
|
||||
; Connection: The maximum number of seconds a process is allowed to
|
||||
; maintain an idle persistent connection. Using -1 means idle
|
||||
; persistent connections will be maintained forever.
|
||||
; https://php.net/oci8.persistent-timeout
|
||||
;oci8.persistent_timeout = -1
|
||||
|
||||
; Connection: The number of seconds that must pass before issuing a
|
||||
; ping during oci_pconnect() to check the connection validity. When
|
||||
; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
|
||||
; pings completely.
|
||||
; https://php.net/oci8.ping-interval
|
||||
;oci8.ping_interval = 60
|
||||
|
||||
; Connection: Set this to a user chosen connection class to be used
|
||||
; for all pooled server requests with Oracle Database Resident
|
||||
; Connection Pooling (DRCP). To use DRCP, this value should be set to
|
||||
; the same string for all web servers running the same application,
|
||||
; the database pool must be configured, and the connection string must
|
||||
; specify to use a pooled server.
|
||||
;oci8.connection_class =
|
||||
|
||||
; High Availability: Using On lets PHP receive Fast Application
|
||||
; Notification (FAN) events generated when a database node fails. The
|
||||
; database must also be configured to post FAN events.
|
||||
;oci8.events = Off
|
||||
|
||||
; Tuning: This option enables statement caching, and specifies how
|
||||
; many statements to cache. Using 0 disables statement caching.
|
||||
; https://php.net/oci8.statement-cache-size
|
||||
;oci8.statement_cache_size = 20
|
||||
|
||||
; Tuning: Enables row prefetching and sets the default number of
|
||||
; rows that will be fetched automatically after statement execution.
|
||||
; https://php.net/oci8.default-prefetch
|
||||
;oci8.default_prefetch = 100
|
||||
|
||||
; Tuning: Sets the amount of LOB data that is internally returned from
|
||||
; Oracle Database when an Oracle LOB locator is initially retrieved as
|
||||
; part of a query. Setting this can improve performance by reducing
|
||||
; round-trips.
|
||||
; https://php.net/oci8.prefetch-lob-size
|
||||
; oci8.prefetch_lob_size = 0
|
||||
|
||||
; Compatibility. Using On means oci_close() will not close
|
||||
; oci_connect() and oci_new_connect() connections.
|
||||
; https://php.net/oci8.old-oci-close-semantics
|
||||
;oci8.old_oci_close_semantics = Off
|
||||
|
||||
[PostgreSQL]
|
||||
; Allow or prevent persistent links.
|
||||
; https://php.net/pgsql.allow-persistent
|
||||
pgsql.allow_persistent = On
|
||||
|
||||
; Detect broken persistent links always with pg_pconnect().
|
||||
; Auto reset feature requires a little overheads.
|
||||
; https://php.net/pgsql.auto-reset-persistent
|
||||
pgsql.auto_reset_persistent = Off
|
||||
|
||||
; Maximum number of persistent links. -1 means no limit.
|
||||
; https://php.net/pgsql.max-persistent
|
||||
pgsql.max_persistent = -1
|
||||
|
||||
; Maximum number of links (persistent+non persistent). -1 means no limit.
|
||||
; https://php.net/pgsql.max-links
|
||||
pgsql.max_links = -1
|
||||
|
||||
; Ignore PostgreSQL backends Notice message or not.
|
||||
; Notice message logging require a little overheads.
|
||||
; https://php.net/pgsql.ignore-notice
|
||||
pgsql.ignore_notice = 0
|
||||
|
||||
; Log PostgreSQL backends Notice message or not.
|
||||
; Unless pgsql.ignore_notice=0, module cannot log notice message.
|
||||
; https://php.net/pgsql.log-notice
|
||||
pgsql.log_notice = 0
|
||||
|
||||
[bcmath]
|
||||
; Number of decimal digits for all bcmath functions.
|
||||
; https://php.net/bcmath.scale
|
||||
bcmath.scale = 0
|
||||
|
||||
[browscap]
|
||||
; https://php.net/browscap
|
||||
;browscap = extra/browscap.ini
|
||||
|
||||
[Session]
|
||||
; Handler used to store/retrieve data.
|
||||
; https://php.net/session.save-handler
|
||||
session.save_handler = files
|
||||
|
||||
; Argument passed to save_handler. In the case of files, this is the path
|
||||
; where data files are stored. Note: Windows users have to change this
|
||||
; variable in order to use PHP's session functions.
|
||||
;
|
||||
; The path can be defined as:
|
||||
;
|
||||
; session.save_path = "N;/path"
|
||||
;
|
||||
; where N is an integer. Instead of storing all the session files in
|
||||
; /path, what this will do is use subdirectories N-levels deep, and
|
||||
; store the session data in those directories. This is useful if
|
||||
; your OS has problems with many files in one directory, and is
|
||||
; a more efficient layout for servers that handle many sessions.
|
||||
;
|
||||
; NOTE 1: PHP will not create this directory structure automatically.
|
||||
; You can use the script in the ext/session dir for that purpose.
|
||||
; NOTE 2: See the section on garbage collection below if you choose to
|
||||
; use subdirectories for session storage
|
||||
;
|
||||
; The file storage module creates files using mode 600 by default.
|
||||
; You can change that by using
|
||||
;
|
||||
; session.save_path = "N;MODE;/path"
|
||||
;
|
||||
; where MODE is the octal representation of the mode. Note that this
|
||||
; does not overwrite the process's umask.
|
||||
; https://php.net/session.save-path
|
||||
;session.save_path = "/tmp"
|
||||
|
||||
; Whether to use strict session mode.
|
||||
; Strict session mode does not accept an uninitialized session ID, and
|
||||
; regenerates the session ID if the browser sends an uninitialized session ID.
|
||||
; Strict mode protects applications from session fixation via a session adoption
|
||||
; vulnerability. It is disabled by default for maximum compatibility, but
|
||||
; enabling it is encouraged.
|
||||
; https://wiki.php.net/rfc/strict_sessions
|
||||
session.use_strict_mode = 0
|
||||
|
||||
; Whether to use cookies.
|
||||
; https://php.net/session.use-cookies
|
||||
session.use_cookies = 1
|
||||
|
||||
; https://php.net/session.cookie-secure
|
||||
;session.cookie_secure =
|
||||
|
||||
; This option forces PHP to fetch and use a cookie for storing and maintaining
|
||||
; the session id. We encourage this operation as it's very helpful in combating
|
||||
; session hijacking when not specifying and managing your own session id. It is
|
||||
; not the be-all and end-all of session hijacking defense, but it's a good start.
|
||||
; https://php.net/session.use-only-cookies
|
||||
session.use_only_cookies = 1
|
||||
|
||||
; Name of the session (used as cookie name).
|
||||
; https://php.net/session.name
|
||||
session.name = PHPSESSID
|
||||
|
||||
; Initialize session on request startup.
|
||||
; https://php.net/session.auto-start
|
||||
session.auto_start = 0
|
||||
|
||||
; Lifetime in seconds of cookie or, if 0, until browser is restarted.
|
||||
; https://php.net/session.cookie-lifetime
|
||||
session.cookie_lifetime = 0
|
||||
|
||||
; The path for which the cookie is valid.
|
||||
; https://php.net/session.cookie-path
|
||||
session.cookie_path = /
|
||||
|
||||
; The domain for which the cookie is valid.
|
||||
; https://php.net/session.cookie-domain
|
||||
session.cookie_domain =
|
||||
|
||||
; Whether or not to add the httpOnly flag to the cookie, which makes it
|
||||
; inaccessible to browser scripting languages such as JavaScript.
|
||||
; https://php.net/session.cookie-httponly
|
||||
session.cookie_httponly =
|
||||
|
||||
; Add SameSite attribute to cookie to help mitigate Cross-Site Request Forgery (CSRF/XSRF)
|
||||
; Current valid values are "Strict", "Lax" or "None". When using "None",
|
||||
; make sure to include the quotes, as `none` is interpreted like `false` in ini files.
|
||||
; https://tools.ietf.org/html/draft-west-first-party-cookies-07
|
||||
session.cookie_samesite =
|
||||
|
||||
; Handler used to serialize data. php is the standard serializer of PHP.
|
||||
; https://php.net/session.serialize-handler
|
||||
session.serialize_handler = php
|
||||
|
||||
; Defines the probability that the 'garbage collection' process is started on every
|
||||
; session initialization. The probability is calculated by using gc_probability/gc_divisor,
|
||||
; e.g. 1/100 means there is a 1% chance that the GC process starts on each request.
|
||||
; Default Value: 1
|
||||
; Development Value: 1
|
||||
; Production Value: 1
|
||||
; https://php.net/session.gc-probability
|
||||
session.gc_probability = 1
|
||||
|
||||
; Defines the probability that the 'garbage collection' process is started on every
|
||||
; session initialization. The probability is calculated by using gc_probability/gc_divisor,
|
||||
; e.g. 1/100 means there is a 1% chance that the GC process starts on each request.
|
||||
; For high volume production servers, using a value of 1000 is a more efficient approach.
|
||||
; Default Value: 100
|
||||
; Development Value: 1000
|
||||
; Production Value: 1000
|
||||
; https://php.net/session.gc-divisor
|
||||
session.gc_divisor = 1000
|
||||
|
||||
; After this number of seconds, stored data will be seen as 'garbage' and
|
||||
; cleaned up by the garbage collection process.
|
||||
; https://php.net/session.gc-maxlifetime
|
||||
session.gc_maxlifetime = 1440
|
||||
|
||||
; NOTE: If you are using the subdirectory option for storing session files
|
||||
; (see session.save_path above), then garbage collection does *not*
|
||||
; happen automatically. You will need to do your own garbage
|
||||
; collection through a shell script, cron entry, or some other method.
|
||||
; For example, the following script is the equivalent of setting
|
||||
; session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
|
||||
; find /path/to/sessions -cmin +24 -type f | xargs rm
|
||||
|
||||
; Check HTTP Referer to invalidate externally stored URLs containing ids.
|
||||
; HTTP_REFERER has to contain this substring for the session to be
|
||||
; considered as valid.
|
||||
; https://php.net/session.referer-check
|
||||
session.referer_check =
|
||||
|
||||
; Set to {nocache,private,public,} to determine HTTP caching aspects
|
||||
; or leave this empty to avoid sending anti-caching headers.
|
||||
; https://php.net/session.cache-limiter
|
||||
session.cache_limiter = nocache
|
||||
|
||||
; Document expires after n minutes.
|
||||
; https://php.net/session.cache-expire
|
||||
session.cache_expire = 180
|
||||
|
||||
; trans sid support is disabled by default.
|
||||
; Use of trans sid may risk your users' security.
|
||||
; Use this option with caution.
|
||||
; - User may send URL contains active session ID
|
||||
; to other person via. email/irc/etc.
|
||||
; - URL that contains active session ID may be stored
|
||||
; in publicly accessible computer.
|
||||
; - User may access your site with the same session ID
|
||||
; always using URL stored in browser's history or bookmarks.
|
||||
; https://php.net/session.use-trans-sid
|
||||
session.use_trans_sid = 0
|
||||
|
||||
; Set session ID character length. This value could be between 22 to 256.
|
||||
; Shorter length than default is supported only for compatibility reason.
|
||||
; Users should use 32 or more chars.
|
||||
; https://php.net/session.sid-length
|
||||
; Default Value: 32
|
||||
; Development Value: 26
|
||||
; Production Value: 26
|
||||
session.sid_length = 26
|
||||
|
||||
; The URL rewriter will look for URLs in a defined set of HTML tags.
|
||||
; <form> is special; if you include them here, the rewriter will
|
||||
; add a hidden <input> field with the info which is otherwise appended
|
||||
; to URLs. <form> tag's action attribute URL will not be modified
|
||||
; unless it is specified.
|
||||
; Note that all valid entries require a "=", even if no value follows.
|
||||
; Default Value: "a=href,area=href,frame=src,form="
|
||||
; Development Value: "a=href,area=href,frame=src,form="
|
||||
; Production Value: "a=href,area=href,frame=src,form="
|
||||
; https://php.net/url-rewriter.tags
|
||||
session.trans_sid_tags = "a=href,area=href,frame=src,form="
|
||||
|
||||
; URL rewriter does not rewrite absolute URLs by default.
|
||||
; To enable rewrites for absolute paths, target hosts must be specified
|
||||
; at RUNTIME. i.e. use ini_set()
|
||||
; <form> tags is special. PHP will check action attribute's URL regardless
|
||||
; of session.trans_sid_tags setting.
|
||||
; If no host is defined, HTTP_HOST will be used for allowed host.
|
||||
; Example value: php.net,www.php.net,wiki.php.net
|
||||
; Use "," for multiple hosts. No spaces are allowed.
|
||||
; Default Value: ""
|
||||
; Development Value: ""
|
||||
; Production Value: ""
|
||||
;session.trans_sid_hosts=""
|
||||
|
||||
; Define how many bits are stored in each character when converting
|
||||
; the binary hash data to something readable.
|
||||
; Possible values:
|
||||
; 4 (4 bits: 0-9, a-f)
|
||||
; 5 (5 bits: 0-9, a-v)
|
||||
; 6 (6 bits: 0-9, a-z, A-Z, "-", ",")
|
||||
; Default Value: 4
|
||||
; Development Value: 5
|
||||
; Production Value: 5
|
||||
; https://php.net/session.hash-bits-per-character
|
||||
session.sid_bits_per_character = 5
|
||||
|
||||
; Enable upload progress tracking in $_SESSION
|
||||
; Default Value: On
|
||||
; Development Value: On
|
||||
; Production Value: On
|
||||
; https://php.net/session.upload-progress.enabled
|
||||
;session.upload_progress.enabled = On
|
||||
|
||||
; Cleanup the progress information as soon as all POST data has been read
|
||||
; (i.e. upload completed).
|
||||
; Default Value: On
|
||||
; Development Value: On
|
||||
; Production Value: On
|
||||
; https://php.net/session.upload-progress.cleanup
|
||||
;session.upload_progress.cleanup = On
|
||||
|
||||
; A prefix used for the upload progress key in $_SESSION
|
||||
; Default Value: "upload_progress_"
|
||||
; Development Value: "upload_progress_"
|
||||
; Production Value: "upload_progress_"
|
||||
; https://php.net/session.upload-progress.prefix
|
||||
;session.upload_progress.prefix = "upload_progress_"
|
||||
|
||||
; The index name (concatenated with the prefix) in $_SESSION
|
||||
; containing the upload progress information
|
||||
; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
|
||||
; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
|
||||
; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
|
||||
; https://php.net/session.upload-progress.name
|
||||
;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
|
||||
|
||||
; How frequently the upload progress should be updated.
|
||||
; Given either in percentages (per-file), or in bytes
|
||||
; Default Value: "1%"
|
||||
; Development Value: "1%"
|
||||
; Production Value: "1%"
|
||||
; https://php.net/session.upload-progress.freq
|
||||
;session.upload_progress.freq = "1%"
|
||||
|
||||
; The minimum delay between updates, in seconds
|
||||
; Default Value: 1
|
||||
; Development Value: 1
|
||||
; Production Value: 1
|
||||
; https://php.net/session.upload-progress.min-freq
|
||||
;session.upload_progress.min_freq = "1"
|
||||
|
||||
; Only write session data when session data is changed. Enabled by default.
|
||||
; https://php.net/session.lazy-write
|
||||
;session.lazy_write = On
|
||||
|
||||
[Assertion]
|
||||
; Switch whether to compile assertions at all (to have no overhead at run-time)
|
||||
; -1: Do not compile at all
|
||||
; 0: Jump over assertion at run-time
|
||||
; 1: Execute assertions
|
||||
; Changing from or to a negative value is only possible in php.ini!
|
||||
; (For turning assertions on and off at run-time, toggle zend.assertions between the values 1 and 0)
|
||||
; Default Value: 1
|
||||
; Development Value: 1
|
||||
; Production Value: -1
|
||||
; https://php.net/zend.assertions
|
||||
zend.assertions = 1
|
||||
|
||||
[COM]
|
||||
; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
|
||||
; https://php.net/com.typelib-file
|
||||
;com.typelib_file =
|
||||
|
||||
; allow Distributed-COM calls
|
||||
; https://php.net/com.allow-dcom
|
||||
;com.allow_dcom = true
|
||||
|
||||
; autoregister constants of a component's typelib on com_load()
|
||||
; https://php.net/com.autoregister-typelib
|
||||
;com.autoregister_typelib = true
|
||||
|
||||
; register constants casesensitive
|
||||
; https://php.net/com.autoregister-casesensitive
|
||||
;com.autoregister_casesensitive = false
|
||||
|
||||
; show warnings on duplicate constant registrations
|
||||
; https://php.net/com.autoregister-verbose
|
||||
;com.autoregister_verbose = true
|
||||
|
||||
; The default character set code-page to use when passing strings to and from COM objects.
|
||||
; Default: system ANSI code page
|
||||
;com.code_page=
|
||||
|
||||
; The version of the .NET framework to use. The value of the setting are the first three parts
|
||||
; of the framework's version number, separated by dots, and prefixed with "v", e.g. "v4.0.30319".
|
||||
;com.dotnet_version=
|
||||
|
||||
[mbstring]
|
||||
; language for internal character representation.
|
||||
; This affects mb_send_mail() and mbstring.detect_order.
|
||||
; https://php.net/mbstring.language
|
||||
;mbstring.language = Japanese
|
||||
|
||||
; Use of this INI entry is deprecated, use global internal_encoding instead.
|
||||
; internal/script encoding.
|
||||
; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
|
||||
; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
|
||||
; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
|
||||
;mbstring.internal_encoding =
|
||||
|
||||
; Use of this INI entry is deprecated, use global input_encoding instead.
|
||||
; http input encoding.
|
||||
; mbstring.encoding_translation = On is needed to use this setting.
|
||||
; If empty, default_charset or input_encoding or mbstring.input is used.
|
||||
; The precedence is: default_charset < input_encoding < mbstring.http_input
|
||||
; https://php.net/mbstring.http-input
|
||||
;mbstring.http_input =
|
||||
|
||||
; Use of this INI entry is deprecated, use global output_encoding instead.
|
||||
; http output encoding.
|
||||
; mb_output_handler must be registered as output buffer to function.
|
||||
; If empty, default_charset or output_encoding or mbstring.http_output is used.
|
||||
; The precedence is: default_charset < output_encoding < mbstring.http_output
|
||||
; To use an output encoding conversion, mbstring's output handler must be set
|
||||
; otherwise output encoding conversion cannot be performed.
|
||||
; https://php.net/mbstring.http-output
|
||||
;mbstring.http_output =
|
||||
|
||||
; enable automatic encoding translation according to
|
||||
; mbstring.internal_encoding setting. Input chars are
|
||||
; converted to internal encoding by setting this to On.
|
||||
; Note: Do _not_ use automatic encoding translation for
|
||||
; portable libs/applications.
|
||||
; https://php.net/mbstring.encoding-translation
|
||||
;mbstring.encoding_translation = Off
|
||||
|
||||
; automatic encoding detection order.
|
||||
; "auto" detect order is changed according to mbstring.language
|
||||
; https://php.net/mbstring.detect-order
|
||||
;mbstring.detect_order = auto
|
||||
|
||||
; substitute_character used when character cannot be converted
|
||||
; one from another
|
||||
; https://php.net/mbstring.substitute-character
|
||||
;mbstring.substitute_character = none
|
||||
|
||||
; Enable strict encoding detection.
|
||||
;mbstring.strict_detection = Off
|
||||
|
||||
; This directive specifies the regex pattern of content types for which mb_output_handler()
|
||||
; is activated.
|
||||
; Default: mbstring.http_output_conv_mimetypes=^(text/|application/xhtml\+xml)
|
||||
;mbstring.http_output_conv_mimetypes=
|
||||
|
||||
; This directive specifies maximum stack depth for mbstring regular expressions. It is similar
|
||||
; to the pcre.recursion_limit for PCRE.
|
||||
;mbstring.regex_stack_limit=100000
|
||||
|
||||
; This directive specifies maximum retry count for mbstring regular expressions. It is similar
|
||||
; to the pcre.backtrack_limit for PCRE.
|
||||
;mbstring.regex_retry_limit=1000000
|
||||
|
||||
[gd]
|
||||
; Tell the jpeg decode to ignore warnings and try to create
|
||||
; a gd image. The warning will then be displayed as notices
|
||||
; disabled by default
|
||||
; https://php.net/gd.jpeg-ignore-warning
|
||||
;gd.jpeg_ignore_warning = 1
|
||||
|
||||
[exif]
|
||||
; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
|
||||
; With mbstring support this will automatically be converted into the encoding
|
||||
; given by corresponding encode setting. When empty mbstring.internal_encoding
|
||||
; is used. For the decode settings you can distinguish between motorola and
|
||||
; intel byte order. A decode setting cannot be empty.
|
||||
; https://php.net/exif.encode-unicode
|
||||
;exif.encode_unicode = ISO-8859-15
|
||||
|
||||
; https://php.net/exif.decode-unicode-motorola
|
||||
;exif.decode_unicode_motorola = UCS-2BE
|
||||
|
||||
; https://php.net/exif.decode-unicode-intel
|
||||
;exif.decode_unicode_intel = UCS-2LE
|
||||
|
||||
; https://php.net/exif.encode-jis
|
||||
;exif.encode_jis =
|
||||
|
||||
; https://php.net/exif.decode-jis-motorola
|
||||
;exif.decode_jis_motorola = JIS
|
||||
|
||||
; https://php.net/exif.decode-jis-intel
|
||||
;exif.decode_jis_intel = JIS
|
||||
|
||||
[Tidy]
|
||||
; The path to a default tidy configuration file to use when using tidy
|
||||
; https://php.net/tidy.default-config
|
||||
;tidy.default_config = /usr/local/lib/php/default.tcfg
|
||||
|
||||
; Should tidy clean and repair output automatically?
|
||||
; WARNING: Do not use this option if you are generating non-html content
|
||||
; such as dynamic images
|
||||
; https://php.net/tidy.clean-output
|
||||
tidy.clean_output = Off
|
||||
|
||||
[soap]
|
||||
; Enables or disables WSDL caching feature.
|
||||
; https://php.net/soap.wsdl-cache-enabled
|
||||
soap.wsdl_cache_enabled=1
|
||||
|
||||
; Sets the directory name where SOAP extension will put cache files.
|
||||
; https://php.net/soap.wsdl-cache-dir
|
||||
soap.wsdl_cache_dir="/tmp"
|
||||
|
||||
; (time to live) Sets the number of second while cached file will be used
|
||||
; instead of original one.
|
||||
; https://php.net/soap.wsdl-cache-ttl
|
||||
soap.wsdl_cache_ttl=86400
|
||||
|
||||
; Sets the size of the cache limit. (Max. number of WSDL files to cache)
|
||||
soap.wsdl_cache_limit = 5
|
||||
|
||||
[sysvshm]
|
||||
; A default size of the shared memory segment
|
||||
;sysvshm.init_mem = 10000
|
||||
|
||||
[ldap]
|
||||
; Sets the maximum number of open links or -1 for unlimited.
|
||||
ldap.max_links = -1
|
||||
|
||||
[dba]
|
||||
;dba.default_handler=
|
||||
|
||||
[opcache]
|
||||
; Determines if Zend OPCache is enabled
|
||||
;opcache.enable=1
|
||||
|
||||
; Determines if Zend OPCache is enabled for the CLI version of PHP
|
||||
;opcache.enable_cli=0
|
||||
|
||||
; The OPcache shared memory storage size.
|
||||
;opcache.memory_consumption=128
|
||||
|
||||
; The amount of memory for interned strings in Mbytes.
|
||||
;opcache.interned_strings_buffer=8
|
||||
|
||||
; The maximum number of keys (scripts) in the OPcache hash table.
|
||||
; Only numbers between 200 and 1000000 are allowed.
|
||||
;opcache.max_accelerated_files=10000
|
||||
|
||||
; The maximum percentage of "wasted" memory until a restart is scheduled.
|
||||
;opcache.max_wasted_percentage=5
|
||||
|
||||
; When this directive is enabled, the OPcache appends the current working
|
||||
; directory to the script key, thus eliminating possible collisions between
|
||||
; files with the same name (basename). Disabling the directive improves
|
||||
; performance, but may break existing applications.
|
||||
;opcache.use_cwd=1
|
||||
|
||||
; When disabled, you must reset the OPcache manually or restart the
|
||||
; webserver for changes to the filesystem to take effect.
|
||||
;opcache.validate_timestamps=1
|
||||
|
||||
; How often (in seconds) to check file timestamps for changes to the shared
|
||||
; memory storage allocation. ("1" means validate once per second, but only
|
||||
; once per request. "0" means always validate)
|
||||
;opcache.revalidate_freq=2
|
||||
|
||||
; Enables or disables file search in include_path optimization
|
||||
;opcache.revalidate_path=0
|
||||
|
||||
; If disabled, all PHPDoc comments are dropped from the code to reduce the
|
||||
; size of the optimized code.
|
||||
;opcache.save_comments=1
|
||||
|
||||
; If enabled, compilation warnings (including notices and deprecations) will
|
||||
; be recorded and replayed each time a file is included. Otherwise, compilation
|
||||
; warnings will only be emitted when the file is first cached.
|
||||
;opcache.record_warnings=0
|
||||
|
||||
; Allow file existence override (file_exists, etc.) performance feature.
|
||||
;opcache.enable_file_override=0
|
||||
|
||||
; A bitmask, where each bit enables or disables the appropriate OPcache
|
||||
; passes
|
||||
;opcache.optimization_level=0x7FFFBFFF
|
||||
|
||||
;opcache.dups_fix=0
|
||||
|
||||
; The location of the OPcache blacklist file (wildcards allowed).
|
||||
; Each OPcache blacklist file is a text file that holds the names of files
|
||||
; that should not be accelerated. The file format is to add each filename
|
||||
; to a new line. The filename may be a full path or just a file prefix
|
||||
; (i.e., /var/www/x blacklists all the files and directories in /var/www
|
||||
; that start with 'x'). Line starting with a ; are ignored (comments).
|
||||
;opcache.blacklist_filename=
|
||||
|
||||
; Allows exclusion of large files from being cached. By default all files
|
||||
; are cached.
|
||||
;opcache.max_file_size=0
|
||||
|
||||
; How long to wait (in seconds) for a scheduled restart to begin if the cache
|
||||
; is not being accessed.
|
||||
;opcache.force_restart_timeout=180
|
||||
|
||||
; OPcache error_log file name. Empty string assumes "stderr".
|
||||
;opcache.error_log=
|
||||
|
||||
; All OPcache errors go to the Web server log.
|
||||
; By default, only fatal errors (level 0) or errors (level 1) are logged.
|
||||
; You can also enable warnings (level 2), info messages (level 3) or
|
||||
; debug messages (level 4).
|
||||
;opcache.log_verbosity_level=1
|
||||
|
||||
; Preferred Shared Memory back-end. Leave empty and let the system decide.
|
||||
;opcache.preferred_memory_model=
|
||||
|
||||
; Protect the shared memory from unexpected writing during script execution.
|
||||
; Useful for internal debugging only.
|
||||
;opcache.protect_memory=0
|
||||
|
||||
; Allows calling OPcache API functions only from PHP scripts which path is
|
||||
; started from specified string. The default "" means no restriction
|
||||
;opcache.restrict_api=
|
||||
|
||||
; Mapping base of shared memory segments (for Windows only). All the PHP
|
||||
; processes have to map shared memory into the same address space. This
|
||||
; directive allows to manually fix the "Unable to reattach to base address"
|
||||
; errors.
|
||||
;opcache.mmap_base=
|
||||
|
||||
; Facilitates multiple OPcache instances per user (for Windows only). All PHP
|
||||
; processes with the same cache ID and user share an OPcache instance.
|
||||
;opcache.cache_id=
|
||||
|
||||
; Enables and sets the second level cache directory.
|
||||
; It should improve performance when SHM memory is full, at server restart or
|
||||
; SHM reset. The default "" disables file based caching.
|
||||
;opcache.file_cache=
|
||||
|
||||
; Enables or disables opcode caching in shared memory.
|
||||
;opcache.file_cache_only=0
|
||||
|
||||
; Enables or disables checksum validation when script loaded from file cache.
|
||||
;opcache.file_cache_consistency_checks=1
|
||||
|
||||
; Implies opcache.file_cache_only=1 for a certain process that failed to
|
||||
; reattach to the shared memory (for Windows only). Explicitly enabled file
|
||||
; cache is required.
|
||||
;opcache.file_cache_fallback=1
|
||||
|
||||
; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
|
||||
; Under certain circumstances (if only a single global PHP process is
|
||||
; started from which all others fork), this can increase performance
|
||||
; by a tiny amount because TLB misses are reduced. On the other hand, this
|
||||
; delays PHP startup, increases memory usage and degrades performance
|
||||
; under memory pressure - use with care.
|
||||
; Requires appropriate OS configuration.
|
||||
;opcache.huge_code_pages=0
|
||||
|
||||
; Validate cached file permissions.
|
||||
;opcache.validate_permission=0
|
||||
|
||||
; Prevent name collisions in chroot'ed environment.
|
||||
;opcache.validate_root=0
|
||||
|
||||
; If specified, it produces opcode dumps for debugging different stages of
|
||||
; optimizations.
|
||||
;opcache.opt_debug_level=0
|
||||
|
||||
; Specifies a PHP script that is going to be compiled and executed at server
|
||||
; start-up.
|
||||
; https://php.net/opcache.preload
|
||||
;opcache.preload=
|
||||
|
||||
; Preloading code as root is not allowed for security reasons. This directive
|
||||
; facilitates to let the preloading to be run as another user.
|
||||
; https://php.net/opcache.preload_user
|
||||
;opcache.preload_user=
|
||||
|
||||
; Prevents caching files that are less than this number of seconds old. It
|
||||
; protects from caching of incompletely updated files. In case all file updates
|
||||
; on your site are atomic, you may increase performance by setting it to "0".
|
||||
;opcache.file_update_protection=2
|
||||
|
||||
; Absolute path used to store shared lockfiles (for *nix only).
|
||||
;opcache.lockfile_path=/tmp
|
||||
|
||||
[curl]
|
||||
; A default value for the CURLOPT_CAINFO option. This is required to be an
|
||||
; absolute path.
|
||||
;curl.cainfo =
|
||||
|
||||
[openssl]
|
||||
; The location of a Certificate Authority (CA) file on the local filesystem
|
||||
; to use when verifying the identity of SSL/TLS peers. Most users should
|
||||
; not specify a value for this directive as PHP will attempt to use the
|
||||
; OS-managed cert stores in its absence. If specified, this value may still
|
||||
; be overridden on a per-stream basis via the "cafile" SSL stream context
|
||||
; option.
|
||||
;openssl.cafile=
|
||||
|
||||
; If openssl.cafile is not specified or if the CA file is not found, the
|
||||
; directory pointed to by openssl.capath is searched for a suitable
|
||||
; certificate. This value must be a correctly hashed certificate directory.
|
||||
; Most users should not specify a value for this directive as PHP will
|
||||
; attempt to use the OS-managed cert stores in its absence. If specified,
|
||||
; this value may still be overridden on a per-stream basis via the "capath"
|
||||
; SSL stream context option.
|
||||
;openssl.capath=
|
||||
|
||||
[ffi]
|
||||
; FFI API restriction. Possible values:
|
||||
; "preload" - enabled in CLI scripts and preloaded files (default)
|
||||
; "false" - always disabled
|
||||
; "true" - always enabled
|
||||
;ffi.enable=preload
|
||||
|
||||
; List of headers files to preload, wildcard patterns allowed.
|
||||
;ffi.preload=
|
||||
@@ -0,0 +1,1959 @@
|
||||
[PHP]
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;
|
||||
; About php.ini ;
|
||||
;;;;;;;;;;;;;;;;;;;
|
||||
; PHP's initialization file, generally called php.ini, is responsible for
|
||||
; configuring many of the aspects of PHP's behavior.
|
||||
|
||||
; PHP attempts to find and load this configuration from a number of locations.
|
||||
; The following is a summary of its search order:
|
||||
; 1. SAPI module specific location.
|
||||
; 2. The PHPRC environment variable.
|
||||
; 3. A number of predefined registry keys on Windows
|
||||
; 4. Current working directory (except CLI)
|
||||
; 5. The web server's directory (for SAPI modules), or directory of PHP
|
||||
; (otherwise in Windows)
|
||||
; 6. The directory from the --with-config-file-path compile time option, or the
|
||||
; Windows directory (usually C:\windows)
|
||||
; See the PHP docs for more specific information.
|
||||
; https://php.net/configuration.file
|
||||
|
||||
; The syntax of the file is extremely simple. Whitespace and lines
|
||||
; beginning with a semicolon are silently ignored (as you probably guessed).
|
||||
; Section headers (e.g. [Foo]) are also silently ignored, even though
|
||||
; they might mean something in the future.
|
||||
|
||||
; Directives following the section heading [PATH=/www/mysite] only
|
||||
; apply to PHP files in the /www/mysite directory. Directives
|
||||
; following the section heading [HOST=www.example.com] only apply to
|
||||
; PHP files served from www.example.com. Directives set in these
|
||||
; special sections cannot be overridden by user-defined INI files or
|
||||
; at runtime. Currently, [PATH=] and [HOST=] sections only work under
|
||||
; CGI/FastCGI.
|
||||
; https://php.net/ini.sections
|
||||
|
||||
; Directives are specified using the following syntax:
|
||||
; directive = value
|
||||
; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
|
||||
; Directives are variables used to configure PHP or PHP extensions.
|
||||
; There is no name validation. If PHP can't find an expected
|
||||
; directive because it is not set or is mistyped, a default value will be used.
|
||||
|
||||
; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
|
||||
; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
|
||||
; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
|
||||
; previously set variable or directive (e.g. ${foo})
|
||||
|
||||
; Expressions in the INI file are limited to bitwise operators and parentheses:
|
||||
; | bitwise OR
|
||||
; ^ bitwise XOR
|
||||
; & bitwise AND
|
||||
; ~ bitwise NOT
|
||||
; ! boolean NOT
|
||||
|
||||
; Boolean flags can be turned on using the values 1, On, True or Yes.
|
||||
; They can be turned off using the values 0, Off, False or No.
|
||||
|
||||
; An empty string can be denoted by simply not writing anything after the equal
|
||||
; sign, or by using the None keyword:
|
||||
|
||||
; foo = ; sets foo to an empty string
|
||||
; foo = None ; sets foo to an empty string
|
||||
; foo = "None" ; sets foo to the string 'None'
|
||||
|
||||
; If you use constants in your value, and these constants belong to a
|
||||
; dynamically loaded extension (either a PHP extension or a Zend extension),
|
||||
; you may only use these constants *after* the line that loads the extension.
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;
|
||||
; About this file ;
|
||||
;;;;;;;;;;;;;;;;;;;
|
||||
; PHP comes packaged with two INI files. One that is recommended to be used
|
||||
; in production environments and one that is recommended to be used in
|
||||
; development environments.
|
||||
|
||||
; php.ini-production contains settings which hold security, performance and
|
||||
; best practices at its core. But please be aware, these settings may break
|
||||
; compatibility with older or less security-conscious applications. We
|
||||
; recommending using the production ini in production and testing environments.
|
||||
|
||||
; php.ini-development is very similar to its production variant, except it is
|
||||
; much more verbose when it comes to errors. We recommend using the
|
||||
; development version only in development environments, as errors shown to
|
||||
; application users can inadvertently leak otherwise secure information.
|
||||
|
||||
; This is the php.ini-development INI file.
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;
|
||||
; Quick Reference ;
|
||||
;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
; The following are all the settings which are different in either the production
|
||||
; or development versions of the INIs with respect to PHP's default behavior.
|
||||
; Please see the actual settings later in the document for more details as to why
|
||||
; we recommend these changes in PHP's behavior.
|
||||
|
||||
; display_errors
|
||||
; Default Value: On
|
||||
; Development Value: On
|
||||
; Production Value: Off
|
||||
|
||||
; display_startup_errors
|
||||
; Default Value: On
|
||||
; Development Value: On
|
||||
; Production Value: Off
|
||||
|
||||
; error_reporting
|
||||
; Default Value: E_ALL
|
||||
; Development Value: E_ALL
|
||||
; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
|
||||
|
||||
; log_errors
|
||||
; Default Value: Off
|
||||
; Development Value: On
|
||||
; Production Value: On
|
||||
|
||||
; max_input_time
|
||||
; Default Value: -1 (Unlimited)
|
||||
; Development Value: 60 (60 seconds)
|
||||
; Production Value: 60 (60 seconds)
|
||||
|
||||
; output_buffering
|
||||
; Default Value: Off
|
||||
; Development Value: 4096
|
||||
; Production Value: 4096
|
||||
|
||||
; register_argc_argv
|
||||
; Default Value: On
|
||||
; Development Value: Off
|
||||
; Production Value: Off
|
||||
|
||||
; request_order
|
||||
; Default Value: None
|
||||
; Development Value: "GP"
|
||||
; Production Value: "GP"
|
||||
|
||||
; session.gc_divisor
|
||||
; Default Value: 100
|
||||
; Development Value: 1000
|
||||
; Production Value: 1000
|
||||
|
||||
; session.sid_bits_per_character
|
||||
; Default Value: 4
|
||||
; Development Value: 5
|
||||
; Production Value: 5
|
||||
|
||||
; session.sid_length
|
||||
; Default Value: 32
|
||||
; Development Value: 26
|
||||
; Production Value: 26
|
||||
|
||||
; short_open_tag
|
||||
; Default Value: On
|
||||
; Development Value: Off
|
||||
; Production Value: Off
|
||||
|
||||
; variables_order
|
||||
; Default Value: "EGPCS"
|
||||
; Development Value: "GPCS"
|
||||
; Production Value: "GPCS"
|
||||
|
||||
; zend.assertions
|
||||
; Default Value: 1
|
||||
; Development Value: 1
|
||||
; Production Value: -1
|
||||
|
||||
; zend.exception_ignore_args
|
||||
; Default Value: Off
|
||||
; Development Value: Off
|
||||
; Production Value: On
|
||||
|
||||
; zend.exception_string_param_max_len
|
||||
; Default Value: 15
|
||||
; Development Value: 15
|
||||
; Production Value: 0
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;
|
||||
; php.ini Options ;
|
||||
;;;;;;;;;;;;;;;;;;;;
|
||||
; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
|
||||
;user_ini.filename = ".user.ini"
|
||||
|
||||
; To disable this feature set this option to an empty value
|
||||
;user_ini.filename =
|
||||
|
||||
; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
|
||||
;user_ini.cache_ttl = 300
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;
|
||||
; Language Options ;
|
||||
;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
; Enable the PHP scripting language engine under Apache.
|
||||
; https://php.net/engine
|
||||
engine = On
|
||||
|
||||
; This directive determines whether or not PHP will recognize code between
|
||||
; <? and ?> tags as PHP source which should be processed as such. It is
|
||||
; generally recommended that <?php and ?> should be used and that this feature
|
||||
; should be disabled, as enabling it may result in issues when generating XML
|
||||
; documents, however this remains supported for backward compatibility reasons.
|
||||
; Note that this directive does not control the <?= shorthand tag, which can be
|
||||
; used regardless of this directive.
|
||||
; Default Value: On
|
||||
; Development Value: Off
|
||||
; Production Value: Off
|
||||
; https://php.net/short-open-tag
|
||||
short_open_tag = Off
|
||||
|
||||
; The number of significant digits displayed in floating point numbers.
|
||||
; https://php.net/precision
|
||||
precision = 14
|
||||
|
||||
; Output buffering is a mechanism for controlling how much output data
|
||||
; (excluding headers and cookies) PHP should keep internally before pushing that
|
||||
; data to the client. If your application's output exceeds this setting, PHP
|
||||
; will send that data in chunks of roughly the size you specify.
|
||||
; Turning on this setting and managing its maximum buffer size can yield some
|
||||
; interesting side-effects depending on your application and web server.
|
||||
; You may be able to send headers and cookies after you've already sent output
|
||||
; through print or echo. You also may see performance benefits if your server is
|
||||
; emitting less packets due to buffered output versus PHP streaming the output
|
||||
; as it gets it. On production servers, 4096 bytes is a good setting for performance
|
||||
; reasons.
|
||||
; Note: Output buffering can also be controlled via Output Buffering Control
|
||||
; functions.
|
||||
; Possible Values:
|
||||
; On = Enabled and buffer is unlimited. (Use with caution)
|
||||
; Off = Disabled
|
||||
; Integer = Enables the buffer and sets its maximum size in bytes.
|
||||
; Note: This directive is hardcoded to Off for the CLI SAPI
|
||||
; Default Value: Off
|
||||
; Development Value: 4096
|
||||
; Production Value: 4096
|
||||
; https://php.net/output-buffering
|
||||
output_buffering = 4096
|
||||
|
||||
; You can redirect all of the output of your scripts to a function. For
|
||||
; example, if you set output_handler to "mb_output_handler", character
|
||||
; encoding will be transparently converted to the specified encoding.
|
||||
; Setting any output handler automatically turns on output buffering.
|
||||
; Note: People who wrote portable scripts should not depend on this ini
|
||||
; directive. Instead, explicitly set the output handler using ob_start().
|
||||
; Using this ini directive may cause problems unless you know what script
|
||||
; is doing.
|
||||
; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
|
||||
; and you cannot use both "ob_gzhandler" and "zlib.output_compression".
|
||||
; Note: output_handler must be empty if this is set 'On' !!!!
|
||||
; Instead you must use zlib.output_handler.
|
||||
; https://php.net/output-handler
|
||||
;output_handler =
|
||||
|
||||
; URL rewriter function rewrites URL on the fly by using
|
||||
; output buffer. You can set target tags by this configuration.
|
||||
; "form" tag is special tag. It will add hidden input tag to pass values.
|
||||
; Refer to session.trans_sid_tags for usage.
|
||||
; Default Value: "form="
|
||||
; Development Value: "form="
|
||||
; Production Value: "form="
|
||||
;url_rewriter.tags
|
||||
|
||||
; URL rewriter will not rewrite absolute URL nor form by default. To enable
|
||||
; absolute URL rewrite, allowed hosts must be defined at RUNTIME.
|
||||
; Refer to session.trans_sid_hosts for more details.
|
||||
; Default Value: ""
|
||||
; Development Value: ""
|
||||
; Production Value: ""
|
||||
;url_rewriter.hosts
|
||||
|
||||
; Transparent output compression using the zlib library
|
||||
; Valid values for this option are 'off', 'on', or a specific buffer size
|
||||
; to be used for compression (default is 4KB)
|
||||
; Note: Resulting chunk size may vary due to nature of compression. PHP
|
||||
; outputs chunks that are few hundreds bytes each as a result of
|
||||
; compression. If you prefer a larger chunk size for better
|
||||
; performance, enable output_buffering in addition.
|
||||
; Note: You need to use zlib.output_handler instead of the standard
|
||||
; output_handler, or otherwise the output will be corrupted.
|
||||
; https://php.net/zlib.output-compression
|
||||
zlib.output_compression = Off
|
||||
|
||||
; https://php.net/zlib.output-compression-level
|
||||
;zlib.output_compression_level = -1
|
||||
|
||||
; You cannot specify additional output handlers if zlib.output_compression
|
||||
; is activated here. This setting does the same as output_handler but in
|
||||
; a different order.
|
||||
; https://php.net/zlib.output-handler
|
||||
;zlib.output_handler =
|
||||
|
||||
; Implicit flush tells PHP to tell the output layer to flush itself
|
||||
; automatically after every output block. This is equivalent to calling the
|
||||
; PHP function flush() after each and every call to print() or echo() and each
|
||||
; and every HTML block. Turning this option on has serious performance
|
||||
; implications and is generally recommended for debugging purposes only.
|
||||
; https://php.net/implicit-flush
|
||||
; Note: This directive is hardcoded to On for the CLI SAPI
|
||||
implicit_flush = Off
|
||||
|
||||
; The unserialize callback function will be called (with the undefined class'
|
||||
; name as parameter), if the unserializer finds an undefined class
|
||||
; which should be instantiated. A warning appears if the specified function is
|
||||
; not defined, or if the function doesn't include/implement the missing class.
|
||||
; So only set this entry, if you really want to implement such a
|
||||
; callback-function.
|
||||
unserialize_callback_func =
|
||||
|
||||
; The unserialize_max_depth specifies the default depth limit for unserialized
|
||||
; structures. Setting the depth limit too high may result in stack overflows
|
||||
; during unserialization. The unserialize_max_depth ini setting can be
|
||||
; overridden by the max_depth option on individual unserialize() calls.
|
||||
; A value of 0 disables the depth limit.
|
||||
;unserialize_max_depth = 4096
|
||||
|
||||
; When floats & doubles are serialized, store serialize_precision significant
|
||||
; digits after the floating point. The default value ensures that when floats
|
||||
; are decoded with unserialize, the data will remain the same.
|
||||
; The value is also used for json_encode when encoding double values.
|
||||
; If -1 is used, then dtoa mode 0 is used which automatically select the best
|
||||
; precision.
|
||||
serialize_precision = -1
|
||||
|
||||
; open_basedir, if set, limits all file operations to the defined directory
|
||||
; and below. This directive makes most sense if used in a per-directory
|
||||
; or per-virtualhost web server configuration file.
|
||||
; Note: disables the realpath cache
|
||||
; https://php.net/open-basedir
|
||||
;open_basedir =
|
||||
|
||||
; This directive allows you to disable certain functions.
|
||||
; It receives a comma-delimited list of function names.
|
||||
; https://php.net/disable-functions
|
||||
disable_functions =
|
||||
|
||||
; This directive allows you to disable certain classes.
|
||||
; It receives a comma-delimited list of class names.
|
||||
; https://php.net/disable-classes
|
||||
disable_classes =
|
||||
|
||||
; Colors for Syntax Highlighting mode. Anything that's acceptable in
|
||||
; <span style="color: ???????"> would work.
|
||||
; https://php.net/syntax-highlighting
|
||||
;highlight.string = #DD0000
|
||||
;highlight.comment = #FF9900
|
||||
;highlight.keyword = #007700
|
||||
;highlight.default = #0000BB
|
||||
;highlight.html = #000000
|
||||
|
||||
; If enabled, the request will be allowed to complete even if the user aborts
|
||||
; the request. Consider enabling it if executing long requests, which may end up
|
||||
; being interrupted by the user or a browser timing out. PHP's default behavior
|
||||
; is to disable this feature.
|
||||
; https://php.net/ignore-user-abort
|
||||
;ignore_user_abort = On
|
||||
|
||||
; Determines the size of the realpath cache to be used by PHP. This value should
|
||||
; be increased on systems where PHP opens many files to reflect the quantity of
|
||||
; the file operations performed.
|
||||
; Note: if open_basedir is set, the cache is disabled
|
||||
; https://php.net/realpath-cache-size
|
||||
;realpath_cache_size = 4096k
|
||||
|
||||
; Duration of time, in seconds for which to cache realpath information for a given
|
||||
; file or directory. For systems with rarely changing files, consider increasing this
|
||||
; value.
|
||||
; https://php.net/realpath-cache-ttl
|
||||
;realpath_cache_ttl = 120
|
||||
|
||||
; Enables or disables the circular reference collector.
|
||||
; https://php.net/zend.enable-gc
|
||||
zend.enable_gc = On
|
||||
|
||||
; If enabled, scripts may be written in encodings that are incompatible with
|
||||
; the scanner. CP936, Big5, CP949 and Shift_JIS are the examples of such
|
||||
; encodings. To use this feature, mbstring extension must be enabled.
|
||||
;zend.multibyte = Off
|
||||
|
||||
; Allows to set the default encoding for the scripts. This value will be used
|
||||
; unless "declare(encoding=...)" directive appears at the top of the script.
|
||||
; Only affects if zend.multibyte is set.
|
||||
;zend.script_encoding =
|
||||
|
||||
; Allows to include or exclude arguments from stack traces generated for exceptions.
|
||||
; In production, it is recommended to turn this setting on to prohibit the output
|
||||
; of sensitive information in stack traces
|
||||
; Default Value: Off
|
||||
; Development Value: Off
|
||||
; Production Value: On
|
||||
zend.exception_ignore_args = Off
|
||||
|
||||
; Allows setting the maximum string length in an argument of a stringified stack trace
|
||||
; to a value between 0 and 1000000.
|
||||
; This has no effect when zend.exception_ignore_args is enabled.
|
||||
; Default Value: 15
|
||||
; Development Value: 15
|
||||
; Production Value: 0
|
||||
zend.exception_string_param_max_len = 15
|
||||
|
||||
;;;;;;;;;;;;;;;;;
|
||||
; Miscellaneous ;
|
||||
;;;;;;;;;;;;;;;;;
|
||||
|
||||
; Decides whether PHP may expose the fact that it is installed on the server
|
||||
; (e.g. by adding its signature to the Web server header). It is no security
|
||||
; threat in any way, but it makes it possible to determine whether you use PHP
|
||||
; on your server or not.
|
||||
; https://php.net/expose-php
|
||||
expose_php = On
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;
|
||||
; Resource Limits ;
|
||||
;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
; Maximum execution time of each script, in seconds
|
||||
; https://php.net/max-execution-time
|
||||
; Note: This directive is hardcoded to 0 for the CLI SAPI
|
||||
max_execution_time = 30
|
||||
|
||||
; Maximum amount of time each script may spend parsing request data. It's a good
|
||||
; idea to limit this time on productions servers in order to eliminate unexpectedly
|
||||
; long running scripts.
|
||||
; Note: This directive is hardcoded to -1 for the CLI SAPI
|
||||
; Default Value: -1 (Unlimited)
|
||||
; Development Value: 60 (60 seconds)
|
||||
; Production Value: 60 (60 seconds)
|
||||
; https://php.net/max-input-time
|
||||
max_input_time = 60
|
||||
|
||||
; Maximum input variable nesting level
|
||||
; https://php.net/max-input-nesting-level
|
||||
;max_input_nesting_level = 64
|
||||
|
||||
; How many GET/POST/COOKIE input variables may be accepted
|
||||
;max_input_vars = 1000
|
||||
|
||||
; How many multipart body parts (combined input variable and file uploads) may
|
||||
; be accepted.
|
||||
; Default Value: -1 (Sum of max_input_vars and max_file_uploads)
|
||||
;max_multipart_body_parts = 1500
|
||||
|
||||
; Maximum amount of memory a script may consume
|
||||
; https://php.net/memory-limit
|
||||
memory_limit = 128M
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
; Error handling and logging ;
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
; This directive informs PHP of which errors, warnings and notices you would like
|
||||
; it to take action for. The recommended way of setting values for this
|
||||
; directive is through the use of the error level constants and bitwise
|
||||
; operators. The error level constants are below here for convenience as well as
|
||||
; some common settings and their meanings.
|
||||
; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
|
||||
; those related to E_NOTICE and E_STRICT, which together cover best practices and
|
||||
; recommended coding standards in PHP. For performance reasons, this is the
|
||||
; recommend error reporting setting. Your production server shouldn't be wasting
|
||||
; resources complaining about best practices and coding standards. That's what
|
||||
; development servers and development settings are for.
|
||||
; Note: The php.ini-development file has this setting as E_ALL. This
|
||||
; means it pretty much reports everything which is exactly what you want during
|
||||
; development and early testing.
|
||||
;
|
||||
; Error Level Constants:
|
||||
; E_ALL - All errors and warnings
|
||||
; E_ERROR - fatal run-time errors
|
||||
; E_RECOVERABLE_ERROR - almost fatal run-time errors
|
||||
; E_WARNING - run-time warnings (non-fatal errors)
|
||||
; E_PARSE - compile-time parse errors
|
||||
; E_NOTICE - run-time notices (these are warnings which often result
|
||||
; from a bug in your code, but it's possible that it was
|
||||
; intentional (e.g., using an uninitialized variable and
|
||||
; relying on the fact it is automatically initialized to an
|
||||
; empty string)
|
||||
; E_STRICT - run-time notices, enable to have PHP suggest changes
|
||||
; to your code which will ensure the best interoperability
|
||||
; and forward compatibility of your code
|
||||
; E_CORE_ERROR - fatal errors that occur during PHP's initial startup
|
||||
; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's
|
||||
; initial startup
|
||||
; E_COMPILE_ERROR - fatal compile-time errors
|
||||
; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
|
||||
; E_USER_ERROR - user-generated error message
|
||||
; E_USER_WARNING - user-generated warning message
|
||||
; E_USER_NOTICE - user-generated notice message
|
||||
; E_DEPRECATED - warn about code that will not work in future versions
|
||||
; of PHP
|
||||
; E_USER_DEPRECATED - user-generated deprecation warnings
|
||||
;
|
||||
; Common Values:
|
||||
; E_ALL (Show all errors, warnings and notices including coding standards.)
|
||||
; E_ALL & ~E_NOTICE (Show all errors, except for notices)
|
||||
; E_ALL & ~E_NOTICE & ~E_STRICT (Show all errors, except for notices and coding standards warnings.)
|
||||
; E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR (Show only errors)
|
||||
; Default Value: E_ALL
|
||||
; Development Value: E_ALL
|
||||
; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
|
||||
; https://php.net/error-reporting
|
||||
error_reporting = E_ALL
|
||||
|
||||
; This directive controls whether or not and where PHP will output errors,
|
||||
; notices and warnings too. Error output is very useful during development, but
|
||||
; it could be very dangerous in production environments. Depending on the code
|
||||
; which is triggering the error, sensitive information could potentially leak
|
||||
; out of your application such as database usernames and passwords or worse.
|
||||
; For production environments, we recommend logging errors rather than
|
||||
; sending them to STDOUT.
|
||||
; Possible Values:
|
||||
; Off = Do not display any errors
|
||||
; stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
|
||||
; On or stdout = Display errors to STDOUT
|
||||
; Default Value: On
|
||||
; Development Value: On
|
||||
; Production Value: Off
|
||||
; https://php.net/display-errors
|
||||
display_errors = On
|
||||
|
||||
; The display of errors which occur during PHP's startup sequence are handled
|
||||
; separately from display_errors. We strongly recommend you set this to 'off'
|
||||
; for production servers to avoid leaking configuration details.
|
||||
; Default Value: On
|
||||
; Development Value: On
|
||||
; Production Value: Off
|
||||
; https://php.net/display-startup-errors
|
||||
display_startup_errors = On
|
||||
|
||||
; Besides displaying errors, PHP can also log errors to locations such as a
|
||||
; server-specific log, STDERR, or a location specified by the error_log
|
||||
; directive found below. While errors should not be displayed on productions
|
||||
; servers they should still be monitored and logging is a great way to do that.
|
||||
; Default Value: Off
|
||||
; Development Value: On
|
||||
; Production Value: On
|
||||
; https://php.net/log-errors
|
||||
log_errors = On
|
||||
|
||||
; Do not log repeated messages. Repeated errors must occur in same file on same
|
||||
; line unless ignore_repeated_source is set true.
|
||||
; https://php.net/ignore-repeated-errors
|
||||
ignore_repeated_errors = Off
|
||||
|
||||
; Ignore source of message when ignoring repeated messages. When this setting
|
||||
; is On you will not log errors with repeated messages from different files or
|
||||
; source lines.
|
||||
; https://php.net/ignore-repeated-source
|
||||
ignore_repeated_source = Off
|
||||
|
||||
; If this parameter is set to Off, then memory leaks will not be shown (on
|
||||
; stdout or in the log). This is only effective in a debug compile, and if
|
||||
; error reporting includes E_WARNING in the allowed list
|
||||
; https://php.net/report-memleaks
|
||||
report_memleaks = On
|
||||
|
||||
; This setting is off by default.
|
||||
;report_zend_debug = 0
|
||||
|
||||
; Turn off normal error reporting and emit XML-RPC error XML
|
||||
; https://php.net/xmlrpc-errors
|
||||
;xmlrpc_errors = 0
|
||||
|
||||
; An XML-RPC faultCode
|
||||
;xmlrpc_error_number = 0
|
||||
|
||||
; When PHP displays or logs an error, it has the capability of formatting the
|
||||
; error message as HTML for easier reading. This directive controls whether
|
||||
; the error message is formatted as HTML or not.
|
||||
; Note: This directive is hardcoded to Off for the CLI SAPI
|
||||
; https://php.net/html-errors
|
||||
;html_errors = On
|
||||
|
||||
; If html_errors is set to On *and* docref_root is not empty, then PHP
|
||||
; produces clickable error messages that direct to a page describing the error
|
||||
; or function causing the error in detail.
|
||||
; You can download a copy of the PHP manual from https://php.net/docs
|
||||
; and change docref_root to the base URL of your local copy including the
|
||||
; leading '/'. You must also specify the file extension being used including
|
||||
; the dot. PHP's default behavior is to leave these settings empty, in which
|
||||
; case no links to documentation are generated.
|
||||
; Note: Never use this feature for production boxes.
|
||||
; https://php.net/docref-root
|
||||
; Examples
|
||||
;docref_root = "/phpmanual/"
|
||||
|
||||
; https://php.net/docref-ext
|
||||
;docref_ext = .html
|
||||
|
||||
; String to output before an error message. PHP's default behavior is to leave
|
||||
; this setting blank.
|
||||
; https://php.net/error-prepend-string
|
||||
; Example:
|
||||
;error_prepend_string = "<span style='color: #ff0000'>"
|
||||
|
||||
; String to output after an error message. PHP's default behavior is to leave
|
||||
; this setting blank.
|
||||
; https://php.net/error-append-string
|
||||
; Example:
|
||||
;error_append_string = "</span>"
|
||||
|
||||
; Log errors to specified file. PHP's default behavior is to leave this value
|
||||
; empty.
|
||||
; https://php.net/error-log
|
||||
; Example:
|
||||
;error_log = php_errors.log
|
||||
; Log errors to syslog (Event Log on Windows).
|
||||
;error_log = syslog
|
||||
|
||||
; The syslog ident is a string which is prepended to every message logged
|
||||
; to syslog. Only used when error_log is set to syslog.
|
||||
;syslog.ident = php
|
||||
|
||||
; The syslog facility is used to specify what type of program is logging
|
||||
; the message. Only used when error_log is set to syslog.
|
||||
;syslog.facility = user
|
||||
|
||||
; Set this to disable filtering control characters (the default).
|
||||
; Some loggers only accept NVT-ASCII, others accept anything that's not
|
||||
; control characters. If your logger accepts everything, then no filtering
|
||||
; is needed at all.
|
||||
; Allowed values are:
|
||||
; ascii (all printable ASCII characters and NL)
|
||||
; no-ctrl (all characters except control characters)
|
||||
; all (all characters)
|
||||
; raw (like "all", but messages are not split at newlines)
|
||||
; https://php.net/syslog.filter
|
||||
;syslog.filter = ascii
|
||||
|
||||
;windows.show_crt_warning
|
||||
; Default value: 0
|
||||
; Development value: 0
|
||||
; Production value: 0
|
||||
|
||||
;;;;;;;;;;;;;;;;;
|
||||
; Data Handling ;
|
||||
;;;;;;;;;;;;;;;;;
|
||||
|
||||
; The separator used in PHP generated URLs to separate arguments.
|
||||
; PHP's default setting is "&".
|
||||
; https://php.net/arg-separator.output
|
||||
; Example:
|
||||
;arg_separator.output = "&"
|
||||
|
||||
; List of separator(s) used by PHP to parse input URLs into variables.
|
||||
; PHP's default setting is "&".
|
||||
; NOTE: Every character in this directive is considered as separator!
|
||||
; https://php.net/arg-separator.input
|
||||
; Example:
|
||||
;arg_separator.input = ";&"
|
||||
|
||||
; This directive determines which super global arrays are registered when PHP
|
||||
; starts up. G,P,C,E & S are abbreviations for the following respective super
|
||||
; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
|
||||
; paid for the registration of these arrays and because ENV is not as commonly
|
||||
; used as the others, ENV is not recommended on productions servers. You
|
||||
; can still get access to the environment variables through getenv() should you
|
||||
; need to.
|
||||
; Default Value: "EGPCS"
|
||||
; Development Value: "GPCS"
|
||||
; Production Value: "GPCS";
|
||||
; https://php.net/variables-order
|
||||
variables_order = "GPCS"
|
||||
|
||||
; This directive determines which super global data (G,P & C) should be
|
||||
; registered into the super global array REQUEST. If so, it also determines
|
||||
; the order in which that data is registered. The values for this directive
|
||||
; are specified in the same manner as the variables_order directive,
|
||||
; EXCEPT one. Leaving this value empty will cause PHP to use the value set
|
||||
; in the variables_order directive. It does not mean it will leave the super
|
||||
; globals array REQUEST empty.
|
||||
; Default Value: None
|
||||
; Development Value: "GP"
|
||||
; Production Value: "GP"
|
||||
; https://php.net/request-order
|
||||
request_order = "GP"
|
||||
|
||||
; This directive determines whether PHP registers $argv & $argc each time it
|
||||
; runs. $argv contains an array of all the arguments passed to PHP when a script
|
||||
; is invoked. $argc contains an integer representing the number of arguments
|
||||
; that were passed when the script was invoked. These arrays are extremely
|
||||
; useful when running scripts from the command line. When this directive is
|
||||
; enabled, registering these variables consumes CPU cycles and memory each time
|
||||
; a script is executed. For performance reasons, this feature should be disabled
|
||||
; on production servers.
|
||||
; Note: This directive is hardcoded to On for the CLI SAPI
|
||||
; Default Value: On
|
||||
; Development Value: Off
|
||||
; Production Value: Off
|
||||
; https://php.net/register-argc-argv
|
||||
register_argc_argv = Off
|
||||
|
||||
; When enabled, the ENV, REQUEST and SERVER variables are created when they're
|
||||
; first used (Just In Time) instead of when the script starts. If these
|
||||
; variables are not used within a script, having this directive on will result
|
||||
; in a performance gain. The PHP directive register_argc_argv must be disabled
|
||||
; for this directive to have any effect.
|
||||
; https://php.net/auto-globals-jit
|
||||
auto_globals_jit = On
|
||||
|
||||
; Whether PHP will read the POST data.
|
||||
; This option is enabled by default.
|
||||
; Most likely, you won't want to disable this option globally. It causes $_POST
|
||||
; and $_FILES to always be empty; the only way you will be able to read the
|
||||
; POST data will be through the php://input stream wrapper. This can be useful
|
||||
; to proxy requests or to process the POST data in a memory efficient fashion.
|
||||
; https://php.net/enable-post-data-reading
|
||||
;enable_post_data_reading = Off
|
||||
|
||||
; Maximum size of POST data that PHP will accept.
|
||||
; Its value may be 0 to disable the limit. It is ignored if POST data reading
|
||||
; is disabled through enable_post_data_reading.
|
||||
; https://php.net/post-max-size
|
||||
post_max_size = 8M
|
||||
|
||||
; Automatically add files before PHP document.
|
||||
; https://php.net/auto-prepend-file
|
||||
auto_prepend_file =
|
||||
|
||||
; Automatically add files after PHP document.
|
||||
; https://php.net/auto-append-file
|
||||
auto_append_file =
|
||||
|
||||
; By default, PHP will output a media type using the Content-Type header. To
|
||||
; disable this, simply set it to be empty.
|
||||
;
|
||||
; PHP's built-in default media type is set to text/html.
|
||||
; https://php.net/default-mimetype
|
||||
default_mimetype = "text/html"
|
||||
|
||||
; PHP's default character set is set to UTF-8.
|
||||
; https://php.net/default-charset
|
||||
default_charset = "UTF-8"
|
||||
|
||||
; PHP internal character encoding is set to empty.
|
||||
; If empty, default_charset is used.
|
||||
; https://php.net/internal-encoding
|
||||
;internal_encoding =
|
||||
|
||||
; PHP input character encoding is set to empty.
|
||||
; If empty, default_charset is used.
|
||||
; https://php.net/input-encoding
|
||||
;input_encoding =
|
||||
|
||||
; PHP output character encoding is set to empty.
|
||||
; If empty, default_charset is used.
|
||||
; See also output_buffer.
|
||||
; https://php.net/output-encoding
|
||||
;output_encoding =
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
; Paths and Directories ;
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
; UNIX: "/path1:/path2"
|
||||
;include_path = ".:/php/includes"
|
||||
;
|
||||
; Windows: "\path1;\path2"
|
||||
;include_path = ".;c:\php\includes"
|
||||
;
|
||||
; PHP's default setting for include_path is ".;/path/to/php/pear"
|
||||
; https://php.net/include-path
|
||||
|
||||
; The root of the PHP pages, used only if nonempty.
|
||||
; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
|
||||
; if you are running php as a CGI under any web server (other than IIS)
|
||||
; see documentation for security issues. The alternate is to use the
|
||||
; cgi.force_redirect configuration below
|
||||
; https://php.net/doc-root
|
||||
doc_root =
|
||||
|
||||
; The directory under which PHP opens the script using /~username used only
|
||||
; if nonempty.
|
||||
; https://php.net/user-dir
|
||||
user_dir =
|
||||
|
||||
; Directory in which the loadable extensions (modules) reside.
|
||||
; https://php.net/extension-dir
|
||||
;extension_dir = "./"
|
||||
; On windows:
|
||||
;extension_dir = "ext"
|
||||
|
||||
; Directory where the temporary files should be placed.
|
||||
; Defaults to the system default (see sys_get_temp_dir)
|
||||
;sys_temp_dir = "/tmp"
|
||||
|
||||
; Whether or not to enable the dl() function. The dl() function does NOT work
|
||||
; properly in multithreaded servers, such as IIS or Zeus, and is automatically
|
||||
; disabled on them.
|
||||
; https://php.net/enable-dl
|
||||
enable_dl = Off
|
||||
|
||||
; cgi.force_redirect is necessary to provide security running PHP as a CGI under
|
||||
; most web servers. Left undefined, PHP turns this on by default. You can
|
||||
; turn it off here AT YOUR OWN RISK
|
||||
; **You CAN safely turn this off for IIS, in fact, you MUST.**
|
||||
; https://php.net/cgi.force-redirect
|
||||
;cgi.force_redirect = 1
|
||||
|
||||
; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
|
||||
; every request. PHP's default behavior is to disable this feature.
|
||||
;cgi.nph = 1
|
||||
|
||||
; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
|
||||
; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
|
||||
; will look for to know it is OK to continue execution. Setting this variable MAY
|
||||
; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
|
||||
; https://php.net/cgi.redirect-status-env
|
||||
;cgi.redirect_status_env =
|
||||
|
||||
; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI. PHP's
|
||||
; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
|
||||
; what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting
|
||||
; this to 1 will cause PHP CGI to fix its paths to conform to the spec. A setting
|
||||
; of zero causes PHP to behave as before. Default is 1. You should fix your scripts
|
||||
; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
|
||||
; https://php.net/cgi.fix-pathinfo
|
||||
;cgi.fix_pathinfo=1
|
||||
|
||||
; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
|
||||
; of the web tree and people will not be able to circumvent .htaccess security.
|
||||
;cgi.discard_path=1
|
||||
|
||||
; FastCGI under IIS supports the ability to impersonate
|
||||
; security tokens of the calling client. This allows IIS to define the
|
||||
; security context that the request runs under. mod_fastcgi under Apache
|
||||
; does not currently support this feature (03/17/2002)
|
||||
; Set to 1 if running under IIS. Default is zero.
|
||||
; https://php.net/fastcgi.impersonate
|
||||
;fastcgi.impersonate = 1
|
||||
|
||||
; Disable logging through FastCGI connection. PHP's default behavior is to enable
|
||||
; this feature.
|
||||
;fastcgi.logging = 0
|
||||
|
||||
; cgi.rfc2616_headers configuration option tells PHP what type of headers to
|
||||
; use when sending HTTP response code. If set to 0, PHP sends Status: header that
|
||||
; is supported by Apache. When this option is set to 1, PHP will send
|
||||
; RFC2616 compliant header.
|
||||
; Default is zero.
|
||||
; https://php.net/cgi.rfc2616-headers
|
||||
;cgi.rfc2616_headers = 0
|
||||
|
||||
; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
|
||||
; (shebang) at the top of the running script. This line might be needed if the
|
||||
; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
|
||||
; mode skips this line and ignores its content if this directive is turned on.
|
||||
; https://php.net/cgi.check-shebang-line
|
||||
;cgi.check_shebang_line=1
|
||||
|
||||
;;;;;;;;;;;;;;;;
|
||||
; File Uploads ;
|
||||
;;;;;;;;;;;;;;;;
|
||||
|
||||
; Whether to allow HTTP file uploads.
|
||||
; https://php.net/file-uploads
|
||||
file_uploads = On
|
||||
|
||||
; Temporary directory for HTTP uploaded files (will use system default if not
|
||||
; specified).
|
||||
; https://php.net/upload-tmp-dir
|
||||
;upload_tmp_dir =
|
||||
|
||||
; Maximum allowed size for uploaded files.
|
||||
; https://php.net/upload-max-filesize
|
||||
upload_max_filesize = 2M
|
||||
|
||||
; Maximum number of files that can be uploaded via a single request
|
||||
max_file_uploads = 20
|
||||
|
||||
;;;;;;;;;;;;;;;;;;
|
||||
; Fopen wrappers ;
|
||||
;;;;;;;;;;;;;;;;;;
|
||||
|
||||
; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
|
||||
; https://php.net/allow-url-fopen
|
||||
allow_url_fopen = On
|
||||
|
||||
; Whether to allow include/require to open URLs (like https:// or ftp://) as files.
|
||||
; https://php.net/allow-url-include
|
||||
allow_url_include = Off
|
||||
|
||||
; Define the anonymous ftp password (your email address). PHP's default setting
|
||||
; for this is empty.
|
||||
; https://php.net/from
|
||||
;from="john@doe.com"
|
||||
|
||||
; Define the User-Agent string. PHP's default setting for this is empty.
|
||||
; https://php.net/user-agent
|
||||
;user_agent="PHP"
|
||||
|
||||
; Default timeout for socket based streams (seconds)
|
||||
; https://php.net/default-socket-timeout
|
||||
default_socket_timeout = 60
|
||||
|
||||
; If your scripts have to deal with files from Macintosh systems,
|
||||
; or you are running on a Mac and need to deal with files from
|
||||
; unix or win32 systems, setting this flag will cause PHP to
|
||||
; automatically detect the EOL character in those files so that
|
||||
; fgets() and file() will work regardless of the source of the file.
|
||||
; https://php.net/auto-detect-line-endings
|
||||
;auto_detect_line_endings = Off
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;
|
||||
; Dynamic Extensions ;
|
||||
;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
; If you wish to have an extension loaded automatically, use the following
|
||||
; syntax:
|
||||
;
|
||||
; extension=modulename
|
||||
;
|
||||
; For example:
|
||||
;
|
||||
; extension=mysqli
|
||||
;
|
||||
; When the extension library to load is not located in the default extension
|
||||
; directory, You may specify an absolute path to the library file:
|
||||
;
|
||||
; extension=/path/to/extension/mysqli.so
|
||||
;
|
||||
; Note : The syntax used in previous PHP versions ('extension=<ext>.so' and
|
||||
; 'extension='php_<ext>.dll') is supported for legacy reasons and may be
|
||||
; deprecated in a future PHP major version. So, when it is possible, please
|
||||
; move to the new ('extension=<ext>) syntax.
|
||||
;
|
||||
; Notes for Windows environments :
|
||||
;
|
||||
; - Many DLL files are located in the ext/
|
||||
; extension folders as well as the separate PECL DLL download.
|
||||
; Be sure to appropriately set the extension_dir directive.
|
||||
;
|
||||
;extension=bz2
|
||||
|
||||
; The ldap extension must be before curl if OpenSSL 1.0.2 and OpenLDAP is used
|
||||
; otherwise it results in segfault when unloading after using SASL.
|
||||
; See https://github.com/php/php-src/issues/8620 for more info.
|
||||
;extension=ldap
|
||||
|
||||
;extension=curl
|
||||
;extension=ffi
|
||||
;extension=ftp
|
||||
;extension=fileinfo
|
||||
;extension=gd
|
||||
;extension=gettext
|
||||
;extension=gmp
|
||||
;extension=intl
|
||||
;extension=imap
|
||||
;extension=mbstring
|
||||
;extension=exif ; Must be after mbstring as it depends on it
|
||||
;extension=mysqli
|
||||
;extension=oci8_12c ; Use with Oracle Database 12c Instant Client
|
||||
;extension=oci8_19 ; Use with Oracle Database 19 Instant Client
|
||||
;extension=odbc
|
||||
;extension=openssl
|
||||
;extension=pdo_firebird
|
||||
;extension=pdo_mysql
|
||||
;extension=pdo_oci
|
||||
;extension=pdo_odbc
|
||||
;extension=pdo_pgsql
|
||||
;extension=pdo_sqlite
|
||||
;extension=pgsql
|
||||
;extension=shmop
|
||||
|
||||
; The MIBS data available in the PHP distribution must be installed.
|
||||
; See https://www.php.net/manual/en/snmp.installation.php
|
||||
;extension=snmp
|
||||
|
||||
;extension=soap
|
||||
;extension=sockets
|
||||
;extension=sodium
|
||||
;extension=sqlite3
|
||||
;extension=tidy
|
||||
;extension=xsl
|
||||
;extension=zip
|
||||
|
||||
;zend_extension=opcache
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;
|
||||
; Module Settings ;
|
||||
;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
[CLI Server]
|
||||
; Whether the CLI web server uses ANSI color coding in its terminal output.
|
||||
cli_server.color = On
|
||||
|
||||
[Date]
|
||||
; Defines the default timezone used by the date functions
|
||||
; https://php.net/date.timezone
|
||||
;date.timezone =
|
||||
|
||||
; https://php.net/date.default-latitude
|
||||
;date.default_latitude = 31.7667
|
||||
|
||||
; https://php.net/date.default-longitude
|
||||
;date.default_longitude = 35.2333
|
||||
|
||||
; https://php.net/date.sunrise-zenith
|
||||
;date.sunrise_zenith = 90.833333
|
||||
|
||||
; https://php.net/date.sunset-zenith
|
||||
;date.sunset_zenith = 90.833333
|
||||
|
||||
[filter]
|
||||
; https://php.net/filter.default
|
||||
;filter.default = unsafe_raw
|
||||
|
||||
; https://php.net/filter.default-flags
|
||||
;filter.default_flags =
|
||||
|
||||
[iconv]
|
||||
; Use of this INI entry is deprecated, use global input_encoding instead.
|
||||
; If empty, default_charset or input_encoding or iconv.input_encoding is used.
|
||||
; The precedence is: default_charset < input_encoding < iconv.input_encoding
|
||||
;iconv.input_encoding =
|
||||
|
||||
; Use of this INI entry is deprecated, use global internal_encoding instead.
|
||||
; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
|
||||
; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
|
||||
;iconv.internal_encoding =
|
||||
|
||||
; Use of this INI entry is deprecated, use global output_encoding instead.
|
||||
; If empty, default_charset or output_encoding or iconv.output_encoding is used.
|
||||
; The precedence is: default_charset < output_encoding < iconv.output_encoding
|
||||
; To use an output encoding conversion, iconv's output handler must be set
|
||||
; otherwise output encoding conversion cannot be performed.
|
||||
;iconv.output_encoding =
|
||||
|
||||
[imap]
|
||||
; rsh/ssh logins are disabled by default. Use this INI entry if you want to
|
||||
; enable them. Note that the IMAP library does not filter mailbox names before
|
||||
; passing them to rsh/ssh command, thus passing untrusted data to this function
|
||||
; with rsh/ssh enabled is insecure.
|
||||
;imap.enable_insecure_rsh=0
|
||||
|
||||
[intl]
|
||||
;intl.default_locale =
|
||||
; This directive allows you to produce PHP errors when some error
|
||||
; happens within intl functions. The value is the level of the error produced.
|
||||
; Default is 0, which does not produce any errors.
|
||||
;intl.error_level = E_WARNING
|
||||
;intl.use_exceptions = 0
|
||||
|
||||
[sqlite3]
|
||||
; Directory pointing to SQLite3 extensions
|
||||
; https://php.net/sqlite3.extension-dir
|
||||
;sqlite3.extension_dir =
|
||||
|
||||
; SQLite defensive mode flag (only available from SQLite 3.26+)
|
||||
; When the defensive flag is enabled, language features that allow ordinary
|
||||
; SQL to deliberately corrupt the database file are disabled. This forbids
|
||||
; writing directly to the schema, shadow tables (eg. FTS data tables), or
|
||||
; the sqlite_dbpage virtual table.
|
||||
; https://www.sqlite.org/c3ref/c_dbconfig_defensive.html
|
||||
; (for older SQLite versions, this flag has no use)
|
||||
;sqlite3.defensive = 1
|
||||
|
||||
[Pcre]
|
||||
; PCRE library backtracking limit.
|
||||
; https://php.net/pcre.backtrack-limit
|
||||
;pcre.backtrack_limit=100000
|
||||
|
||||
; PCRE library recursion limit.
|
||||
; Please note that if you set this value to a high number you may consume all
|
||||
; the available process stack and eventually crash PHP (due to reaching the
|
||||
; stack size limit imposed by the Operating System).
|
||||
; https://php.net/pcre.recursion-limit
|
||||
;pcre.recursion_limit=100000
|
||||
|
||||
; Enables or disables JIT compilation of patterns. This requires the PCRE
|
||||
; library to be compiled with JIT support.
|
||||
;pcre.jit=1
|
||||
|
||||
[Pdo]
|
||||
; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
|
||||
; https://php.net/pdo-odbc.connection-pooling
|
||||
;pdo_odbc.connection_pooling=strict
|
||||
|
||||
[Pdo_mysql]
|
||||
; Default socket name for local MySQL connects. If empty, uses the built-in
|
||||
; MySQL defaults.
|
||||
pdo_mysql.default_socket=
|
||||
|
||||
[Phar]
|
||||
; https://php.net/phar.readonly
|
||||
;phar.readonly = On
|
||||
|
||||
; https://php.net/phar.require-hash
|
||||
;phar.require_hash = On
|
||||
|
||||
;phar.cache_list =
|
||||
|
||||
[mail function]
|
||||
; For Win32 only.
|
||||
; https://php.net/smtp
|
||||
SMTP = localhost
|
||||
; https://php.net/smtp-port
|
||||
smtp_port = 25
|
||||
|
||||
; For Win32 only.
|
||||
; https://php.net/sendmail-from
|
||||
;sendmail_from = me@example.com
|
||||
|
||||
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
|
||||
; https://php.net/sendmail-path
|
||||
;sendmail_path =
|
||||
|
||||
; Force the addition of the specified parameters to be passed as extra parameters
|
||||
; to the sendmail binary. These parameters will always replace the value of
|
||||
; the 5th parameter to mail().
|
||||
;mail.force_extra_parameters =
|
||||
|
||||
; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
|
||||
mail.add_x_header = Off
|
||||
|
||||
; Use mixed LF and CRLF line separators to keep compatibility with some
|
||||
; RFC 2822 non conformant MTA.
|
||||
mail.mixed_lf_and_crlf = Off
|
||||
|
||||
; The path to a log file that will log all mail() calls. Log entries include
|
||||
; the full path of the script, line number, To address and headers.
|
||||
;mail.log =
|
||||
; Log mail to syslog (Event Log on Windows).
|
||||
;mail.log = syslog
|
||||
|
||||
[ODBC]
|
||||
; https://php.net/odbc.default-db
|
||||
;odbc.default_db = Not yet implemented
|
||||
|
||||
; https://php.net/odbc.default-user
|
||||
;odbc.default_user = Not yet implemented
|
||||
|
||||
; https://php.net/odbc.default-pw
|
||||
;odbc.default_pw = Not yet implemented
|
||||
|
||||
; Controls the ODBC cursor model.
|
||||
; Default: SQL_CURSOR_STATIC (default).
|
||||
;odbc.default_cursortype
|
||||
|
||||
; Allow or prevent persistent links.
|
||||
; https://php.net/odbc.allow-persistent
|
||||
odbc.allow_persistent = On
|
||||
|
||||
; Check that a connection is still valid before reuse.
|
||||
; https://php.net/odbc.check-persistent
|
||||
odbc.check_persistent = On
|
||||
|
||||
; Maximum number of persistent links. -1 means no limit.
|
||||
; https://php.net/odbc.max-persistent
|
||||
odbc.max_persistent = -1
|
||||
|
||||
; Maximum number of links (persistent + non-persistent). -1 means no limit.
|
||||
; https://php.net/odbc.max-links
|
||||
odbc.max_links = -1
|
||||
|
||||
; Handling of LONG fields. Returns number of bytes to variables. 0 means
|
||||
; passthru.
|
||||
; https://php.net/odbc.defaultlrl
|
||||
odbc.defaultlrl = 4096
|
||||
|
||||
; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char.
|
||||
; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
|
||||
; of odbc.defaultlrl and odbc.defaultbinmode
|
||||
; https://php.net/odbc.defaultbinmode
|
||||
odbc.defaultbinmode = 1
|
||||
|
||||
[MySQLi]
|
||||
|
||||
; Maximum number of persistent links. -1 means no limit.
|
||||
; https://php.net/mysqli.max-persistent
|
||||
mysqli.max_persistent = -1
|
||||
|
||||
; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
|
||||
; https://php.net/mysqli.allow_local_infile
|
||||
;mysqli.allow_local_infile = On
|
||||
|
||||
; It allows the user to specify a folder where files that can be sent via LOAD DATA
|
||||
; LOCAL can exist. It is ignored if mysqli.allow_local_infile is enabled.
|
||||
;mysqli.local_infile_directory =
|
||||
|
||||
; Allow or prevent persistent links.
|
||||
; https://php.net/mysqli.allow-persistent
|
||||
mysqli.allow_persistent = On
|
||||
|
||||
; Maximum number of links. -1 means no limit.
|
||||
; https://php.net/mysqli.max-links
|
||||
mysqli.max_links = -1
|
||||
|
||||
; Default port number for mysqli_connect(). If unset, mysqli_connect() will use
|
||||
; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
|
||||
; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
|
||||
; at MYSQL_PORT.
|
||||
; https://php.net/mysqli.default-port
|
||||
mysqli.default_port = 3306
|
||||
|
||||
; Default socket name for local MySQL connects. If empty, uses the built-in
|
||||
; MySQL defaults.
|
||||
; https://php.net/mysqli.default-socket
|
||||
mysqli.default_socket =
|
||||
|
||||
; Default host for mysqli_connect() (doesn't apply in safe mode).
|
||||
; https://php.net/mysqli.default-host
|
||||
mysqli.default_host =
|
||||
|
||||
; Default user for mysqli_connect() (doesn't apply in safe mode).
|
||||
; https://php.net/mysqli.default-user
|
||||
mysqli.default_user =
|
||||
|
||||
; Default password for mysqli_connect() (doesn't apply in safe mode).
|
||||
; Note that this is generally a *bad* idea to store passwords in this file.
|
||||
; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
|
||||
; and reveal this password! And of course, any users with read access to this
|
||||
; file will be able to reveal the password as well.
|
||||
; https://php.net/mysqli.default-pw
|
||||
mysqli.default_pw =
|
||||
|
||||
; If this option is enabled, closing a persistent connection will rollback
|
||||
; any pending transactions of this connection, before it is put back
|
||||
; into the persistent connection pool.
|
||||
;mysqli.rollback_on_cached_plink = Off
|
||||
|
||||
[mysqlnd]
|
||||
; Enable / Disable collection of general statistics by mysqlnd which can be
|
||||
; used to tune and monitor MySQL operations.
|
||||
mysqlnd.collect_statistics = On
|
||||
|
||||
; Enable / Disable collection of memory usage statistics by mysqlnd which can be
|
||||
; used to tune and monitor MySQL operations.
|
||||
mysqlnd.collect_memory_statistics = On
|
||||
|
||||
; Records communication from all extensions using mysqlnd to the specified log
|
||||
; file.
|
||||
; https://php.net/mysqlnd.debug
|
||||
;mysqlnd.debug =
|
||||
|
||||
; Defines which queries will be logged.
|
||||
;mysqlnd.log_mask = 0
|
||||
|
||||
; Default size of the mysqlnd memory pool, which is used by result sets.
|
||||
;mysqlnd.mempool_default_size = 16000
|
||||
|
||||
; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
|
||||
;mysqlnd.net_cmd_buffer_size = 2048
|
||||
|
||||
; Size of a pre-allocated buffer used for reading data sent by the server in
|
||||
; bytes.
|
||||
;mysqlnd.net_read_buffer_size = 32768
|
||||
|
||||
; Timeout for network requests in seconds.
|
||||
;mysqlnd.net_read_timeout = 31536000
|
||||
|
||||
; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
|
||||
; key.
|
||||
;mysqlnd.sha256_server_public_key =
|
||||
|
||||
[OCI8]
|
||||
|
||||
; Connection: Enables privileged connections using external
|
||||
; credentials (OCI_SYSOPER, OCI_SYSDBA)
|
||||
; https://php.net/oci8.privileged-connect
|
||||
;oci8.privileged_connect = Off
|
||||
|
||||
; Connection: The maximum number of persistent OCI8 connections per
|
||||
; process. Using -1 means no limit.
|
||||
; https://php.net/oci8.max-persistent
|
||||
;oci8.max_persistent = -1
|
||||
|
||||
; Connection: The maximum number of seconds a process is allowed to
|
||||
; maintain an idle persistent connection. Using -1 means idle
|
||||
; persistent connections will be maintained forever.
|
||||
; https://php.net/oci8.persistent-timeout
|
||||
;oci8.persistent_timeout = -1
|
||||
|
||||
; Connection: The number of seconds that must pass before issuing a
|
||||
; ping during oci_pconnect() to check the connection validity. When
|
||||
; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
|
||||
; pings completely.
|
||||
; https://php.net/oci8.ping-interval
|
||||
;oci8.ping_interval = 60
|
||||
|
||||
; Connection: Set this to a user chosen connection class to be used
|
||||
; for all pooled server requests with Oracle Database Resident
|
||||
; Connection Pooling (DRCP). To use DRCP, this value should be set to
|
||||
; the same string for all web servers running the same application,
|
||||
; the database pool must be configured, and the connection string must
|
||||
; specify to use a pooled server.
|
||||
;oci8.connection_class =
|
||||
|
||||
; High Availability: Using On lets PHP receive Fast Application
|
||||
; Notification (FAN) events generated when a database node fails. The
|
||||
; database must also be configured to post FAN events.
|
||||
;oci8.events = Off
|
||||
|
||||
; Tuning: This option enables statement caching, and specifies how
|
||||
; many statements to cache. Using 0 disables statement caching.
|
||||
; https://php.net/oci8.statement-cache-size
|
||||
;oci8.statement_cache_size = 20
|
||||
|
||||
; Tuning: Enables row prefetching and sets the default number of
|
||||
; rows that will be fetched automatically after statement execution.
|
||||
; https://php.net/oci8.default-prefetch
|
||||
;oci8.default_prefetch = 100
|
||||
|
||||
; Tuning: Sets the amount of LOB data that is internally returned from
|
||||
; Oracle Database when an Oracle LOB locator is initially retrieved as
|
||||
; part of a query. Setting this can improve performance by reducing
|
||||
; round-trips.
|
||||
; https://php.net/oci8.prefetch-lob-size
|
||||
; oci8.prefetch_lob_size = 0
|
||||
|
||||
; Compatibility. Using On means oci_close() will not close
|
||||
; oci_connect() and oci_new_connect() connections.
|
||||
; https://php.net/oci8.old-oci-close-semantics
|
||||
;oci8.old_oci_close_semantics = Off
|
||||
|
||||
[PostgreSQL]
|
||||
; Allow or prevent persistent links.
|
||||
; https://php.net/pgsql.allow-persistent
|
||||
pgsql.allow_persistent = On
|
||||
|
||||
; Detect broken persistent links always with pg_pconnect().
|
||||
; Auto reset feature requires a little overheads.
|
||||
; https://php.net/pgsql.auto-reset-persistent
|
||||
pgsql.auto_reset_persistent = Off
|
||||
|
||||
; Maximum number of persistent links. -1 means no limit.
|
||||
; https://php.net/pgsql.max-persistent
|
||||
pgsql.max_persistent = -1
|
||||
|
||||
; Maximum number of links (persistent+non persistent). -1 means no limit.
|
||||
; https://php.net/pgsql.max-links
|
||||
pgsql.max_links = -1
|
||||
|
||||
; Ignore PostgreSQL backends Notice message or not.
|
||||
; Notice message logging require a little overheads.
|
||||
; https://php.net/pgsql.ignore-notice
|
||||
pgsql.ignore_notice = 0
|
||||
|
||||
; Log PostgreSQL backends Notice message or not.
|
||||
; Unless pgsql.ignore_notice=0, module cannot log notice message.
|
||||
; https://php.net/pgsql.log-notice
|
||||
pgsql.log_notice = 0
|
||||
|
||||
[bcmath]
|
||||
; Number of decimal digits for all bcmath functions.
|
||||
; https://php.net/bcmath.scale
|
||||
bcmath.scale = 0
|
||||
|
||||
[browscap]
|
||||
; https://php.net/browscap
|
||||
;browscap = extra/browscap.ini
|
||||
|
||||
[Session]
|
||||
; Handler used to store/retrieve data.
|
||||
; https://php.net/session.save-handler
|
||||
session.save_handler = files
|
||||
|
||||
; Argument passed to save_handler. In the case of files, this is the path
|
||||
; where data files are stored. Note: Windows users have to change this
|
||||
; variable in order to use PHP's session functions.
|
||||
;
|
||||
; The path can be defined as:
|
||||
;
|
||||
; session.save_path = "N;/path"
|
||||
;
|
||||
; where N is an integer. Instead of storing all the session files in
|
||||
; /path, what this will do is use subdirectories N-levels deep, and
|
||||
; store the session data in those directories. This is useful if
|
||||
; your OS has problems with many files in one directory, and is
|
||||
; a more efficient layout for servers that handle many sessions.
|
||||
;
|
||||
; NOTE 1: PHP will not create this directory structure automatically.
|
||||
; You can use the script in the ext/session dir for that purpose.
|
||||
; NOTE 2: See the section on garbage collection below if you choose to
|
||||
; use subdirectories for session storage
|
||||
;
|
||||
; The file storage module creates files using mode 600 by default.
|
||||
; You can change that by using
|
||||
;
|
||||
; session.save_path = "N;MODE;/path"
|
||||
;
|
||||
; where MODE is the octal representation of the mode. Note that this
|
||||
; does not overwrite the process's umask.
|
||||
; https://php.net/session.save-path
|
||||
;session.save_path = "/tmp"
|
||||
|
||||
; Whether to use strict session mode.
|
||||
; Strict session mode does not accept an uninitialized session ID, and
|
||||
; regenerates the session ID if the browser sends an uninitialized session ID.
|
||||
; Strict mode protects applications from session fixation via a session adoption
|
||||
; vulnerability. It is disabled by default for maximum compatibility, but
|
||||
; enabling it is encouraged.
|
||||
; https://wiki.php.net/rfc/strict_sessions
|
||||
session.use_strict_mode = 0
|
||||
|
||||
; Whether to use cookies.
|
||||
; https://php.net/session.use-cookies
|
||||
session.use_cookies = 1
|
||||
|
||||
; https://php.net/session.cookie-secure
|
||||
;session.cookie_secure =
|
||||
|
||||
; This option forces PHP to fetch and use a cookie for storing and maintaining
|
||||
; the session id. We encourage this operation as it's very helpful in combating
|
||||
; session hijacking when not specifying and managing your own session id. It is
|
||||
; not the be-all and end-all of session hijacking defense, but it's a good start.
|
||||
; https://php.net/session.use-only-cookies
|
||||
session.use_only_cookies = 1
|
||||
|
||||
; Name of the session (used as cookie name).
|
||||
; https://php.net/session.name
|
||||
session.name = PHPSESSID
|
||||
|
||||
; Initialize session on request startup.
|
||||
; https://php.net/session.auto-start
|
||||
session.auto_start = 0
|
||||
|
||||
; Lifetime in seconds of cookie or, if 0, until browser is restarted.
|
||||
; https://php.net/session.cookie-lifetime
|
||||
session.cookie_lifetime = 0
|
||||
|
||||
; The path for which the cookie is valid.
|
||||
; https://php.net/session.cookie-path
|
||||
session.cookie_path = /
|
||||
|
||||
; The domain for which the cookie is valid.
|
||||
; https://php.net/session.cookie-domain
|
||||
session.cookie_domain =
|
||||
|
||||
; Whether or not to add the httpOnly flag to the cookie, which makes it
|
||||
; inaccessible to browser scripting languages such as JavaScript.
|
||||
; https://php.net/session.cookie-httponly
|
||||
session.cookie_httponly =
|
||||
|
||||
; Add SameSite attribute to cookie to help mitigate Cross-Site Request Forgery (CSRF/XSRF)
|
||||
; Current valid values are "Strict", "Lax" or "None". When using "None",
|
||||
; make sure to include the quotes, as `none` is interpreted like `false` in ini files.
|
||||
; https://tools.ietf.org/html/draft-west-first-party-cookies-07
|
||||
session.cookie_samesite =
|
||||
|
||||
; Handler used to serialize data. php is the standard serializer of PHP.
|
||||
; https://php.net/session.serialize-handler
|
||||
session.serialize_handler = php
|
||||
|
||||
; Defines the probability that the 'garbage collection' process is started on every
|
||||
; session initialization. The probability is calculated by using gc_probability/gc_divisor,
|
||||
; e.g. 1/100 means there is a 1% chance that the GC process starts on each request.
|
||||
; Default Value: 1
|
||||
; Development Value: 1
|
||||
; Production Value: 1
|
||||
; https://php.net/session.gc-probability
|
||||
session.gc_probability = 1
|
||||
|
||||
; Defines the probability that the 'garbage collection' process is started on every
|
||||
; session initialization. The probability is calculated by using gc_probability/gc_divisor,
|
||||
; e.g. 1/100 means there is a 1% chance that the GC process starts on each request.
|
||||
; For high volume production servers, using a value of 1000 is a more efficient approach.
|
||||
; Default Value: 100
|
||||
; Development Value: 1000
|
||||
; Production Value: 1000
|
||||
; https://php.net/session.gc-divisor
|
||||
session.gc_divisor = 1000
|
||||
|
||||
; After this number of seconds, stored data will be seen as 'garbage' and
|
||||
; cleaned up by the garbage collection process.
|
||||
; https://php.net/session.gc-maxlifetime
|
||||
session.gc_maxlifetime = 1440
|
||||
|
||||
; NOTE: If you are using the subdirectory option for storing session files
|
||||
; (see session.save_path above), then garbage collection does *not*
|
||||
; happen automatically. You will need to do your own garbage
|
||||
; collection through a shell script, cron entry, or some other method.
|
||||
; For example, the following script is the equivalent of setting
|
||||
; session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
|
||||
; find /path/to/sessions -cmin +24 -type f | xargs rm
|
||||
|
||||
; Check HTTP Referer to invalidate externally stored URLs containing ids.
|
||||
; HTTP_REFERER has to contain this substring for the session to be
|
||||
; considered as valid.
|
||||
; https://php.net/session.referer-check
|
||||
session.referer_check =
|
||||
|
||||
; Set to {nocache,private,public,} to determine HTTP caching aspects
|
||||
; or leave this empty to avoid sending anti-caching headers.
|
||||
; https://php.net/session.cache-limiter
|
||||
session.cache_limiter = nocache
|
||||
|
||||
; Document expires after n minutes.
|
||||
; https://php.net/session.cache-expire
|
||||
session.cache_expire = 180
|
||||
|
||||
; trans sid support is disabled by default.
|
||||
; Use of trans sid may risk your users' security.
|
||||
; Use this option with caution.
|
||||
; - User may send URL contains active session ID
|
||||
; to other person via. email/irc/etc.
|
||||
; - URL that contains active session ID may be stored
|
||||
; in publicly accessible computer.
|
||||
; - User may access your site with the same session ID
|
||||
; always using URL stored in browser's history or bookmarks.
|
||||
; https://php.net/session.use-trans-sid
|
||||
session.use_trans_sid = 0
|
||||
|
||||
; Set session ID character length. This value could be between 22 to 256.
|
||||
; Shorter length than default is supported only for compatibility reason.
|
||||
; Users should use 32 or more chars.
|
||||
; https://php.net/session.sid-length
|
||||
; Default Value: 32
|
||||
; Development Value: 26
|
||||
; Production Value: 26
|
||||
session.sid_length = 26
|
||||
|
||||
; The URL rewriter will look for URLs in a defined set of HTML tags.
|
||||
; <form> is special; if you include them here, the rewriter will
|
||||
; add a hidden <input> field with the info which is otherwise appended
|
||||
; to URLs. <form> tag's action attribute URL will not be modified
|
||||
; unless it is specified.
|
||||
; Note that all valid entries require a "=", even if no value follows.
|
||||
; Default Value: "a=href,area=href,frame=src,form="
|
||||
; Development Value: "a=href,area=href,frame=src,form="
|
||||
; Production Value: "a=href,area=href,frame=src,form="
|
||||
; https://php.net/url-rewriter.tags
|
||||
session.trans_sid_tags = "a=href,area=href,frame=src,form="
|
||||
|
||||
; URL rewriter does not rewrite absolute URLs by default.
|
||||
; To enable rewrites for absolute paths, target hosts must be specified
|
||||
; at RUNTIME. i.e. use ini_set()
|
||||
; <form> tags is special. PHP will check action attribute's URL regardless
|
||||
; of session.trans_sid_tags setting.
|
||||
; If no host is defined, HTTP_HOST will be used for allowed host.
|
||||
; Example value: php.net,www.php.net,wiki.php.net
|
||||
; Use "," for multiple hosts. No spaces are allowed.
|
||||
; Default Value: ""
|
||||
; Development Value: ""
|
||||
; Production Value: ""
|
||||
;session.trans_sid_hosts=""
|
||||
|
||||
; Define how many bits are stored in each character when converting
|
||||
; the binary hash data to something readable.
|
||||
; Possible values:
|
||||
; 4 (4 bits: 0-9, a-f)
|
||||
; 5 (5 bits: 0-9, a-v)
|
||||
; 6 (6 bits: 0-9, a-z, A-Z, "-", ",")
|
||||
; Default Value: 4
|
||||
; Development Value: 5
|
||||
; Production Value: 5
|
||||
; https://php.net/session.hash-bits-per-character
|
||||
session.sid_bits_per_character = 5
|
||||
|
||||
; Enable upload progress tracking in $_SESSION
|
||||
; Default Value: On
|
||||
; Development Value: On
|
||||
; Production Value: On
|
||||
; https://php.net/session.upload-progress.enabled
|
||||
;session.upload_progress.enabled = On
|
||||
|
||||
; Cleanup the progress information as soon as all POST data has been read
|
||||
; (i.e. upload completed).
|
||||
; Default Value: On
|
||||
; Development Value: On
|
||||
; Production Value: On
|
||||
; https://php.net/session.upload-progress.cleanup
|
||||
;session.upload_progress.cleanup = On
|
||||
|
||||
; A prefix used for the upload progress key in $_SESSION
|
||||
; Default Value: "upload_progress_"
|
||||
; Development Value: "upload_progress_"
|
||||
; Production Value: "upload_progress_"
|
||||
; https://php.net/session.upload-progress.prefix
|
||||
;session.upload_progress.prefix = "upload_progress_"
|
||||
|
||||
; The index name (concatenated with the prefix) in $_SESSION
|
||||
; containing the upload progress information
|
||||
; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
|
||||
; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
|
||||
; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
|
||||
; https://php.net/session.upload-progress.name
|
||||
;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
|
||||
|
||||
; How frequently the upload progress should be updated.
|
||||
; Given either in percentages (per-file), or in bytes
|
||||
; Default Value: "1%"
|
||||
; Development Value: "1%"
|
||||
; Production Value: "1%"
|
||||
; https://php.net/session.upload-progress.freq
|
||||
;session.upload_progress.freq = "1%"
|
||||
|
||||
; The minimum delay between updates, in seconds
|
||||
; Default Value: 1
|
||||
; Development Value: 1
|
||||
; Production Value: 1
|
||||
; https://php.net/session.upload-progress.min-freq
|
||||
;session.upload_progress.min_freq = "1"
|
||||
|
||||
; Only write session data when session data is changed. Enabled by default.
|
||||
; https://php.net/session.lazy-write
|
||||
;session.lazy_write = On
|
||||
|
||||
[Assertion]
|
||||
; Switch whether to compile assertions at all (to have no overhead at run-time)
|
||||
; -1: Do not compile at all
|
||||
; 0: Jump over assertion at run-time
|
||||
; 1: Execute assertions
|
||||
; Changing from or to a negative value is only possible in php.ini!
|
||||
; (For turning assertions on and off at run-time, toggle zend.assertions between the values 1 and 0)
|
||||
; Default Value: 1
|
||||
; Development Value: 1
|
||||
; Production Value: -1
|
||||
; https://php.net/zend.assertions
|
||||
zend.assertions = 1
|
||||
|
||||
[COM]
|
||||
; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
|
||||
; https://php.net/com.typelib-file
|
||||
;com.typelib_file =
|
||||
|
||||
; allow Distributed-COM calls
|
||||
; https://php.net/com.allow-dcom
|
||||
;com.allow_dcom = true
|
||||
|
||||
; autoregister constants of a component's typelib on com_load()
|
||||
; https://php.net/com.autoregister-typelib
|
||||
;com.autoregister_typelib = true
|
||||
|
||||
; register constants casesensitive
|
||||
; https://php.net/com.autoregister-casesensitive
|
||||
;com.autoregister_casesensitive = false
|
||||
|
||||
; show warnings on duplicate constant registrations
|
||||
; https://php.net/com.autoregister-verbose
|
||||
;com.autoregister_verbose = true
|
||||
|
||||
; The default character set code-page to use when passing strings to and from COM objects.
|
||||
; Default: system ANSI code page
|
||||
;com.code_page=
|
||||
|
||||
; The version of the .NET framework to use. The value of the setting are the first three parts
|
||||
; of the framework's version number, separated by dots, and prefixed with "v", e.g. "v4.0.30319".
|
||||
;com.dotnet_version=
|
||||
|
||||
[mbstring]
|
||||
; language for internal character representation.
|
||||
; This affects mb_send_mail() and mbstring.detect_order.
|
||||
; https://php.net/mbstring.language
|
||||
;mbstring.language = Japanese
|
||||
|
||||
; Use of this INI entry is deprecated, use global internal_encoding instead.
|
||||
; internal/script encoding.
|
||||
; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
|
||||
; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
|
||||
; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
|
||||
;mbstring.internal_encoding =
|
||||
|
||||
; Use of this INI entry is deprecated, use global input_encoding instead.
|
||||
; http input encoding.
|
||||
; mbstring.encoding_translation = On is needed to use this setting.
|
||||
; If empty, default_charset or input_encoding or mbstring.input is used.
|
||||
; The precedence is: default_charset < input_encoding < mbstring.http_input
|
||||
; https://php.net/mbstring.http-input
|
||||
;mbstring.http_input =
|
||||
|
||||
; Use of this INI entry is deprecated, use global output_encoding instead.
|
||||
; http output encoding.
|
||||
; mb_output_handler must be registered as output buffer to function.
|
||||
; If empty, default_charset or output_encoding or mbstring.http_output is used.
|
||||
; The precedence is: default_charset < output_encoding < mbstring.http_output
|
||||
; To use an output encoding conversion, mbstring's output handler must be set
|
||||
; otherwise output encoding conversion cannot be performed.
|
||||
; https://php.net/mbstring.http-output
|
||||
;mbstring.http_output =
|
||||
|
||||
; enable automatic encoding translation according to
|
||||
; mbstring.internal_encoding setting. Input chars are
|
||||
; converted to internal encoding by setting this to On.
|
||||
; Note: Do _not_ use automatic encoding translation for
|
||||
; portable libs/applications.
|
||||
; https://php.net/mbstring.encoding-translation
|
||||
;mbstring.encoding_translation = Off
|
||||
|
||||
; automatic encoding detection order.
|
||||
; "auto" detect order is changed according to mbstring.language
|
||||
; https://php.net/mbstring.detect-order
|
||||
;mbstring.detect_order = auto
|
||||
|
||||
; substitute_character used when character cannot be converted
|
||||
; one from another
|
||||
; https://php.net/mbstring.substitute-character
|
||||
;mbstring.substitute_character = none
|
||||
|
||||
; Enable strict encoding detection.
|
||||
;mbstring.strict_detection = Off
|
||||
|
||||
; This directive specifies the regex pattern of content types for which mb_output_handler()
|
||||
; is activated.
|
||||
; Default: mbstring.http_output_conv_mimetypes=^(text/|application/xhtml\+xml)
|
||||
;mbstring.http_output_conv_mimetypes=
|
||||
|
||||
; This directive specifies maximum stack depth for mbstring regular expressions. It is similar
|
||||
; to the pcre.recursion_limit for PCRE.
|
||||
;mbstring.regex_stack_limit=100000
|
||||
|
||||
; This directive specifies maximum retry count for mbstring regular expressions. It is similar
|
||||
; to the pcre.backtrack_limit for PCRE.
|
||||
;mbstring.regex_retry_limit=1000000
|
||||
|
||||
[gd]
|
||||
; Tell the jpeg decode to ignore warnings and try to create
|
||||
; a gd image. The warning will then be displayed as notices
|
||||
; disabled by default
|
||||
; https://php.net/gd.jpeg-ignore-warning
|
||||
;gd.jpeg_ignore_warning = 1
|
||||
|
||||
[exif]
|
||||
; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
|
||||
; With mbstring support this will automatically be converted into the encoding
|
||||
; given by corresponding encode setting. When empty mbstring.internal_encoding
|
||||
; is used. For the decode settings you can distinguish between motorola and
|
||||
; intel byte order. A decode setting cannot be empty.
|
||||
; https://php.net/exif.encode-unicode
|
||||
;exif.encode_unicode = ISO-8859-15
|
||||
|
||||
; https://php.net/exif.decode-unicode-motorola
|
||||
;exif.decode_unicode_motorola = UCS-2BE
|
||||
|
||||
; https://php.net/exif.decode-unicode-intel
|
||||
;exif.decode_unicode_intel = UCS-2LE
|
||||
|
||||
; https://php.net/exif.encode-jis
|
||||
;exif.encode_jis =
|
||||
|
||||
; https://php.net/exif.decode-jis-motorola
|
||||
;exif.decode_jis_motorola = JIS
|
||||
|
||||
; https://php.net/exif.decode-jis-intel
|
||||
;exif.decode_jis_intel = JIS
|
||||
|
||||
[Tidy]
|
||||
; The path to a default tidy configuration file to use when using tidy
|
||||
; https://php.net/tidy.default-config
|
||||
;tidy.default_config = /usr/local/lib/php/default.tcfg
|
||||
|
||||
; Should tidy clean and repair output automatically?
|
||||
; WARNING: Do not use this option if you are generating non-html content
|
||||
; such as dynamic images
|
||||
; https://php.net/tidy.clean-output
|
||||
tidy.clean_output = Off
|
||||
|
||||
[soap]
|
||||
; Enables or disables WSDL caching feature.
|
||||
; https://php.net/soap.wsdl-cache-enabled
|
||||
soap.wsdl_cache_enabled=1
|
||||
|
||||
; Sets the directory name where SOAP extension will put cache files.
|
||||
; https://php.net/soap.wsdl-cache-dir
|
||||
soap.wsdl_cache_dir="/tmp"
|
||||
|
||||
; (time to live) Sets the number of second while cached file will be used
|
||||
; instead of original one.
|
||||
; https://php.net/soap.wsdl-cache-ttl
|
||||
soap.wsdl_cache_ttl=86400
|
||||
|
||||
; Sets the size of the cache limit. (Max. number of WSDL files to cache)
|
||||
soap.wsdl_cache_limit = 5
|
||||
|
||||
[sysvshm]
|
||||
; A default size of the shared memory segment
|
||||
;sysvshm.init_mem = 10000
|
||||
|
||||
[ldap]
|
||||
; Sets the maximum number of open links or -1 for unlimited.
|
||||
ldap.max_links = -1
|
||||
|
||||
[dba]
|
||||
;dba.default_handler=
|
||||
|
||||
[opcache]
|
||||
; Determines if Zend OPCache is enabled
|
||||
;opcache.enable=1
|
||||
|
||||
; Determines if Zend OPCache is enabled for the CLI version of PHP
|
||||
;opcache.enable_cli=0
|
||||
|
||||
; The OPcache shared memory storage size.
|
||||
;opcache.memory_consumption=128
|
||||
|
||||
; The amount of memory for interned strings in Mbytes.
|
||||
;opcache.interned_strings_buffer=8
|
||||
|
||||
; The maximum number of keys (scripts) in the OPcache hash table.
|
||||
; Only numbers between 200 and 1000000 are allowed.
|
||||
;opcache.max_accelerated_files=10000
|
||||
|
||||
; The maximum percentage of "wasted" memory until a restart is scheduled.
|
||||
;opcache.max_wasted_percentage=5
|
||||
|
||||
; When this directive is enabled, the OPcache appends the current working
|
||||
; directory to the script key, thus eliminating possible collisions between
|
||||
; files with the same name (basename). Disabling the directive improves
|
||||
; performance, but may break existing applications.
|
||||
;opcache.use_cwd=1
|
||||
|
||||
; When disabled, you must reset the OPcache manually or restart the
|
||||
; webserver for changes to the filesystem to take effect.
|
||||
;opcache.validate_timestamps=1
|
||||
|
||||
; How often (in seconds) to check file timestamps for changes to the shared
|
||||
; memory storage allocation. ("1" means validate once per second, but only
|
||||
; once per request. "0" means always validate)
|
||||
;opcache.revalidate_freq=2
|
||||
|
||||
; Enables or disables file search in include_path optimization
|
||||
;opcache.revalidate_path=0
|
||||
|
||||
; If disabled, all PHPDoc comments are dropped from the code to reduce the
|
||||
; size of the optimized code.
|
||||
;opcache.save_comments=1
|
||||
|
||||
; If enabled, compilation warnings (including notices and deprecations) will
|
||||
; be recorded and replayed each time a file is included. Otherwise, compilation
|
||||
; warnings will only be emitted when the file is first cached.
|
||||
;opcache.record_warnings=0
|
||||
|
||||
; Allow file existence override (file_exists, etc.) performance feature.
|
||||
;opcache.enable_file_override=0
|
||||
|
||||
; A bitmask, where each bit enables or disables the appropriate OPcache
|
||||
; passes
|
||||
;opcache.optimization_level=0x7FFFBFFF
|
||||
|
||||
;opcache.dups_fix=0
|
||||
|
||||
; The location of the OPcache blacklist file (wildcards allowed).
|
||||
; Each OPcache blacklist file is a text file that holds the names of files
|
||||
; that should not be accelerated. The file format is to add each filename
|
||||
; to a new line. The filename may be a full path or just a file prefix
|
||||
; (i.e., /var/www/x blacklists all the files and directories in /var/www
|
||||
; that start with 'x'). Line starting with a ; are ignored (comments).
|
||||
;opcache.blacklist_filename=
|
||||
|
||||
; Allows exclusion of large files from being cached. By default all files
|
||||
; are cached.
|
||||
;opcache.max_file_size=0
|
||||
|
||||
; How long to wait (in seconds) for a scheduled restart to begin if the cache
|
||||
; is not being accessed.
|
||||
;opcache.force_restart_timeout=180
|
||||
|
||||
; OPcache error_log file name. Empty string assumes "stderr".
|
||||
;opcache.error_log=
|
||||
|
||||
; All OPcache errors go to the Web server log.
|
||||
; By default, only fatal errors (level 0) or errors (level 1) are logged.
|
||||
; You can also enable warnings (level 2), info messages (level 3) or
|
||||
; debug messages (level 4).
|
||||
;opcache.log_verbosity_level=1
|
||||
|
||||
; Preferred Shared Memory back-end. Leave empty and let the system decide.
|
||||
;opcache.preferred_memory_model=
|
||||
|
||||
; Protect the shared memory from unexpected writing during script execution.
|
||||
; Useful for internal debugging only.
|
||||
;opcache.protect_memory=0
|
||||
|
||||
; Allows calling OPcache API functions only from PHP scripts which path is
|
||||
; started from specified string. The default "" means no restriction
|
||||
;opcache.restrict_api=
|
||||
|
||||
; Mapping base of shared memory segments (for Windows only). All the PHP
|
||||
; processes have to map shared memory into the same address space. This
|
||||
; directive allows to manually fix the "Unable to reattach to base address"
|
||||
; errors.
|
||||
;opcache.mmap_base=
|
||||
|
||||
; Facilitates multiple OPcache instances per user (for Windows only). All PHP
|
||||
; processes with the same cache ID and user share an OPcache instance.
|
||||
;opcache.cache_id=
|
||||
|
||||
; Enables and sets the second level cache directory.
|
||||
; It should improve performance when SHM memory is full, at server restart or
|
||||
; SHM reset. The default "" disables file based caching.
|
||||
;opcache.file_cache=
|
||||
|
||||
; Enables or disables opcode caching in shared memory.
|
||||
;opcache.file_cache_only=0
|
||||
|
||||
; Enables or disables checksum validation when script loaded from file cache.
|
||||
;opcache.file_cache_consistency_checks=1
|
||||
|
||||
; Implies opcache.file_cache_only=1 for a certain process that failed to
|
||||
; reattach to the shared memory (for Windows only). Explicitly enabled file
|
||||
; cache is required.
|
||||
;opcache.file_cache_fallback=1
|
||||
|
||||
; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
|
||||
; Under certain circumstances (if only a single global PHP process is
|
||||
; started from which all others fork), this can increase performance
|
||||
; by a tiny amount because TLB misses are reduced. On the other hand, this
|
||||
; delays PHP startup, increases memory usage and degrades performance
|
||||
; under memory pressure - use with care.
|
||||
; Requires appropriate OS configuration.
|
||||
;opcache.huge_code_pages=0
|
||||
|
||||
; Validate cached file permissions.
|
||||
;opcache.validate_permission=0
|
||||
|
||||
; Prevent name collisions in chroot'ed environment.
|
||||
;opcache.validate_root=0
|
||||
|
||||
; If specified, it produces opcode dumps for debugging different stages of
|
||||
; optimizations.
|
||||
;opcache.opt_debug_level=0
|
||||
|
||||
; Specifies a PHP script that is going to be compiled and executed at server
|
||||
; start-up.
|
||||
; https://php.net/opcache.preload
|
||||
;opcache.preload=
|
||||
|
||||
; Preloading code as root is not allowed for security reasons. This directive
|
||||
; facilitates to let the preloading to be run as another user.
|
||||
; https://php.net/opcache.preload_user
|
||||
;opcache.preload_user=
|
||||
|
||||
; Prevents caching files that are less than this number of seconds old. It
|
||||
; protects from caching of incompletely updated files. In case all file updates
|
||||
; on your site are atomic, you may increase performance by setting it to "0".
|
||||
;opcache.file_update_protection=2
|
||||
|
||||
; Absolute path used to store shared lockfiles (for *nix only).
|
||||
;opcache.lockfile_path=/tmp
|
||||
|
||||
[curl]
|
||||
; A default value for the CURLOPT_CAINFO option. This is required to be an
|
||||
; absolute path.
|
||||
;curl.cainfo =
|
||||
|
||||
[openssl]
|
||||
; The location of a Certificate Authority (CA) file on the local filesystem
|
||||
; to use when verifying the identity of SSL/TLS peers. Most users should
|
||||
; not specify a value for this directive as PHP will attempt to use the
|
||||
; OS-managed cert stores in its absence. If specified, this value may still
|
||||
; be overridden on a per-stream basis via the "cafile" SSL stream context
|
||||
; option.
|
||||
;openssl.cafile=
|
||||
|
||||
; If openssl.cafile is not specified or if the CA file is not found, the
|
||||
; directory pointed to by openssl.capath is searched for a suitable
|
||||
; certificate. This value must be a correctly hashed certificate directory.
|
||||
; Most users should not specify a value for this directive as PHP will
|
||||
; attempt to use the OS-managed cert stores in its absence. If specified,
|
||||
; this value may still be overridden on a per-stream basis via the "capath"
|
||||
; SSL stream context option.
|
||||
;openssl.capath=
|
||||
|
||||
[ffi]
|
||||
; FFI API restriction. Possible values:
|
||||
; "preload" - enabled in CLI scripts and preloaded files (default)
|
||||
; "false" - always disabled
|
||||
; "true" - always enabled
|
||||
;ffi.enable=preload
|
||||
|
||||
; List of headers files to preload, wildcard patterns allowed.
|
||||
;ffi.preload=
|
||||
@@ -0,0 +1,1961 @@
|
||||
[PHP]
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;
|
||||
; About php.ini ;
|
||||
;;;;;;;;;;;;;;;;;;;
|
||||
; PHP's initialization file, generally called php.ini, is responsible for
|
||||
; configuring many of the aspects of PHP's behavior.
|
||||
|
||||
; PHP attempts to find and load this configuration from a number of locations.
|
||||
; The following is a summary of its search order:
|
||||
; 1. SAPI module specific location.
|
||||
; 2. The PHPRC environment variable.
|
||||
; 3. A number of predefined registry keys on Windows
|
||||
; 4. Current working directory (except CLI)
|
||||
; 5. The web server's directory (for SAPI modules), or directory of PHP
|
||||
; (otherwise in Windows)
|
||||
; 6. The directory from the --with-config-file-path compile time option, or the
|
||||
; Windows directory (usually C:\windows)
|
||||
; See the PHP docs for more specific information.
|
||||
; https://php.net/configuration.file
|
||||
|
||||
; The syntax of the file is extremely simple. Whitespace and lines
|
||||
; beginning with a semicolon are silently ignored (as you probably guessed).
|
||||
; Section headers (e.g. [Foo]) are also silently ignored, even though
|
||||
; they might mean something in the future.
|
||||
|
||||
; Directives following the section heading [PATH=/www/mysite] only
|
||||
; apply to PHP files in the /www/mysite directory. Directives
|
||||
; following the section heading [HOST=www.example.com] only apply to
|
||||
; PHP files served from www.example.com. Directives set in these
|
||||
; special sections cannot be overridden by user-defined INI files or
|
||||
; at runtime. Currently, [PATH=] and [HOST=] sections only work under
|
||||
; CGI/FastCGI.
|
||||
; https://php.net/ini.sections
|
||||
|
||||
; Directives are specified using the following syntax:
|
||||
; directive = value
|
||||
; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
|
||||
; Directives are variables used to configure PHP or PHP extensions.
|
||||
; There is no name validation. If PHP can't find an expected
|
||||
; directive because it is not set or is mistyped, a default value will be used.
|
||||
|
||||
; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
|
||||
; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
|
||||
; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
|
||||
; previously set variable or directive (e.g. ${foo})
|
||||
|
||||
; Expressions in the INI file are limited to bitwise operators and parentheses:
|
||||
; | bitwise OR
|
||||
; ^ bitwise XOR
|
||||
; & bitwise AND
|
||||
; ~ bitwise NOT
|
||||
; ! boolean NOT
|
||||
|
||||
; Boolean flags can be turned on using the values 1, On, True or Yes.
|
||||
; They can be turned off using the values 0, Off, False or No.
|
||||
|
||||
; An empty string can be denoted by simply not writing anything after the equal
|
||||
; sign, or by using the None keyword:
|
||||
|
||||
; foo = ; sets foo to an empty string
|
||||
; foo = None ; sets foo to an empty string
|
||||
; foo = "None" ; sets foo to the string 'None'
|
||||
|
||||
; If you use constants in your value, and these constants belong to a
|
||||
; dynamically loaded extension (either a PHP extension or a Zend extension),
|
||||
; you may only use these constants *after* the line that loads the extension.
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;
|
||||
; About this file ;
|
||||
;;;;;;;;;;;;;;;;;;;
|
||||
; PHP comes packaged with two INI files. One that is recommended to be used
|
||||
; in production environments and one that is recommended to be used in
|
||||
; development environments.
|
||||
|
||||
; php.ini-production contains settings which hold security, performance and
|
||||
; best practices at its core. But please be aware, these settings may break
|
||||
; compatibility with older or less security-conscious applications. We
|
||||
; recommending using the production ini in production and testing environments.
|
||||
|
||||
; php.ini-development is very similar to its production variant, except it is
|
||||
; much more verbose when it comes to errors. We recommend using the
|
||||
; development version only in development environments, as errors shown to
|
||||
; application users can inadvertently leak otherwise secure information.
|
||||
|
||||
; This is the php.ini-production INI file.
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;
|
||||
; Quick Reference ;
|
||||
;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
; The following are all the settings which are different in either the production
|
||||
; or development versions of the INIs with respect to PHP's default behavior.
|
||||
; Please see the actual settings later in the document for more details as to why
|
||||
; we recommend these changes in PHP's behavior.
|
||||
|
||||
; display_errors
|
||||
; Default Value: On
|
||||
; Development Value: On
|
||||
; Production Value: Off
|
||||
|
||||
; display_startup_errors
|
||||
; Default Value: On
|
||||
; Development Value: On
|
||||
; Production Value: Off
|
||||
|
||||
; error_reporting
|
||||
; Default Value: E_ALL
|
||||
; Development Value: E_ALL
|
||||
; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
|
||||
|
||||
; log_errors
|
||||
; Default Value: Off
|
||||
; Development Value: On
|
||||
; Production Value: On
|
||||
|
||||
; max_input_time
|
||||
; Default Value: -1 (Unlimited)
|
||||
; Development Value: 60 (60 seconds)
|
||||
; Production Value: 60 (60 seconds)
|
||||
|
||||
; output_buffering
|
||||
; Default Value: Off
|
||||
; Development Value: 4096
|
||||
; Production Value: 4096
|
||||
|
||||
; register_argc_argv
|
||||
; Default Value: On
|
||||
; Development Value: Off
|
||||
; Production Value: Off
|
||||
|
||||
; request_order
|
||||
; Default Value: None
|
||||
; Development Value: "GP"
|
||||
; Production Value: "GP"
|
||||
|
||||
; session.gc_divisor
|
||||
; Default Value: 100
|
||||
; Development Value: 1000
|
||||
; Production Value: 1000
|
||||
|
||||
; session.sid_bits_per_character
|
||||
; Default Value: 4
|
||||
; Development Value: 5
|
||||
; Production Value: 5
|
||||
|
||||
; session.sid_length
|
||||
; Default Value: 32
|
||||
; Development Value: 26
|
||||
; Production Value: 26
|
||||
|
||||
; short_open_tag
|
||||
; Default Value: On
|
||||
; Development Value: Off
|
||||
; Production Value: Off
|
||||
|
||||
; variables_order
|
||||
; Default Value: "EGPCS"
|
||||
; Development Value: "GPCS"
|
||||
; Production Value: "GPCS"
|
||||
|
||||
; zend.assertions
|
||||
; Default Value: 1
|
||||
; Development Value: 1
|
||||
; Production Value: -1
|
||||
|
||||
; zend.exception_ignore_args
|
||||
; Default Value: Off
|
||||
; Development Value: Off
|
||||
; Production Value: On
|
||||
|
||||
; zend.exception_string_param_max_len
|
||||
; Default Value: 15
|
||||
; Development Value: 15
|
||||
; Production Value: 0
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;
|
||||
; php.ini Options ;
|
||||
;;;;;;;;;;;;;;;;;;;;
|
||||
; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
|
||||
;user_ini.filename = ".user.ini"
|
||||
|
||||
; To disable this feature set this option to an empty value
|
||||
;user_ini.filename =
|
||||
|
||||
; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
|
||||
;user_ini.cache_ttl = 300
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;
|
||||
; Language Options ;
|
||||
;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
; Enable the PHP scripting language engine under Apache.
|
||||
; https://php.net/engine
|
||||
engine = On
|
||||
|
||||
; This directive determines whether or not PHP will recognize code between
|
||||
; <? and ?> tags as PHP source which should be processed as such. It is
|
||||
; generally recommended that <?php and ?> should be used and that this feature
|
||||
; should be disabled, as enabling it may result in issues when generating XML
|
||||
; documents, however this remains supported for backward compatibility reasons.
|
||||
; Note that this directive does not control the <?= shorthand tag, which can be
|
||||
; used regardless of this directive.
|
||||
; Default Value: On
|
||||
; Development Value: Off
|
||||
; Production Value: Off
|
||||
; https://php.net/short-open-tag
|
||||
short_open_tag = Off
|
||||
|
||||
; The number of significant digits displayed in floating point numbers.
|
||||
; https://php.net/precision
|
||||
precision = 14
|
||||
|
||||
; Output buffering is a mechanism for controlling how much output data
|
||||
; (excluding headers and cookies) PHP should keep internally before pushing that
|
||||
; data to the client. If your application's output exceeds this setting, PHP
|
||||
; will send that data in chunks of roughly the size you specify.
|
||||
; Turning on this setting and managing its maximum buffer size can yield some
|
||||
; interesting side-effects depending on your application and web server.
|
||||
; You may be able to send headers and cookies after you've already sent output
|
||||
; through print or echo. You also may see performance benefits if your server is
|
||||
; emitting less packets due to buffered output versus PHP streaming the output
|
||||
; as it gets it. On production servers, 4096 bytes is a good setting for performance
|
||||
; reasons.
|
||||
; Note: Output buffering can also be controlled via Output Buffering Control
|
||||
; functions.
|
||||
; Possible Values:
|
||||
; On = Enabled and buffer is unlimited. (Use with caution)
|
||||
; Off = Disabled
|
||||
; Integer = Enables the buffer and sets its maximum size in bytes.
|
||||
; Note: This directive is hardcoded to Off for the CLI SAPI
|
||||
; Default Value: Off
|
||||
; Development Value: 4096
|
||||
; Production Value: 4096
|
||||
; https://php.net/output-buffering
|
||||
output_buffering = 4096
|
||||
|
||||
; You can redirect all of the output of your scripts to a function. For
|
||||
; example, if you set output_handler to "mb_output_handler", character
|
||||
; encoding will be transparently converted to the specified encoding.
|
||||
; Setting any output handler automatically turns on output buffering.
|
||||
; Note: People who wrote portable scripts should not depend on this ini
|
||||
; directive. Instead, explicitly set the output handler using ob_start().
|
||||
; Using this ini directive may cause problems unless you know what script
|
||||
; is doing.
|
||||
; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
|
||||
; and you cannot use both "ob_gzhandler" and "zlib.output_compression".
|
||||
; Note: output_handler must be empty if this is set 'On' !!!!
|
||||
; Instead you must use zlib.output_handler.
|
||||
; https://php.net/output-handler
|
||||
;output_handler =
|
||||
|
||||
; URL rewriter function rewrites URL on the fly by using
|
||||
; output buffer. You can set target tags by this configuration.
|
||||
; "form" tag is special tag. It will add hidden input tag to pass values.
|
||||
; Refer to session.trans_sid_tags for usage.
|
||||
; Default Value: "form="
|
||||
; Development Value: "form="
|
||||
; Production Value: "form="
|
||||
;url_rewriter.tags
|
||||
|
||||
; URL rewriter will not rewrite absolute URL nor form by default. To enable
|
||||
; absolute URL rewrite, allowed hosts must be defined at RUNTIME.
|
||||
; Refer to session.trans_sid_hosts for more details.
|
||||
; Default Value: ""
|
||||
; Development Value: ""
|
||||
; Production Value: ""
|
||||
;url_rewriter.hosts
|
||||
|
||||
; Transparent output compression using the zlib library
|
||||
; Valid values for this option are 'off', 'on', or a specific buffer size
|
||||
; to be used for compression (default is 4KB)
|
||||
; Note: Resulting chunk size may vary due to nature of compression. PHP
|
||||
; outputs chunks that are few hundreds bytes each as a result of
|
||||
; compression. If you prefer a larger chunk size for better
|
||||
; performance, enable output_buffering in addition.
|
||||
; Note: You need to use zlib.output_handler instead of the standard
|
||||
; output_handler, or otherwise the output will be corrupted.
|
||||
; https://php.net/zlib.output-compression
|
||||
zlib.output_compression = Off
|
||||
|
||||
; https://php.net/zlib.output-compression-level
|
||||
;zlib.output_compression_level = -1
|
||||
|
||||
; You cannot specify additional output handlers if zlib.output_compression
|
||||
; is activated here. This setting does the same as output_handler but in
|
||||
; a different order.
|
||||
; https://php.net/zlib.output-handler
|
||||
;zlib.output_handler =
|
||||
|
||||
; Implicit flush tells PHP to tell the output layer to flush itself
|
||||
; automatically after every output block. This is equivalent to calling the
|
||||
; PHP function flush() after each and every call to print() or echo() and each
|
||||
; and every HTML block. Turning this option on has serious performance
|
||||
; implications and is generally recommended for debugging purposes only.
|
||||
; https://php.net/implicit-flush
|
||||
; Note: This directive is hardcoded to On for the CLI SAPI
|
||||
implicit_flush = Off
|
||||
|
||||
; The unserialize callback function will be called (with the undefined class'
|
||||
; name as parameter), if the unserializer finds an undefined class
|
||||
; which should be instantiated. A warning appears if the specified function is
|
||||
; not defined, or if the function doesn't include/implement the missing class.
|
||||
; So only set this entry, if you really want to implement such a
|
||||
; callback-function.
|
||||
unserialize_callback_func =
|
||||
|
||||
; The unserialize_max_depth specifies the default depth limit for unserialized
|
||||
; structures. Setting the depth limit too high may result in stack overflows
|
||||
; during unserialization. The unserialize_max_depth ini setting can be
|
||||
; overridden by the max_depth option on individual unserialize() calls.
|
||||
; A value of 0 disables the depth limit.
|
||||
;unserialize_max_depth = 4096
|
||||
|
||||
; When floats & doubles are serialized, store serialize_precision significant
|
||||
; digits after the floating point. The default value ensures that when floats
|
||||
; are decoded with unserialize, the data will remain the same.
|
||||
; The value is also used for json_encode when encoding double values.
|
||||
; If -1 is used, then dtoa mode 0 is used which automatically select the best
|
||||
; precision.
|
||||
serialize_precision = -1
|
||||
|
||||
; open_basedir, if set, limits all file operations to the defined directory
|
||||
; and below. This directive makes most sense if used in a per-directory
|
||||
; or per-virtualhost web server configuration file.
|
||||
; Note: disables the realpath cache
|
||||
; https://php.net/open-basedir
|
||||
;open_basedir =
|
||||
|
||||
; This directive allows you to disable certain functions.
|
||||
; It receives a comma-delimited list of function names.
|
||||
; https://php.net/disable-functions
|
||||
disable_functions =
|
||||
|
||||
; This directive allows you to disable certain classes.
|
||||
; It receives a comma-delimited list of class names.
|
||||
; https://php.net/disable-classes
|
||||
disable_classes =
|
||||
|
||||
; Colors for Syntax Highlighting mode. Anything that's acceptable in
|
||||
; <span style="color: ???????"> would work.
|
||||
; https://php.net/syntax-highlighting
|
||||
;highlight.string = #DD0000
|
||||
;highlight.comment = #FF9900
|
||||
;highlight.keyword = #007700
|
||||
;highlight.default = #0000BB
|
||||
;highlight.html = #000000
|
||||
|
||||
; If enabled, the request will be allowed to complete even if the user aborts
|
||||
; the request. Consider enabling it if executing long requests, which may end up
|
||||
; being interrupted by the user or a browser timing out. PHP's default behavior
|
||||
; is to disable this feature.
|
||||
; https://php.net/ignore-user-abort
|
||||
;ignore_user_abort = On
|
||||
|
||||
; Determines the size of the realpath cache to be used by PHP. This value should
|
||||
; be increased on systems where PHP opens many files to reflect the quantity of
|
||||
; the file operations performed.
|
||||
; Note: if open_basedir is set, the cache is disabled
|
||||
; https://php.net/realpath-cache-size
|
||||
;realpath_cache_size = 4096k
|
||||
|
||||
; Duration of time, in seconds for which to cache realpath information for a given
|
||||
; file or directory. For systems with rarely changing files, consider increasing this
|
||||
; value.
|
||||
; https://php.net/realpath-cache-ttl
|
||||
;realpath_cache_ttl = 120
|
||||
|
||||
; Enables or disables the circular reference collector.
|
||||
; https://php.net/zend.enable-gc
|
||||
zend.enable_gc = On
|
||||
|
||||
; If enabled, scripts may be written in encodings that are incompatible with
|
||||
; the scanner. CP936, Big5, CP949 and Shift_JIS are the examples of such
|
||||
; encodings. To use this feature, mbstring extension must be enabled.
|
||||
;zend.multibyte = Off
|
||||
|
||||
; Allows to set the default encoding for the scripts. This value will be used
|
||||
; unless "declare(encoding=...)" directive appears at the top of the script.
|
||||
; Only affects if zend.multibyte is set.
|
||||
;zend.script_encoding =
|
||||
|
||||
; Allows to include or exclude arguments from stack traces generated for exceptions.
|
||||
; In production, it is recommended to turn this setting on to prohibit the output
|
||||
; of sensitive information in stack traces
|
||||
; Default Value: Off
|
||||
; Development Value: Off
|
||||
; Production Value: On
|
||||
zend.exception_ignore_args = On
|
||||
|
||||
; Allows setting the maximum string length in an argument of a stringified stack trace
|
||||
; to a value between 0 and 1000000.
|
||||
; This has no effect when zend.exception_ignore_args is enabled.
|
||||
; Default Value: 15
|
||||
; Development Value: 15
|
||||
; Production Value: 0
|
||||
; In production, it is recommended to set this to 0 to reduce the output
|
||||
; of sensitive information in stack traces.
|
||||
zend.exception_string_param_max_len = 0
|
||||
|
||||
;;;;;;;;;;;;;;;;;
|
||||
; Miscellaneous ;
|
||||
;;;;;;;;;;;;;;;;;
|
||||
|
||||
; Decides whether PHP may expose the fact that it is installed on the server
|
||||
; (e.g. by adding its signature to the Web server header). It is no security
|
||||
; threat in any way, but it makes it possible to determine whether you use PHP
|
||||
; on your server or not.
|
||||
; https://php.net/expose-php
|
||||
expose_php = On
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;
|
||||
; Resource Limits ;
|
||||
;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
; Maximum execution time of each script, in seconds
|
||||
; https://php.net/max-execution-time
|
||||
; Note: This directive is hardcoded to 0 for the CLI SAPI
|
||||
max_execution_time = 30
|
||||
|
||||
; Maximum amount of time each script may spend parsing request data. It's a good
|
||||
; idea to limit this time on productions servers in order to eliminate unexpectedly
|
||||
; long running scripts.
|
||||
; Note: This directive is hardcoded to -1 for the CLI SAPI
|
||||
; Default Value: -1 (Unlimited)
|
||||
; Development Value: 60 (60 seconds)
|
||||
; Production Value: 60 (60 seconds)
|
||||
; https://php.net/max-input-time
|
||||
max_input_time = 60
|
||||
|
||||
; Maximum input variable nesting level
|
||||
; https://php.net/max-input-nesting-level
|
||||
;max_input_nesting_level = 64
|
||||
|
||||
; How many GET/POST/COOKIE input variables may be accepted
|
||||
;max_input_vars = 1000
|
||||
|
||||
; How many multipart body parts (combined input variable and file uploads) may
|
||||
; be accepted.
|
||||
; Default Value: -1 (Sum of max_input_vars and max_file_uploads)
|
||||
;max_multipart_body_parts = 1500
|
||||
|
||||
; Maximum amount of memory a script may consume
|
||||
; https://php.net/memory-limit
|
||||
memory_limit = 128M
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
; Error handling and logging ;
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
; This directive informs PHP of which errors, warnings and notices you would like
|
||||
; it to take action for. The recommended way of setting values for this
|
||||
; directive is through the use of the error level constants and bitwise
|
||||
; operators. The error level constants are below here for convenience as well as
|
||||
; some common settings and their meanings.
|
||||
; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
|
||||
; those related to E_NOTICE and E_STRICT, which together cover best practices and
|
||||
; recommended coding standards in PHP. For performance reasons, this is the
|
||||
; recommend error reporting setting. Your production server shouldn't be wasting
|
||||
; resources complaining about best practices and coding standards. That's what
|
||||
; development servers and development settings are for.
|
||||
; Note: The php.ini-development file has this setting as E_ALL. This
|
||||
; means it pretty much reports everything which is exactly what you want during
|
||||
; development and early testing.
|
||||
;
|
||||
; Error Level Constants:
|
||||
; E_ALL - All errors and warnings
|
||||
; E_ERROR - fatal run-time errors
|
||||
; E_RECOVERABLE_ERROR - almost fatal run-time errors
|
||||
; E_WARNING - run-time warnings (non-fatal errors)
|
||||
; E_PARSE - compile-time parse errors
|
||||
; E_NOTICE - run-time notices (these are warnings which often result
|
||||
; from a bug in your code, but it's possible that it was
|
||||
; intentional (e.g., using an uninitialized variable and
|
||||
; relying on the fact it is automatically initialized to an
|
||||
; empty string)
|
||||
; E_STRICT - run-time notices, enable to have PHP suggest changes
|
||||
; to your code which will ensure the best interoperability
|
||||
; and forward compatibility of your code
|
||||
; E_CORE_ERROR - fatal errors that occur during PHP's initial startup
|
||||
; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's
|
||||
; initial startup
|
||||
; E_COMPILE_ERROR - fatal compile-time errors
|
||||
; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
|
||||
; E_USER_ERROR - user-generated error message
|
||||
; E_USER_WARNING - user-generated warning message
|
||||
; E_USER_NOTICE - user-generated notice message
|
||||
; E_DEPRECATED - warn about code that will not work in future versions
|
||||
; of PHP
|
||||
; E_USER_DEPRECATED - user-generated deprecation warnings
|
||||
;
|
||||
; Common Values:
|
||||
; E_ALL (Show all errors, warnings and notices including coding standards.)
|
||||
; E_ALL & ~E_NOTICE (Show all errors, except for notices)
|
||||
; E_ALL & ~E_NOTICE & ~E_STRICT (Show all errors, except for notices and coding standards warnings.)
|
||||
; E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR (Show only errors)
|
||||
; Default Value: E_ALL
|
||||
; Development Value: E_ALL
|
||||
; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
|
||||
; https://php.net/error-reporting
|
||||
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
|
||||
|
||||
; This directive controls whether or not and where PHP will output errors,
|
||||
; notices and warnings too. Error output is very useful during development, but
|
||||
; it could be very dangerous in production environments. Depending on the code
|
||||
; which is triggering the error, sensitive information could potentially leak
|
||||
; out of your application such as database usernames and passwords or worse.
|
||||
; For production environments, we recommend logging errors rather than
|
||||
; sending them to STDOUT.
|
||||
; Possible Values:
|
||||
; Off = Do not display any errors
|
||||
; stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
|
||||
; On or stdout = Display errors to STDOUT
|
||||
; Default Value: On
|
||||
; Development Value: On
|
||||
; Production Value: Off
|
||||
; https://php.net/display-errors
|
||||
display_errors = Off
|
||||
|
||||
; The display of errors which occur during PHP's startup sequence are handled
|
||||
; separately from display_errors. We strongly recommend you set this to 'off'
|
||||
; for production servers to avoid leaking configuration details.
|
||||
; Default Value: On
|
||||
; Development Value: On
|
||||
; Production Value: Off
|
||||
; https://php.net/display-startup-errors
|
||||
display_startup_errors = Off
|
||||
|
||||
; Besides displaying errors, PHP can also log errors to locations such as a
|
||||
; server-specific log, STDERR, or a location specified by the error_log
|
||||
; directive found below. While errors should not be displayed on productions
|
||||
; servers they should still be monitored and logging is a great way to do that.
|
||||
; Default Value: Off
|
||||
; Development Value: On
|
||||
; Production Value: On
|
||||
; https://php.net/log-errors
|
||||
log_errors = On
|
||||
|
||||
; Do not log repeated messages. Repeated errors must occur in same file on same
|
||||
; line unless ignore_repeated_source is set true.
|
||||
; https://php.net/ignore-repeated-errors
|
||||
ignore_repeated_errors = Off
|
||||
|
||||
; Ignore source of message when ignoring repeated messages. When this setting
|
||||
; is On you will not log errors with repeated messages from different files or
|
||||
; source lines.
|
||||
; https://php.net/ignore-repeated-source
|
||||
ignore_repeated_source = Off
|
||||
|
||||
; If this parameter is set to Off, then memory leaks will not be shown (on
|
||||
; stdout or in the log). This is only effective in a debug compile, and if
|
||||
; error reporting includes E_WARNING in the allowed list
|
||||
; https://php.net/report-memleaks
|
||||
report_memleaks = On
|
||||
|
||||
; This setting is off by default.
|
||||
;report_zend_debug = 0
|
||||
|
||||
; Turn off normal error reporting and emit XML-RPC error XML
|
||||
; https://php.net/xmlrpc-errors
|
||||
;xmlrpc_errors = 0
|
||||
|
||||
; An XML-RPC faultCode
|
||||
;xmlrpc_error_number = 0
|
||||
|
||||
; When PHP displays or logs an error, it has the capability of formatting the
|
||||
; error message as HTML for easier reading. This directive controls whether
|
||||
; the error message is formatted as HTML or not.
|
||||
; Note: This directive is hardcoded to Off for the CLI SAPI
|
||||
; https://php.net/html-errors
|
||||
;html_errors = On
|
||||
|
||||
; If html_errors is set to On *and* docref_root is not empty, then PHP
|
||||
; produces clickable error messages that direct to a page describing the error
|
||||
; or function causing the error in detail.
|
||||
; You can download a copy of the PHP manual from https://php.net/docs
|
||||
; and change docref_root to the base URL of your local copy including the
|
||||
; leading '/'. You must also specify the file extension being used including
|
||||
; the dot. PHP's default behavior is to leave these settings empty, in which
|
||||
; case no links to documentation are generated.
|
||||
; Note: Never use this feature for production boxes.
|
||||
; https://php.net/docref-root
|
||||
; Examples
|
||||
;docref_root = "/phpmanual/"
|
||||
|
||||
; https://php.net/docref-ext
|
||||
;docref_ext = .html
|
||||
|
||||
; String to output before an error message. PHP's default behavior is to leave
|
||||
; this setting blank.
|
||||
; https://php.net/error-prepend-string
|
||||
; Example:
|
||||
;error_prepend_string = "<span style='color: #ff0000'>"
|
||||
|
||||
; String to output after an error message. PHP's default behavior is to leave
|
||||
; this setting blank.
|
||||
; https://php.net/error-append-string
|
||||
; Example:
|
||||
;error_append_string = "</span>"
|
||||
|
||||
; Log errors to specified file. PHP's default behavior is to leave this value
|
||||
; empty.
|
||||
; https://php.net/error-log
|
||||
; Example:
|
||||
;error_log = php_errors.log
|
||||
; Log errors to syslog (Event Log on Windows).
|
||||
;error_log = syslog
|
||||
|
||||
; The syslog ident is a string which is prepended to every message logged
|
||||
; to syslog. Only used when error_log is set to syslog.
|
||||
;syslog.ident = php
|
||||
|
||||
; The syslog facility is used to specify what type of program is logging
|
||||
; the message. Only used when error_log is set to syslog.
|
||||
;syslog.facility = user
|
||||
|
||||
; Set this to disable filtering control characters (the default).
|
||||
; Some loggers only accept NVT-ASCII, others accept anything that's not
|
||||
; control characters. If your logger accepts everything, then no filtering
|
||||
; is needed at all.
|
||||
; Allowed values are:
|
||||
; ascii (all printable ASCII characters and NL)
|
||||
; no-ctrl (all characters except control characters)
|
||||
; all (all characters)
|
||||
; raw (like "all", but messages are not split at newlines)
|
||||
; https://php.net/syslog.filter
|
||||
;syslog.filter = ascii
|
||||
|
||||
;windows.show_crt_warning
|
||||
; Default value: 0
|
||||
; Development value: 0
|
||||
; Production value: 0
|
||||
|
||||
;;;;;;;;;;;;;;;;;
|
||||
; Data Handling ;
|
||||
;;;;;;;;;;;;;;;;;
|
||||
|
||||
; The separator used in PHP generated URLs to separate arguments.
|
||||
; PHP's default setting is "&".
|
||||
; https://php.net/arg-separator.output
|
||||
; Example:
|
||||
;arg_separator.output = "&"
|
||||
|
||||
; List of separator(s) used by PHP to parse input URLs into variables.
|
||||
; PHP's default setting is "&".
|
||||
; NOTE: Every character in this directive is considered as separator!
|
||||
; https://php.net/arg-separator.input
|
||||
; Example:
|
||||
;arg_separator.input = ";&"
|
||||
|
||||
; This directive determines which super global arrays are registered when PHP
|
||||
; starts up. G,P,C,E & S are abbreviations for the following respective super
|
||||
; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
|
||||
; paid for the registration of these arrays and because ENV is not as commonly
|
||||
; used as the others, ENV is not recommended on productions servers. You
|
||||
; can still get access to the environment variables through getenv() should you
|
||||
; need to.
|
||||
; Default Value: "EGPCS"
|
||||
; Development Value: "GPCS"
|
||||
; Production Value: "GPCS";
|
||||
; https://php.net/variables-order
|
||||
variables_order = "GPCS"
|
||||
|
||||
; This directive determines which super global data (G,P & C) should be
|
||||
; registered into the super global array REQUEST. If so, it also determines
|
||||
; the order in which that data is registered. The values for this directive
|
||||
; are specified in the same manner as the variables_order directive,
|
||||
; EXCEPT one. Leaving this value empty will cause PHP to use the value set
|
||||
; in the variables_order directive. It does not mean it will leave the super
|
||||
; globals array REQUEST empty.
|
||||
; Default Value: None
|
||||
; Development Value: "GP"
|
||||
; Production Value: "GP"
|
||||
; https://php.net/request-order
|
||||
request_order = "GP"
|
||||
|
||||
; This directive determines whether PHP registers $argv & $argc each time it
|
||||
; runs. $argv contains an array of all the arguments passed to PHP when a script
|
||||
; is invoked. $argc contains an integer representing the number of arguments
|
||||
; that were passed when the script was invoked. These arrays are extremely
|
||||
; useful when running scripts from the command line. When this directive is
|
||||
; enabled, registering these variables consumes CPU cycles and memory each time
|
||||
; a script is executed. For performance reasons, this feature should be disabled
|
||||
; on production servers.
|
||||
; Note: This directive is hardcoded to On for the CLI SAPI
|
||||
; Default Value: On
|
||||
; Development Value: Off
|
||||
; Production Value: Off
|
||||
; https://php.net/register-argc-argv
|
||||
register_argc_argv = Off
|
||||
|
||||
; When enabled, the ENV, REQUEST and SERVER variables are created when they're
|
||||
; first used (Just In Time) instead of when the script starts. If these
|
||||
; variables are not used within a script, having this directive on will result
|
||||
; in a performance gain. The PHP directive register_argc_argv must be disabled
|
||||
; for this directive to have any effect.
|
||||
; https://php.net/auto-globals-jit
|
||||
auto_globals_jit = On
|
||||
|
||||
; Whether PHP will read the POST data.
|
||||
; This option is enabled by default.
|
||||
; Most likely, you won't want to disable this option globally. It causes $_POST
|
||||
; and $_FILES to always be empty; the only way you will be able to read the
|
||||
; POST data will be through the php://input stream wrapper. This can be useful
|
||||
; to proxy requests or to process the POST data in a memory efficient fashion.
|
||||
; https://php.net/enable-post-data-reading
|
||||
;enable_post_data_reading = Off
|
||||
|
||||
; Maximum size of POST data that PHP will accept.
|
||||
; Its value may be 0 to disable the limit. It is ignored if POST data reading
|
||||
; is disabled through enable_post_data_reading.
|
||||
; https://php.net/post-max-size
|
||||
post_max_size = 8M
|
||||
|
||||
; Automatically add files before PHP document.
|
||||
; https://php.net/auto-prepend-file
|
||||
auto_prepend_file =
|
||||
|
||||
; Automatically add files after PHP document.
|
||||
; https://php.net/auto-append-file
|
||||
auto_append_file =
|
||||
|
||||
; By default, PHP will output a media type using the Content-Type header. To
|
||||
; disable this, simply set it to be empty.
|
||||
;
|
||||
; PHP's built-in default media type is set to text/html.
|
||||
; https://php.net/default-mimetype
|
||||
default_mimetype = "text/html"
|
||||
|
||||
; PHP's default character set is set to UTF-8.
|
||||
; https://php.net/default-charset
|
||||
default_charset = "UTF-8"
|
||||
|
||||
; PHP internal character encoding is set to empty.
|
||||
; If empty, default_charset is used.
|
||||
; https://php.net/internal-encoding
|
||||
;internal_encoding =
|
||||
|
||||
; PHP input character encoding is set to empty.
|
||||
; If empty, default_charset is used.
|
||||
; https://php.net/input-encoding
|
||||
;input_encoding =
|
||||
|
||||
; PHP output character encoding is set to empty.
|
||||
; If empty, default_charset is used.
|
||||
; See also output_buffer.
|
||||
; https://php.net/output-encoding
|
||||
;output_encoding =
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
; Paths and Directories ;
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
; UNIX: "/path1:/path2"
|
||||
;include_path = ".:/php/includes"
|
||||
;
|
||||
; Windows: "\path1;\path2"
|
||||
;include_path = ".;c:\php\includes"
|
||||
;
|
||||
; PHP's default setting for include_path is ".;/path/to/php/pear"
|
||||
; https://php.net/include-path
|
||||
|
||||
; The root of the PHP pages, used only if nonempty.
|
||||
; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
|
||||
; if you are running php as a CGI under any web server (other than IIS)
|
||||
; see documentation for security issues. The alternate is to use the
|
||||
; cgi.force_redirect configuration below
|
||||
; https://php.net/doc-root
|
||||
doc_root =
|
||||
|
||||
; The directory under which PHP opens the script using /~username used only
|
||||
; if nonempty.
|
||||
; https://php.net/user-dir
|
||||
user_dir =
|
||||
|
||||
; Directory in which the loadable extensions (modules) reside.
|
||||
; https://php.net/extension-dir
|
||||
;extension_dir = "./"
|
||||
; On windows:
|
||||
;extension_dir = "ext"
|
||||
|
||||
; Directory where the temporary files should be placed.
|
||||
; Defaults to the system default (see sys_get_temp_dir)
|
||||
;sys_temp_dir = "/tmp"
|
||||
|
||||
; Whether or not to enable the dl() function. The dl() function does NOT work
|
||||
; properly in multithreaded servers, such as IIS or Zeus, and is automatically
|
||||
; disabled on them.
|
||||
; https://php.net/enable-dl
|
||||
enable_dl = Off
|
||||
|
||||
; cgi.force_redirect is necessary to provide security running PHP as a CGI under
|
||||
; most web servers. Left undefined, PHP turns this on by default. You can
|
||||
; turn it off here AT YOUR OWN RISK
|
||||
; **You CAN safely turn this off for IIS, in fact, you MUST.**
|
||||
; https://php.net/cgi.force-redirect
|
||||
;cgi.force_redirect = 1
|
||||
|
||||
; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
|
||||
; every request. PHP's default behavior is to disable this feature.
|
||||
;cgi.nph = 1
|
||||
|
||||
; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
|
||||
; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
|
||||
; will look for to know it is OK to continue execution. Setting this variable MAY
|
||||
; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
|
||||
; https://php.net/cgi.redirect-status-env
|
||||
;cgi.redirect_status_env =
|
||||
|
||||
; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI. PHP's
|
||||
; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
|
||||
; what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting
|
||||
; this to 1 will cause PHP CGI to fix its paths to conform to the spec. A setting
|
||||
; of zero causes PHP to behave as before. Default is 1. You should fix your scripts
|
||||
; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
|
||||
; https://php.net/cgi.fix-pathinfo
|
||||
;cgi.fix_pathinfo=1
|
||||
|
||||
; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
|
||||
; of the web tree and people will not be able to circumvent .htaccess security.
|
||||
;cgi.discard_path=1
|
||||
|
||||
; FastCGI under IIS supports the ability to impersonate
|
||||
; security tokens of the calling client. This allows IIS to define the
|
||||
; security context that the request runs under. mod_fastcgi under Apache
|
||||
; does not currently support this feature (03/17/2002)
|
||||
; Set to 1 if running under IIS. Default is zero.
|
||||
; https://php.net/fastcgi.impersonate
|
||||
;fastcgi.impersonate = 1
|
||||
|
||||
; Disable logging through FastCGI connection. PHP's default behavior is to enable
|
||||
; this feature.
|
||||
;fastcgi.logging = 0
|
||||
|
||||
; cgi.rfc2616_headers configuration option tells PHP what type of headers to
|
||||
; use when sending HTTP response code. If set to 0, PHP sends Status: header that
|
||||
; is supported by Apache. When this option is set to 1, PHP will send
|
||||
; RFC2616 compliant header.
|
||||
; Default is zero.
|
||||
; https://php.net/cgi.rfc2616-headers
|
||||
;cgi.rfc2616_headers = 0
|
||||
|
||||
; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
|
||||
; (shebang) at the top of the running script. This line might be needed if the
|
||||
; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
|
||||
; mode skips this line and ignores its content if this directive is turned on.
|
||||
; https://php.net/cgi.check-shebang-line
|
||||
;cgi.check_shebang_line=1
|
||||
|
||||
;;;;;;;;;;;;;;;;
|
||||
; File Uploads ;
|
||||
;;;;;;;;;;;;;;;;
|
||||
|
||||
; Whether to allow HTTP file uploads.
|
||||
; https://php.net/file-uploads
|
||||
file_uploads = On
|
||||
|
||||
; Temporary directory for HTTP uploaded files (will use system default if not
|
||||
; specified).
|
||||
; https://php.net/upload-tmp-dir
|
||||
;upload_tmp_dir =
|
||||
|
||||
; Maximum allowed size for uploaded files.
|
||||
; https://php.net/upload-max-filesize
|
||||
upload_max_filesize = 2M
|
||||
|
||||
; Maximum number of files that can be uploaded via a single request
|
||||
max_file_uploads = 20
|
||||
|
||||
;;;;;;;;;;;;;;;;;;
|
||||
; Fopen wrappers ;
|
||||
;;;;;;;;;;;;;;;;;;
|
||||
|
||||
; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
|
||||
; https://php.net/allow-url-fopen
|
||||
allow_url_fopen = On
|
||||
|
||||
; Whether to allow include/require to open URLs (like https:// or ftp://) as files.
|
||||
; https://php.net/allow-url-include
|
||||
allow_url_include = Off
|
||||
|
||||
; Define the anonymous ftp password (your email address). PHP's default setting
|
||||
; for this is empty.
|
||||
; https://php.net/from
|
||||
;from="john@doe.com"
|
||||
|
||||
; Define the User-Agent string. PHP's default setting for this is empty.
|
||||
; https://php.net/user-agent
|
||||
;user_agent="PHP"
|
||||
|
||||
; Default timeout for socket based streams (seconds)
|
||||
; https://php.net/default-socket-timeout
|
||||
default_socket_timeout = 60
|
||||
|
||||
; If your scripts have to deal with files from Macintosh systems,
|
||||
; or you are running on a Mac and need to deal with files from
|
||||
; unix or win32 systems, setting this flag will cause PHP to
|
||||
; automatically detect the EOL character in those files so that
|
||||
; fgets() and file() will work regardless of the source of the file.
|
||||
; https://php.net/auto-detect-line-endings
|
||||
;auto_detect_line_endings = Off
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;
|
||||
; Dynamic Extensions ;
|
||||
;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
; If you wish to have an extension loaded automatically, use the following
|
||||
; syntax:
|
||||
;
|
||||
; extension=modulename
|
||||
;
|
||||
; For example:
|
||||
;
|
||||
; extension=mysqli
|
||||
;
|
||||
; When the extension library to load is not located in the default extension
|
||||
; directory, You may specify an absolute path to the library file:
|
||||
;
|
||||
; extension=/path/to/extension/mysqli.so
|
||||
;
|
||||
; Note : The syntax used in previous PHP versions ('extension=<ext>.so' and
|
||||
; 'extension='php_<ext>.dll') is supported for legacy reasons and may be
|
||||
; deprecated in a future PHP major version. So, when it is possible, please
|
||||
; move to the new ('extension=<ext>) syntax.
|
||||
;
|
||||
; Notes for Windows environments :
|
||||
;
|
||||
; - Many DLL files are located in the ext/
|
||||
; extension folders as well as the separate PECL DLL download.
|
||||
; Be sure to appropriately set the extension_dir directive.
|
||||
;
|
||||
;extension=bz2
|
||||
|
||||
; The ldap extension must be before curl if OpenSSL 1.0.2 and OpenLDAP is used
|
||||
; otherwise it results in segfault when unloading after using SASL.
|
||||
; See https://github.com/php/php-src/issues/8620 for more info.
|
||||
;extension=ldap
|
||||
|
||||
;extension=curl
|
||||
;extension=ffi
|
||||
;extension=ftp
|
||||
;extension=fileinfo
|
||||
;extension=gd
|
||||
;extension=gettext
|
||||
;extension=gmp
|
||||
;extension=intl
|
||||
;extension=imap
|
||||
;extension=mbstring
|
||||
;extension=exif ; Must be after mbstring as it depends on it
|
||||
;extension=mysqli
|
||||
;extension=oci8_12c ; Use with Oracle Database 12c Instant Client
|
||||
;extension=oci8_19 ; Use with Oracle Database 19 Instant Client
|
||||
;extension=odbc
|
||||
;extension=openssl
|
||||
;extension=pdo_firebird
|
||||
;extension=pdo_mysql
|
||||
;extension=pdo_oci
|
||||
;extension=pdo_odbc
|
||||
;extension=pdo_pgsql
|
||||
;extension=pdo_sqlite
|
||||
;extension=pgsql
|
||||
;extension=shmop
|
||||
|
||||
; The MIBS data available in the PHP distribution must be installed.
|
||||
; See https://www.php.net/manual/en/snmp.installation.php
|
||||
;extension=snmp
|
||||
|
||||
;extension=soap
|
||||
;extension=sockets
|
||||
;extension=sodium
|
||||
;extension=sqlite3
|
||||
;extension=tidy
|
||||
;extension=xsl
|
||||
;extension=zip
|
||||
|
||||
;zend_extension=opcache
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;
|
||||
; Module Settings ;
|
||||
;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
[CLI Server]
|
||||
; Whether the CLI web server uses ANSI color coding in its terminal output.
|
||||
cli_server.color = On
|
||||
|
||||
[Date]
|
||||
; Defines the default timezone used by the date functions
|
||||
; https://php.net/date.timezone
|
||||
;date.timezone =
|
||||
|
||||
; https://php.net/date.default-latitude
|
||||
;date.default_latitude = 31.7667
|
||||
|
||||
; https://php.net/date.default-longitude
|
||||
;date.default_longitude = 35.2333
|
||||
|
||||
; https://php.net/date.sunrise-zenith
|
||||
;date.sunrise_zenith = 90.833333
|
||||
|
||||
; https://php.net/date.sunset-zenith
|
||||
;date.sunset_zenith = 90.833333
|
||||
|
||||
[filter]
|
||||
; https://php.net/filter.default
|
||||
;filter.default = unsafe_raw
|
||||
|
||||
; https://php.net/filter.default-flags
|
||||
;filter.default_flags =
|
||||
|
||||
[iconv]
|
||||
; Use of this INI entry is deprecated, use global input_encoding instead.
|
||||
; If empty, default_charset or input_encoding or iconv.input_encoding is used.
|
||||
; The precedence is: default_charset < input_encoding < iconv.input_encoding
|
||||
;iconv.input_encoding =
|
||||
|
||||
; Use of this INI entry is deprecated, use global internal_encoding instead.
|
||||
; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
|
||||
; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
|
||||
;iconv.internal_encoding =
|
||||
|
||||
; Use of this INI entry is deprecated, use global output_encoding instead.
|
||||
; If empty, default_charset or output_encoding or iconv.output_encoding is used.
|
||||
; The precedence is: default_charset < output_encoding < iconv.output_encoding
|
||||
; To use an output encoding conversion, iconv's output handler must be set
|
||||
; otherwise output encoding conversion cannot be performed.
|
||||
;iconv.output_encoding =
|
||||
|
||||
[imap]
|
||||
; rsh/ssh logins are disabled by default. Use this INI entry if you want to
|
||||
; enable them. Note that the IMAP library does not filter mailbox names before
|
||||
; passing them to rsh/ssh command, thus passing untrusted data to this function
|
||||
; with rsh/ssh enabled is insecure.
|
||||
;imap.enable_insecure_rsh=0
|
||||
|
||||
[intl]
|
||||
;intl.default_locale =
|
||||
; This directive allows you to produce PHP errors when some error
|
||||
; happens within intl functions. The value is the level of the error produced.
|
||||
; Default is 0, which does not produce any errors.
|
||||
;intl.error_level = E_WARNING
|
||||
;intl.use_exceptions = 0
|
||||
|
||||
[sqlite3]
|
||||
; Directory pointing to SQLite3 extensions
|
||||
; https://php.net/sqlite3.extension-dir
|
||||
;sqlite3.extension_dir =
|
||||
|
||||
; SQLite defensive mode flag (only available from SQLite 3.26+)
|
||||
; When the defensive flag is enabled, language features that allow ordinary
|
||||
; SQL to deliberately corrupt the database file are disabled. This forbids
|
||||
; writing directly to the schema, shadow tables (eg. FTS data tables), or
|
||||
; the sqlite_dbpage virtual table.
|
||||
; https://www.sqlite.org/c3ref/c_dbconfig_defensive.html
|
||||
; (for older SQLite versions, this flag has no use)
|
||||
;sqlite3.defensive = 1
|
||||
|
||||
[Pcre]
|
||||
; PCRE library backtracking limit.
|
||||
; https://php.net/pcre.backtrack-limit
|
||||
;pcre.backtrack_limit=100000
|
||||
|
||||
; PCRE library recursion limit.
|
||||
; Please note that if you set this value to a high number you may consume all
|
||||
; the available process stack and eventually crash PHP (due to reaching the
|
||||
; stack size limit imposed by the Operating System).
|
||||
; https://php.net/pcre.recursion-limit
|
||||
;pcre.recursion_limit=100000
|
||||
|
||||
; Enables or disables JIT compilation of patterns. This requires the PCRE
|
||||
; library to be compiled with JIT support.
|
||||
;pcre.jit=1
|
||||
|
||||
[Pdo]
|
||||
; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
|
||||
; https://php.net/pdo-odbc.connection-pooling
|
||||
;pdo_odbc.connection_pooling=strict
|
||||
|
||||
[Pdo_mysql]
|
||||
; Default socket name for local MySQL connects. If empty, uses the built-in
|
||||
; MySQL defaults.
|
||||
pdo_mysql.default_socket=
|
||||
|
||||
[Phar]
|
||||
; https://php.net/phar.readonly
|
||||
;phar.readonly = On
|
||||
|
||||
; https://php.net/phar.require-hash
|
||||
;phar.require_hash = On
|
||||
|
||||
;phar.cache_list =
|
||||
|
||||
[mail function]
|
||||
; For Win32 only.
|
||||
; https://php.net/smtp
|
||||
SMTP = localhost
|
||||
; https://php.net/smtp-port
|
||||
smtp_port = 25
|
||||
|
||||
; For Win32 only.
|
||||
; https://php.net/sendmail-from
|
||||
;sendmail_from = me@example.com
|
||||
|
||||
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
|
||||
; https://php.net/sendmail-path
|
||||
;sendmail_path =
|
||||
|
||||
; Force the addition of the specified parameters to be passed as extra parameters
|
||||
; to the sendmail binary. These parameters will always replace the value of
|
||||
; the 5th parameter to mail().
|
||||
;mail.force_extra_parameters =
|
||||
|
||||
; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
|
||||
mail.add_x_header = Off
|
||||
|
||||
; Use mixed LF and CRLF line separators to keep compatibility with some
|
||||
; RFC 2822 non conformant MTA.
|
||||
mail.mixed_lf_and_crlf = Off
|
||||
|
||||
; The path to a log file that will log all mail() calls. Log entries include
|
||||
; the full path of the script, line number, To address and headers.
|
||||
;mail.log =
|
||||
; Log mail to syslog (Event Log on Windows).
|
||||
;mail.log = syslog
|
||||
|
||||
[ODBC]
|
||||
; https://php.net/odbc.default-db
|
||||
;odbc.default_db = Not yet implemented
|
||||
|
||||
; https://php.net/odbc.default-user
|
||||
;odbc.default_user = Not yet implemented
|
||||
|
||||
; https://php.net/odbc.default-pw
|
||||
;odbc.default_pw = Not yet implemented
|
||||
|
||||
; Controls the ODBC cursor model.
|
||||
; Default: SQL_CURSOR_STATIC (default).
|
||||
;odbc.default_cursortype
|
||||
|
||||
; Allow or prevent persistent links.
|
||||
; https://php.net/odbc.allow-persistent
|
||||
odbc.allow_persistent = On
|
||||
|
||||
; Check that a connection is still valid before reuse.
|
||||
; https://php.net/odbc.check-persistent
|
||||
odbc.check_persistent = On
|
||||
|
||||
; Maximum number of persistent links. -1 means no limit.
|
||||
; https://php.net/odbc.max-persistent
|
||||
odbc.max_persistent = -1
|
||||
|
||||
; Maximum number of links (persistent + non-persistent). -1 means no limit.
|
||||
; https://php.net/odbc.max-links
|
||||
odbc.max_links = -1
|
||||
|
||||
; Handling of LONG fields. Returns number of bytes to variables. 0 means
|
||||
; passthru.
|
||||
; https://php.net/odbc.defaultlrl
|
||||
odbc.defaultlrl = 4096
|
||||
|
||||
; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char.
|
||||
; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
|
||||
; of odbc.defaultlrl and odbc.defaultbinmode
|
||||
; https://php.net/odbc.defaultbinmode
|
||||
odbc.defaultbinmode = 1
|
||||
|
||||
[MySQLi]
|
||||
|
||||
; Maximum number of persistent links. -1 means no limit.
|
||||
; https://php.net/mysqli.max-persistent
|
||||
mysqli.max_persistent = -1
|
||||
|
||||
; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
|
||||
; https://php.net/mysqli.allow_local_infile
|
||||
;mysqli.allow_local_infile = On
|
||||
|
||||
; It allows the user to specify a folder where files that can be sent via LOAD DATA
|
||||
; LOCAL can exist. It is ignored if mysqli.allow_local_infile is enabled.
|
||||
;mysqli.local_infile_directory =
|
||||
|
||||
; Allow or prevent persistent links.
|
||||
; https://php.net/mysqli.allow-persistent
|
||||
mysqli.allow_persistent = On
|
||||
|
||||
; Maximum number of links. -1 means no limit.
|
||||
; https://php.net/mysqli.max-links
|
||||
mysqli.max_links = -1
|
||||
|
||||
; Default port number for mysqli_connect(). If unset, mysqli_connect() will use
|
||||
; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
|
||||
; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
|
||||
; at MYSQL_PORT.
|
||||
; https://php.net/mysqli.default-port
|
||||
mysqli.default_port = 3306
|
||||
|
||||
; Default socket name for local MySQL connects. If empty, uses the built-in
|
||||
; MySQL defaults.
|
||||
; https://php.net/mysqli.default-socket
|
||||
mysqli.default_socket =
|
||||
|
||||
; Default host for mysqli_connect() (doesn't apply in safe mode).
|
||||
; https://php.net/mysqli.default-host
|
||||
mysqli.default_host =
|
||||
|
||||
; Default user for mysqli_connect() (doesn't apply in safe mode).
|
||||
; https://php.net/mysqli.default-user
|
||||
mysqli.default_user =
|
||||
|
||||
; Default password for mysqli_connect() (doesn't apply in safe mode).
|
||||
; Note that this is generally a *bad* idea to store passwords in this file.
|
||||
; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
|
||||
; and reveal this password! And of course, any users with read access to this
|
||||
; file will be able to reveal the password as well.
|
||||
; https://php.net/mysqli.default-pw
|
||||
mysqli.default_pw =
|
||||
|
||||
; If this option is enabled, closing a persistent connection will rollback
|
||||
; any pending transactions of this connection, before it is put back
|
||||
; into the persistent connection pool.
|
||||
;mysqli.rollback_on_cached_plink = Off
|
||||
|
||||
[mysqlnd]
|
||||
; Enable / Disable collection of general statistics by mysqlnd which can be
|
||||
; used to tune and monitor MySQL operations.
|
||||
mysqlnd.collect_statistics = On
|
||||
|
||||
; Enable / Disable collection of memory usage statistics by mysqlnd which can be
|
||||
; used to tune and monitor MySQL operations.
|
||||
mysqlnd.collect_memory_statistics = Off
|
||||
|
||||
; Records communication from all extensions using mysqlnd to the specified log
|
||||
; file.
|
||||
; https://php.net/mysqlnd.debug
|
||||
;mysqlnd.debug =
|
||||
|
||||
; Defines which queries will be logged.
|
||||
;mysqlnd.log_mask = 0
|
||||
|
||||
; Default size of the mysqlnd memory pool, which is used by result sets.
|
||||
;mysqlnd.mempool_default_size = 16000
|
||||
|
||||
; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
|
||||
;mysqlnd.net_cmd_buffer_size = 2048
|
||||
|
||||
; Size of a pre-allocated buffer used for reading data sent by the server in
|
||||
; bytes.
|
||||
;mysqlnd.net_read_buffer_size = 32768
|
||||
|
||||
; Timeout for network requests in seconds.
|
||||
;mysqlnd.net_read_timeout = 31536000
|
||||
|
||||
; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
|
||||
; key.
|
||||
;mysqlnd.sha256_server_public_key =
|
||||
|
||||
[OCI8]
|
||||
|
||||
; Connection: Enables privileged connections using external
|
||||
; credentials (OCI_SYSOPER, OCI_SYSDBA)
|
||||
; https://php.net/oci8.privileged-connect
|
||||
;oci8.privileged_connect = Off
|
||||
|
||||
; Connection: The maximum number of persistent OCI8 connections per
|
||||
; process. Using -1 means no limit.
|
||||
; https://php.net/oci8.max-persistent
|
||||
;oci8.max_persistent = -1
|
||||
|
||||
; Connection: The maximum number of seconds a process is allowed to
|
||||
; maintain an idle persistent connection. Using -1 means idle
|
||||
; persistent connections will be maintained forever.
|
||||
; https://php.net/oci8.persistent-timeout
|
||||
;oci8.persistent_timeout = -1
|
||||
|
||||
; Connection: The number of seconds that must pass before issuing a
|
||||
; ping during oci_pconnect() to check the connection validity. When
|
||||
; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
|
||||
; pings completely.
|
||||
; https://php.net/oci8.ping-interval
|
||||
;oci8.ping_interval = 60
|
||||
|
||||
; Connection: Set this to a user chosen connection class to be used
|
||||
; for all pooled server requests with Oracle Database Resident
|
||||
; Connection Pooling (DRCP). To use DRCP, this value should be set to
|
||||
; the same string for all web servers running the same application,
|
||||
; the database pool must be configured, and the connection string must
|
||||
; specify to use a pooled server.
|
||||
;oci8.connection_class =
|
||||
|
||||
; High Availability: Using On lets PHP receive Fast Application
|
||||
; Notification (FAN) events generated when a database node fails. The
|
||||
; database must also be configured to post FAN events.
|
||||
;oci8.events = Off
|
||||
|
||||
; Tuning: This option enables statement caching, and specifies how
|
||||
; many statements to cache. Using 0 disables statement caching.
|
||||
; https://php.net/oci8.statement-cache-size
|
||||
;oci8.statement_cache_size = 20
|
||||
|
||||
; Tuning: Enables row prefetching and sets the default number of
|
||||
; rows that will be fetched automatically after statement execution.
|
||||
; https://php.net/oci8.default-prefetch
|
||||
;oci8.default_prefetch = 100
|
||||
|
||||
; Tuning: Sets the amount of LOB data that is internally returned from
|
||||
; Oracle Database when an Oracle LOB locator is initially retrieved as
|
||||
; part of a query. Setting this can improve performance by reducing
|
||||
; round-trips.
|
||||
; https://php.net/oci8.prefetch-lob-size
|
||||
; oci8.prefetch_lob_size = 0
|
||||
|
||||
; Compatibility. Using On means oci_close() will not close
|
||||
; oci_connect() and oci_new_connect() connections.
|
||||
; https://php.net/oci8.old-oci-close-semantics
|
||||
;oci8.old_oci_close_semantics = Off
|
||||
|
||||
[PostgreSQL]
|
||||
; Allow or prevent persistent links.
|
||||
; https://php.net/pgsql.allow-persistent
|
||||
pgsql.allow_persistent = On
|
||||
|
||||
; Detect broken persistent links always with pg_pconnect().
|
||||
; Auto reset feature requires a little overheads.
|
||||
; https://php.net/pgsql.auto-reset-persistent
|
||||
pgsql.auto_reset_persistent = Off
|
||||
|
||||
; Maximum number of persistent links. -1 means no limit.
|
||||
; https://php.net/pgsql.max-persistent
|
||||
pgsql.max_persistent = -1
|
||||
|
||||
; Maximum number of links (persistent+non persistent). -1 means no limit.
|
||||
; https://php.net/pgsql.max-links
|
||||
pgsql.max_links = -1
|
||||
|
||||
; Ignore PostgreSQL backends Notice message or not.
|
||||
; Notice message logging require a little overheads.
|
||||
; https://php.net/pgsql.ignore-notice
|
||||
pgsql.ignore_notice = 0
|
||||
|
||||
; Log PostgreSQL backends Notice message or not.
|
||||
; Unless pgsql.ignore_notice=0, module cannot log notice message.
|
||||
; https://php.net/pgsql.log-notice
|
||||
pgsql.log_notice = 0
|
||||
|
||||
[bcmath]
|
||||
; Number of decimal digits for all bcmath functions.
|
||||
; https://php.net/bcmath.scale
|
||||
bcmath.scale = 0
|
||||
|
||||
[browscap]
|
||||
; https://php.net/browscap
|
||||
;browscap = extra/browscap.ini
|
||||
|
||||
[Session]
|
||||
; Handler used to store/retrieve data.
|
||||
; https://php.net/session.save-handler
|
||||
session.save_handler = files
|
||||
|
||||
; Argument passed to save_handler. In the case of files, this is the path
|
||||
; where data files are stored. Note: Windows users have to change this
|
||||
; variable in order to use PHP's session functions.
|
||||
;
|
||||
; The path can be defined as:
|
||||
;
|
||||
; session.save_path = "N;/path"
|
||||
;
|
||||
; where N is an integer. Instead of storing all the session files in
|
||||
; /path, what this will do is use subdirectories N-levels deep, and
|
||||
; store the session data in those directories. This is useful if
|
||||
; your OS has problems with many files in one directory, and is
|
||||
; a more efficient layout for servers that handle many sessions.
|
||||
;
|
||||
; NOTE 1: PHP will not create this directory structure automatically.
|
||||
; You can use the script in the ext/session dir for that purpose.
|
||||
; NOTE 2: See the section on garbage collection below if you choose to
|
||||
; use subdirectories for session storage
|
||||
;
|
||||
; The file storage module creates files using mode 600 by default.
|
||||
; You can change that by using
|
||||
;
|
||||
; session.save_path = "N;MODE;/path"
|
||||
;
|
||||
; where MODE is the octal representation of the mode. Note that this
|
||||
; does not overwrite the process's umask.
|
||||
; https://php.net/session.save-path
|
||||
;session.save_path = "/tmp"
|
||||
|
||||
; Whether to use strict session mode.
|
||||
; Strict session mode does not accept an uninitialized session ID, and
|
||||
; regenerates the session ID if the browser sends an uninitialized session ID.
|
||||
; Strict mode protects applications from session fixation via a session adoption
|
||||
; vulnerability. It is disabled by default for maximum compatibility, but
|
||||
; enabling it is encouraged.
|
||||
; https://wiki.php.net/rfc/strict_sessions
|
||||
session.use_strict_mode = 0
|
||||
|
||||
; Whether to use cookies.
|
||||
; https://php.net/session.use-cookies
|
||||
session.use_cookies = 1
|
||||
|
||||
; https://php.net/session.cookie-secure
|
||||
;session.cookie_secure =
|
||||
|
||||
; This option forces PHP to fetch and use a cookie for storing and maintaining
|
||||
; the session id. We encourage this operation as it's very helpful in combating
|
||||
; session hijacking when not specifying and managing your own session id. It is
|
||||
; not the be-all and end-all of session hijacking defense, but it's a good start.
|
||||
; https://php.net/session.use-only-cookies
|
||||
session.use_only_cookies = 1
|
||||
|
||||
; Name of the session (used as cookie name).
|
||||
; https://php.net/session.name
|
||||
session.name = PHPSESSID
|
||||
|
||||
; Initialize session on request startup.
|
||||
; https://php.net/session.auto-start
|
||||
session.auto_start = 0
|
||||
|
||||
; Lifetime in seconds of cookie or, if 0, until browser is restarted.
|
||||
; https://php.net/session.cookie-lifetime
|
||||
session.cookie_lifetime = 0
|
||||
|
||||
; The path for which the cookie is valid.
|
||||
; https://php.net/session.cookie-path
|
||||
session.cookie_path = /
|
||||
|
||||
; The domain for which the cookie is valid.
|
||||
; https://php.net/session.cookie-domain
|
||||
session.cookie_domain =
|
||||
|
||||
; Whether or not to add the httpOnly flag to the cookie, which makes it
|
||||
; inaccessible to browser scripting languages such as JavaScript.
|
||||
; https://php.net/session.cookie-httponly
|
||||
session.cookie_httponly =
|
||||
|
||||
; Add SameSite attribute to cookie to help mitigate Cross-Site Request Forgery (CSRF/XSRF)
|
||||
; Current valid values are "Strict", "Lax" or "None". When using "None",
|
||||
; make sure to include the quotes, as `none` is interpreted like `false` in ini files.
|
||||
; https://tools.ietf.org/html/draft-west-first-party-cookies-07
|
||||
session.cookie_samesite =
|
||||
|
||||
; Handler used to serialize data. php is the standard serializer of PHP.
|
||||
; https://php.net/session.serialize-handler
|
||||
session.serialize_handler = php
|
||||
|
||||
; Defines the probability that the 'garbage collection' process is started on every
|
||||
; session initialization. The probability is calculated by using gc_probability/gc_divisor,
|
||||
; e.g. 1/100 means there is a 1% chance that the GC process starts on each request.
|
||||
; Default Value: 1
|
||||
; Development Value: 1
|
||||
; Production Value: 1
|
||||
; https://php.net/session.gc-probability
|
||||
session.gc_probability = 1
|
||||
|
||||
; Defines the probability that the 'garbage collection' process is started on every
|
||||
; session initialization. The probability is calculated by using gc_probability/gc_divisor,
|
||||
; e.g. 1/100 means there is a 1% chance that the GC process starts on each request.
|
||||
; For high volume production servers, using a value of 1000 is a more efficient approach.
|
||||
; Default Value: 100
|
||||
; Development Value: 1000
|
||||
; Production Value: 1000
|
||||
; https://php.net/session.gc-divisor
|
||||
session.gc_divisor = 1000
|
||||
|
||||
; After this number of seconds, stored data will be seen as 'garbage' and
|
||||
; cleaned up by the garbage collection process.
|
||||
; https://php.net/session.gc-maxlifetime
|
||||
session.gc_maxlifetime = 1440
|
||||
|
||||
; NOTE: If you are using the subdirectory option for storing session files
|
||||
; (see session.save_path above), then garbage collection does *not*
|
||||
; happen automatically. You will need to do your own garbage
|
||||
; collection through a shell script, cron entry, or some other method.
|
||||
; For example, the following script is the equivalent of setting
|
||||
; session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
|
||||
; find /path/to/sessions -cmin +24 -type f | xargs rm
|
||||
|
||||
; Check HTTP Referer to invalidate externally stored URLs containing ids.
|
||||
; HTTP_REFERER has to contain this substring for the session to be
|
||||
; considered as valid.
|
||||
; https://php.net/session.referer-check
|
||||
session.referer_check =
|
||||
|
||||
; Set to {nocache,private,public,} to determine HTTP caching aspects
|
||||
; or leave this empty to avoid sending anti-caching headers.
|
||||
; https://php.net/session.cache-limiter
|
||||
session.cache_limiter = nocache
|
||||
|
||||
; Document expires after n minutes.
|
||||
; https://php.net/session.cache-expire
|
||||
session.cache_expire = 180
|
||||
|
||||
; trans sid support is disabled by default.
|
||||
; Use of trans sid may risk your users' security.
|
||||
; Use this option with caution.
|
||||
; - User may send URL contains active session ID
|
||||
; to other person via. email/irc/etc.
|
||||
; - URL that contains active session ID may be stored
|
||||
; in publicly accessible computer.
|
||||
; - User may access your site with the same session ID
|
||||
; always using URL stored in browser's history or bookmarks.
|
||||
; https://php.net/session.use-trans-sid
|
||||
session.use_trans_sid = 0
|
||||
|
||||
; Set session ID character length. This value could be between 22 to 256.
|
||||
; Shorter length than default is supported only for compatibility reason.
|
||||
; Users should use 32 or more chars.
|
||||
; https://php.net/session.sid-length
|
||||
; Default Value: 32
|
||||
; Development Value: 26
|
||||
; Production Value: 26
|
||||
session.sid_length = 26
|
||||
|
||||
; The URL rewriter will look for URLs in a defined set of HTML tags.
|
||||
; <form> is special; if you include them here, the rewriter will
|
||||
; add a hidden <input> field with the info which is otherwise appended
|
||||
; to URLs. <form> tag's action attribute URL will not be modified
|
||||
; unless it is specified.
|
||||
; Note that all valid entries require a "=", even if no value follows.
|
||||
; Default Value: "a=href,area=href,frame=src,form="
|
||||
; Development Value: "a=href,area=href,frame=src,form="
|
||||
; Production Value: "a=href,area=href,frame=src,form="
|
||||
; https://php.net/url-rewriter.tags
|
||||
session.trans_sid_tags = "a=href,area=href,frame=src,form="
|
||||
|
||||
; URL rewriter does not rewrite absolute URLs by default.
|
||||
; To enable rewrites for absolute paths, target hosts must be specified
|
||||
; at RUNTIME. i.e. use ini_set()
|
||||
; <form> tags is special. PHP will check action attribute's URL regardless
|
||||
; of session.trans_sid_tags setting.
|
||||
; If no host is defined, HTTP_HOST will be used for allowed host.
|
||||
; Example value: php.net,www.php.net,wiki.php.net
|
||||
; Use "," for multiple hosts. No spaces are allowed.
|
||||
; Default Value: ""
|
||||
; Development Value: ""
|
||||
; Production Value: ""
|
||||
;session.trans_sid_hosts=""
|
||||
|
||||
; Define how many bits are stored in each character when converting
|
||||
; the binary hash data to something readable.
|
||||
; Possible values:
|
||||
; 4 (4 bits: 0-9, a-f)
|
||||
; 5 (5 bits: 0-9, a-v)
|
||||
; 6 (6 bits: 0-9, a-z, A-Z, "-", ",")
|
||||
; Default Value: 4
|
||||
; Development Value: 5
|
||||
; Production Value: 5
|
||||
; https://php.net/session.hash-bits-per-character
|
||||
session.sid_bits_per_character = 5
|
||||
|
||||
; Enable upload progress tracking in $_SESSION
|
||||
; Default Value: On
|
||||
; Development Value: On
|
||||
; Production Value: On
|
||||
; https://php.net/session.upload-progress.enabled
|
||||
;session.upload_progress.enabled = On
|
||||
|
||||
; Cleanup the progress information as soon as all POST data has been read
|
||||
; (i.e. upload completed).
|
||||
; Default Value: On
|
||||
; Development Value: On
|
||||
; Production Value: On
|
||||
; https://php.net/session.upload-progress.cleanup
|
||||
;session.upload_progress.cleanup = On
|
||||
|
||||
; A prefix used for the upload progress key in $_SESSION
|
||||
; Default Value: "upload_progress_"
|
||||
; Development Value: "upload_progress_"
|
||||
; Production Value: "upload_progress_"
|
||||
; https://php.net/session.upload-progress.prefix
|
||||
;session.upload_progress.prefix = "upload_progress_"
|
||||
|
||||
; The index name (concatenated with the prefix) in $_SESSION
|
||||
; containing the upload progress information
|
||||
; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
|
||||
; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
|
||||
; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
|
||||
; https://php.net/session.upload-progress.name
|
||||
;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
|
||||
|
||||
; How frequently the upload progress should be updated.
|
||||
; Given either in percentages (per-file), or in bytes
|
||||
; Default Value: "1%"
|
||||
; Development Value: "1%"
|
||||
; Production Value: "1%"
|
||||
; https://php.net/session.upload-progress.freq
|
||||
;session.upload_progress.freq = "1%"
|
||||
|
||||
; The minimum delay between updates, in seconds
|
||||
; Default Value: 1
|
||||
; Development Value: 1
|
||||
; Production Value: 1
|
||||
; https://php.net/session.upload-progress.min-freq
|
||||
;session.upload_progress.min_freq = "1"
|
||||
|
||||
; Only write session data when session data is changed. Enabled by default.
|
||||
; https://php.net/session.lazy-write
|
||||
;session.lazy_write = On
|
||||
|
||||
[Assertion]
|
||||
; Switch whether to compile assertions at all (to have no overhead at run-time)
|
||||
; -1: Do not compile at all
|
||||
; 0: Jump over assertion at run-time
|
||||
; 1: Execute assertions
|
||||
; Changing from or to a negative value is only possible in php.ini!
|
||||
; (For turning assertions on and off at run-time, toggle zend.assertions between the values 1 and 0)
|
||||
; Default Value: 1
|
||||
; Development Value: 1
|
||||
; Production Value: -1
|
||||
; https://php.net/zend.assertions
|
||||
zend.assertions = -1
|
||||
|
||||
[COM]
|
||||
; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
|
||||
; https://php.net/com.typelib-file
|
||||
;com.typelib_file =
|
||||
|
||||
; allow Distributed-COM calls
|
||||
; https://php.net/com.allow-dcom
|
||||
;com.allow_dcom = true
|
||||
|
||||
; autoregister constants of a component's typelib on com_load()
|
||||
; https://php.net/com.autoregister-typelib
|
||||
;com.autoregister_typelib = true
|
||||
|
||||
; register constants casesensitive
|
||||
; https://php.net/com.autoregister-casesensitive
|
||||
;com.autoregister_casesensitive = false
|
||||
|
||||
; show warnings on duplicate constant registrations
|
||||
; https://php.net/com.autoregister-verbose
|
||||
;com.autoregister_verbose = true
|
||||
|
||||
; The default character set code-page to use when passing strings to and from COM objects.
|
||||
; Default: system ANSI code page
|
||||
;com.code_page=
|
||||
|
||||
; The version of the .NET framework to use. The value of the setting are the first three parts
|
||||
; of the framework's version number, separated by dots, and prefixed with "v", e.g. "v4.0.30319".
|
||||
;com.dotnet_version=
|
||||
|
||||
[mbstring]
|
||||
; language for internal character representation.
|
||||
; This affects mb_send_mail() and mbstring.detect_order.
|
||||
; https://php.net/mbstring.language
|
||||
;mbstring.language = Japanese
|
||||
|
||||
; Use of this INI entry is deprecated, use global internal_encoding instead.
|
||||
; internal/script encoding.
|
||||
; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
|
||||
; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
|
||||
; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
|
||||
;mbstring.internal_encoding =
|
||||
|
||||
; Use of this INI entry is deprecated, use global input_encoding instead.
|
||||
; http input encoding.
|
||||
; mbstring.encoding_translation = On is needed to use this setting.
|
||||
; If empty, default_charset or input_encoding or mbstring.input is used.
|
||||
; The precedence is: default_charset < input_encoding < mbstring.http_input
|
||||
; https://php.net/mbstring.http-input
|
||||
;mbstring.http_input =
|
||||
|
||||
; Use of this INI entry is deprecated, use global output_encoding instead.
|
||||
; http output encoding.
|
||||
; mb_output_handler must be registered as output buffer to function.
|
||||
; If empty, default_charset or output_encoding or mbstring.http_output is used.
|
||||
; The precedence is: default_charset < output_encoding < mbstring.http_output
|
||||
; To use an output encoding conversion, mbstring's output handler must be set
|
||||
; otherwise output encoding conversion cannot be performed.
|
||||
; https://php.net/mbstring.http-output
|
||||
;mbstring.http_output =
|
||||
|
||||
; enable automatic encoding translation according to
|
||||
; mbstring.internal_encoding setting. Input chars are
|
||||
; converted to internal encoding by setting this to On.
|
||||
; Note: Do _not_ use automatic encoding translation for
|
||||
; portable libs/applications.
|
||||
; https://php.net/mbstring.encoding-translation
|
||||
;mbstring.encoding_translation = Off
|
||||
|
||||
; automatic encoding detection order.
|
||||
; "auto" detect order is changed according to mbstring.language
|
||||
; https://php.net/mbstring.detect-order
|
||||
;mbstring.detect_order = auto
|
||||
|
||||
; substitute_character used when character cannot be converted
|
||||
; one from another
|
||||
; https://php.net/mbstring.substitute-character
|
||||
;mbstring.substitute_character = none
|
||||
|
||||
; Enable strict encoding detection.
|
||||
;mbstring.strict_detection = Off
|
||||
|
||||
; This directive specifies the regex pattern of content types for which mb_output_handler()
|
||||
; is activated.
|
||||
; Default: mbstring.http_output_conv_mimetypes=^(text/|application/xhtml\+xml)
|
||||
;mbstring.http_output_conv_mimetypes=
|
||||
|
||||
; This directive specifies maximum stack depth for mbstring regular expressions. It is similar
|
||||
; to the pcre.recursion_limit for PCRE.
|
||||
;mbstring.regex_stack_limit=100000
|
||||
|
||||
; This directive specifies maximum retry count for mbstring regular expressions. It is similar
|
||||
; to the pcre.backtrack_limit for PCRE.
|
||||
;mbstring.regex_retry_limit=1000000
|
||||
|
||||
[gd]
|
||||
; Tell the jpeg decode to ignore warnings and try to create
|
||||
; a gd image. The warning will then be displayed as notices
|
||||
; disabled by default
|
||||
; https://php.net/gd.jpeg-ignore-warning
|
||||
;gd.jpeg_ignore_warning = 1
|
||||
|
||||
[exif]
|
||||
; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
|
||||
; With mbstring support this will automatically be converted into the encoding
|
||||
; given by corresponding encode setting. When empty mbstring.internal_encoding
|
||||
; is used. For the decode settings you can distinguish between motorola and
|
||||
; intel byte order. A decode setting cannot be empty.
|
||||
; https://php.net/exif.encode-unicode
|
||||
;exif.encode_unicode = ISO-8859-15
|
||||
|
||||
; https://php.net/exif.decode-unicode-motorola
|
||||
;exif.decode_unicode_motorola = UCS-2BE
|
||||
|
||||
; https://php.net/exif.decode-unicode-intel
|
||||
;exif.decode_unicode_intel = UCS-2LE
|
||||
|
||||
; https://php.net/exif.encode-jis
|
||||
;exif.encode_jis =
|
||||
|
||||
; https://php.net/exif.decode-jis-motorola
|
||||
;exif.decode_jis_motorola = JIS
|
||||
|
||||
; https://php.net/exif.decode-jis-intel
|
||||
;exif.decode_jis_intel = JIS
|
||||
|
||||
[Tidy]
|
||||
; The path to a default tidy configuration file to use when using tidy
|
||||
; https://php.net/tidy.default-config
|
||||
;tidy.default_config = /usr/local/lib/php/default.tcfg
|
||||
|
||||
; Should tidy clean and repair output automatically?
|
||||
; WARNING: Do not use this option if you are generating non-html content
|
||||
; such as dynamic images
|
||||
; https://php.net/tidy.clean-output
|
||||
tidy.clean_output = Off
|
||||
|
||||
[soap]
|
||||
; Enables or disables WSDL caching feature.
|
||||
; https://php.net/soap.wsdl-cache-enabled
|
||||
soap.wsdl_cache_enabled=1
|
||||
|
||||
; Sets the directory name where SOAP extension will put cache files.
|
||||
; https://php.net/soap.wsdl-cache-dir
|
||||
soap.wsdl_cache_dir="/tmp"
|
||||
|
||||
; (time to live) Sets the number of second while cached file will be used
|
||||
; instead of original one.
|
||||
; https://php.net/soap.wsdl-cache-ttl
|
||||
soap.wsdl_cache_ttl=86400
|
||||
|
||||
; Sets the size of the cache limit. (Max. number of WSDL files to cache)
|
||||
soap.wsdl_cache_limit = 5
|
||||
|
||||
[sysvshm]
|
||||
; A default size of the shared memory segment
|
||||
;sysvshm.init_mem = 10000
|
||||
|
||||
[ldap]
|
||||
; Sets the maximum number of open links or -1 for unlimited.
|
||||
ldap.max_links = -1
|
||||
|
||||
[dba]
|
||||
;dba.default_handler=
|
||||
|
||||
[opcache]
|
||||
; Determines if Zend OPCache is enabled
|
||||
;opcache.enable=1
|
||||
|
||||
; Determines if Zend OPCache is enabled for the CLI version of PHP
|
||||
;opcache.enable_cli=0
|
||||
|
||||
; The OPcache shared memory storage size.
|
||||
;opcache.memory_consumption=128
|
||||
|
||||
; The amount of memory for interned strings in Mbytes.
|
||||
;opcache.interned_strings_buffer=8
|
||||
|
||||
; The maximum number of keys (scripts) in the OPcache hash table.
|
||||
; Only numbers between 200 and 1000000 are allowed.
|
||||
;opcache.max_accelerated_files=10000
|
||||
|
||||
; The maximum percentage of "wasted" memory until a restart is scheduled.
|
||||
;opcache.max_wasted_percentage=5
|
||||
|
||||
; When this directive is enabled, the OPcache appends the current working
|
||||
; directory to the script key, thus eliminating possible collisions between
|
||||
; files with the same name (basename). Disabling the directive improves
|
||||
; performance, but may break existing applications.
|
||||
;opcache.use_cwd=1
|
||||
|
||||
; When disabled, you must reset the OPcache manually or restart the
|
||||
; webserver for changes to the filesystem to take effect.
|
||||
;opcache.validate_timestamps=1
|
||||
|
||||
; How often (in seconds) to check file timestamps for changes to the shared
|
||||
; memory storage allocation. ("1" means validate once per second, but only
|
||||
; once per request. "0" means always validate)
|
||||
;opcache.revalidate_freq=2
|
||||
|
||||
; Enables or disables file search in include_path optimization
|
||||
;opcache.revalidate_path=0
|
||||
|
||||
; If disabled, all PHPDoc comments are dropped from the code to reduce the
|
||||
; size of the optimized code.
|
||||
;opcache.save_comments=1
|
||||
|
||||
; If enabled, compilation warnings (including notices and deprecations) will
|
||||
; be recorded and replayed each time a file is included. Otherwise, compilation
|
||||
; warnings will only be emitted when the file is first cached.
|
||||
;opcache.record_warnings=0
|
||||
|
||||
; Allow file existence override (file_exists, etc.) performance feature.
|
||||
;opcache.enable_file_override=0
|
||||
|
||||
; A bitmask, where each bit enables or disables the appropriate OPcache
|
||||
; passes
|
||||
;opcache.optimization_level=0x7FFFBFFF
|
||||
|
||||
;opcache.dups_fix=0
|
||||
|
||||
; The location of the OPcache blacklist file (wildcards allowed).
|
||||
; Each OPcache blacklist file is a text file that holds the names of files
|
||||
; that should not be accelerated. The file format is to add each filename
|
||||
; to a new line. The filename may be a full path or just a file prefix
|
||||
; (i.e., /var/www/x blacklists all the files and directories in /var/www
|
||||
; that start with 'x'). Line starting with a ; are ignored (comments).
|
||||
;opcache.blacklist_filename=
|
||||
|
||||
; Allows exclusion of large files from being cached. By default all files
|
||||
; are cached.
|
||||
;opcache.max_file_size=0
|
||||
|
||||
; How long to wait (in seconds) for a scheduled restart to begin if the cache
|
||||
; is not being accessed.
|
||||
;opcache.force_restart_timeout=180
|
||||
|
||||
; OPcache error_log file name. Empty string assumes "stderr".
|
||||
;opcache.error_log=
|
||||
|
||||
; All OPcache errors go to the Web server log.
|
||||
; By default, only fatal errors (level 0) or errors (level 1) are logged.
|
||||
; You can also enable warnings (level 2), info messages (level 3) or
|
||||
; debug messages (level 4).
|
||||
;opcache.log_verbosity_level=1
|
||||
|
||||
; Preferred Shared Memory back-end. Leave empty and let the system decide.
|
||||
;opcache.preferred_memory_model=
|
||||
|
||||
; Protect the shared memory from unexpected writing during script execution.
|
||||
; Useful for internal debugging only.
|
||||
;opcache.protect_memory=0
|
||||
|
||||
; Allows calling OPcache API functions only from PHP scripts which path is
|
||||
; started from specified string. The default "" means no restriction
|
||||
;opcache.restrict_api=
|
||||
|
||||
; Mapping base of shared memory segments (for Windows only). All the PHP
|
||||
; processes have to map shared memory into the same address space. This
|
||||
; directive allows to manually fix the "Unable to reattach to base address"
|
||||
; errors.
|
||||
;opcache.mmap_base=
|
||||
|
||||
; Facilitates multiple OPcache instances per user (for Windows only). All PHP
|
||||
; processes with the same cache ID and user share an OPcache instance.
|
||||
;opcache.cache_id=
|
||||
|
||||
; Enables and sets the second level cache directory.
|
||||
; It should improve performance when SHM memory is full, at server restart or
|
||||
; SHM reset. The default "" disables file based caching.
|
||||
;opcache.file_cache=
|
||||
|
||||
; Enables or disables opcode caching in shared memory.
|
||||
;opcache.file_cache_only=0
|
||||
|
||||
; Enables or disables checksum validation when script loaded from file cache.
|
||||
;opcache.file_cache_consistency_checks=1
|
||||
|
||||
; Implies opcache.file_cache_only=1 for a certain process that failed to
|
||||
; reattach to the shared memory (for Windows only). Explicitly enabled file
|
||||
; cache is required.
|
||||
;opcache.file_cache_fallback=1
|
||||
|
||||
; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
|
||||
; Under certain circumstances (if only a single global PHP process is
|
||||
; started from which all others fork), this can increase performance
|
||||
; by a tiny amount because TLB misses are reduced. On the other hand, this
|
||||
; delays PHP startup, increases memory usage and degrades performance
|
||||
; under memory pressure - use with care.
|
||||
; Requires appropriate OS configuration.
|
||||
;opcache.huge_code_pages=0
|
||||
|
||||
; Validate cached file permissions.
|
||||
;opcache.validate_permission=0
|
||||
|
||||
; Prevent name collisions in chroot'ed environment.
|
||||
;opcache.validate_root=0
|
||||
|
||||
; If specified, it produces opcode dumps for debugging different stages of
|
||||
; optimizations.
|
||||
;opcache.opt_debug_level=0
|
||||
|
||||
; Specifies a PHP script that is going to be compiled and executed at server
|
||||
; start-up.
|
||||
; https://php.net/opcache.preload
|
||||
;opcache.preload=
|
||||
|
||||
; Preloading code as root is not allowed for security reasons. This directive
|
||||
; facilitates to let the preloading to be run as another user.
|
||||
; https://php.net/opcache.preload_user
|
||||
;opcache.preload_user=
|
||||
|
||||
; Prevents caching files that are less than this number of seconds old. It
|
||||
; protects from caching of incompletely updated files. In case all file updates
|
||||
; on your site are atomic, you may increase performance by setting it to "0".
|
||||
;opcache.file_update_protection=2
|
||||
|
||||
; Absolute path used to store shared lockfiles (for *nix only).
|
||||
;opcache.lockfile_path=/tmp
|
||||
|
||||
[curl]
|
||||
; A default value for the CURLOPT_CAINFO option. This is required to be an
|
||||
; absolute path.
|
||||
;curl.cainfo =
|
||||
|
||||
[openssl]
|
||||
; The location of a Certificate Authority (CA) file on the local filesystem
|
||||
; to use when verifying the identity of SSL/TLS peers. Most users should
|
||||
; not specify a value for this directive as PHP will attempt to use the
|
||||
; OS-managed cert stores in its absence. If specified, this value may still
|
||||
; be overridden on a per-stream basis via the "cafile" SSL stream context
|
||||
; option.
|
||||
;openssl.cafile=
|
||||
|
||||
; If openssl.cafile is not specified or if the CA file is not found, the
|
||||
; directory pointed to by openssl.capath is searched for a suitable
|
||||
; certificate. This value must be a correctly hashed certificate directory.
|
||||
; Most users should not specify a value for this directive as PHP will
|
||||
; attempt to use the OS-managed cert stores in its absence. If specified,
|
||||
; this value may still be overridden on a per-stream basis via the "capath"
|
||||
; SSL stream context option.
|
||||
;openssl.capath=
|
||||
|
||||
[ffi]
|
||||
; FFI API restriction. Possible values:
|
||||
; "preload" - enabled in CLI scripts and preloaded files (default)
|
||||
; "false" - always disabled
|
||||
; "true" - always enabled
|
||||
;ffi.enable=preload
|
||||
|
||||
; List of headers files to preload, wildcard patterns allowed.
|
||||
;ffi.preload=
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,680 @@
|
||||
1. libmagic (ext/fileinfo) see ext/fileinfo/libmagic/LICENSE
|
||||
2. libmbfl (ext/mbstring) see ext/mbstring/libmbfl/LICENSE
|
||||
3. pcre2lib (ext/pcre)
|
||||
4. ext/standard crypt
|
||||
5. ext/standard crypt's blowfish implementation
|
||||
6. ext/standard/rand
|
||||
7. ext/standard/scanf
|
||||
8. ext/standard/strnatcmp.c
|
||||
9. ext/standard/uuencode
|
||||
10. main/snprintf.c
|
||||
11. main/strlcat
|
||||
12. main/strlcpy
|
||||
13. libgd (ext/gd)
|
||||
14. ext/phar portions of tar implementations
|
||||
15. ext/phar/zip.c portion extracted from libzip
|
||||
16. libbcmath (ext/bcmath) see ext/bcmath/libbcmath/LICENSE
|
||||
17. ext/mbstring/ucgendat portions based on the ucgendat.c from the OpenLDAP
|
||||
18. avifinfo (ext/standard/libavifinfo) see ext/standard/libavifinfo/LICENSE
|
||||
19. xxHash (ext/hash/xxhash)
|
||||
|
||||
|
||||
3. pcre2lib (ext/pcre)
|
||||
|
||||
PCRE2 LICENCE
|
||||
-------------
|
||||
|
||||
PCRE2 is a library of functions to support regular expressions whose syntax
|
||||
and semantics are as close as possible to those of the Perl 5 language.
|
||||
|
||||
Releases 10.00 and above of PCRE2 are distributed under the terms of the "BSD"
|
||||
licence, as specified below, with one exemption for certain binary
|
||||
redistributions. The documentation for PCRE2, supplied in the "doc" directory,
|
||||
is distributed under the same terms as the software itself. The data in the
|
||||
testdata directory is not copyrighted and is in the public domain.
|
||||
|
||||
The basic library functions are written in C and are freestanding. Also
|
||||
included in the distribution is a just-in-time compiler that can be used to
|
||||
optimize pattern matching. This is an optional feature that can be omitted when
|
||||
the library is built.
|
||||
|
||||
|
||||
THE BASIC LIBRARY FUNCTIONS
|
||||
---------------------------
|
||||
|
||||
Written by: Philip Hazel
|
||||
Email local part: ph10
|
||||
Email domain: cam.ac.uk
|
||||
|
||||
University of Cambridge Computing Service,
|
||||
Cambridge, England.
|
||||
|
||||
Copyright (c) 1997-2019 University of Cambridge
|
||||
All rights reserved.
|
||||
|
||||
|
||||
PCRE2 JUST-IN-TIME COMPILATION SUPPORT
|
||||
--------------------------------------
|
||||
|
||||
Written by: Zoltan Herczeg
|
||||
Email local part: hzmester
|
||||
Email domain: freemail.hu
|
||||
|
||||
Copyright(c) 2010-2019 Zoltan Herczeg
|
||||
All rights reserved.
|
||||
|
||||
|
||||
STACK-LESS JUST-IN-TIME COMPILER
|
||||
--------------------------------
|
||||
|
||||
Written by: Zoltan Herczeg
|
||||
Email local part: hzmester
|
||||
Email domain: freemail.hu
|
||||
|
||||
Copyright(c) 2009-2019 Zoltan Herczeg
|
||||
All rights reserved.
|
||||
|
||||
|
||||
THE "BSD" LICENCE
|
||||
-----------------
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright notices,
|
||||
this list of conditions and the following disclaimer.
|
||||
|
||||
* Redistributions in binary form must reproduce the above copyright
|
||||
notices, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
|
||||
* Neither the name of the University of Cambridge nor the names of any
|
||||
contributors may be used to endorse or promote products derived from this
|
||||
software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
||||
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
|
||||
EXEMPTION FOR BINARY LIBRARY-LIKE PACKAGES
|
||||
------------------------------------------
|
||||
|
||||
The second condition in the BSD licence (covering binary redistributions) does
|
||||
not apply all the way down a chain of software. If binary package A includes
|
||||
PCRE2, it must respect the condition, but if package B is software that
|
||||
includes package A, the condition is not imposed on package B unless it uses
|
||||
PCRE2 independently.
|
||||
|
||||
End
|
||||
|
||||
|
||||
4. ext/standard crypt
|
||||
|
||||
FreeSec: libcrypt for NetBSD
|
||||
|
||||
Copyright (c) 1994 David Burren
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions
|
||||
are met:
|
||||
1. Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
2. Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
3. Neither the name of the author nor the names of other contributors
|
||||
may be used to endorse or promote products derived from this software
|
||||
without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGE.
|
||||
|
||||
|
||||
5. ext/standard crypt's blowfish implementation
|
||||
|
||||
The crypt_blowfish homepage is:
|
||||
|
||||
http://www.openwall.com/crypt/
|
||||
|
||||
This code comes from John the Ripper password cracker, with reentrant
|
||||
and crypt(3) interfaces added, but optimizations specific to password
|
||||
cracking removed.
|
||||
|
||||
Written by Solar Designer <solar at openwall.com> in 1998-2011.
|
||||
No copyright is claimed, and the software is hereby placed in the public
|
||||
domain. In case this attempt to disclaim copyright and place the software
|
||||
in the public domain is deemed null and void, then the software is
|
||||
Copyright (c) 1998-2011 Solar Designer and it is hereby released to the
|
||||
general public under the following terms:
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted.
|
||||
|
||||
There's ABSOLUTELY NO WARRANTY, express or implied.
|
||||
|
||||
It is my intent that you should be able to use this on your system,
|
||||
as part of a software package, or anywhere else to improve security,
|
||||
ensure compatibility, or for any other purpose. I would appreciate
|
||||
it if you give credit where it is due and keep your modifications in
|
||||
the public domain as well, but I don't require that in order to let
|
||||
you place this code and any modifications you make under a license
|
||||
of your choice.
|
||||
|
||||
This implementation is mostly compatible with OpenBSD's bcrypt.c (prefix
|
||||
"$2a$") by Niels Provos <provos at citi.umich.edu>, and uses some of his
|
||||
ideas. The password hashing algorithm was designed by David Mazieres
|
||||
<dm at lcs.mit.edu>. For more information on the level of compatibility,
|
||||
please refer to the comments in BF_set_key() and to the crypt(3) man page
|
||||
included in the crypt_blowfish tarball.
|
||||
|
||||
There's a paper on the algorithm that explains its design decisions:
|
||||
|
||||
http://www.usenix.org/events/usenix99/provos.html
|
||||
|
||||
Some of the tricks in BF_ROUND might be inspired by Eric Young's
|
||||
Blowfish library (I can't be sure if I would think of something if I
|
||||
hadn't seen his code).
|
||||
|
||||
|
||||
6. ext/standard/rand
|
||||
|
||||
The following php_mt_...() functions are based on a C++ class MTRand by
|
||||
Richard J. Wagner. For more information see the web page at
|
||||
http://www-personal.engin.umich.edu/~wagnerr/MersenneTwister.html
|
||||
|
||||
Mersenne Twister random number generator -- a C++ class MTRand
|
||||
Based on code by Makoto Matsumoto, Takuji Nishimura, and Shawn Cokus
|
||||
Richard J. Wagner v1.0 15 May 2003 rjwagner@writeme.com
|
||||
|
||||
The Mersenne Twister is an algorithm for generating random numbers. It
|
||||
was designed with consideration of the flaws in various other generators.
|
||||
The period, 2^19937-1, and the order of equidistribution, 623 dimensions,
|
||||
are far greater. The generator is also fast; it avoids multiplication and
|
||||
division, and it benefits from caches and pipelines. For more information
|
||||
see the inventors' web page at http://www.math.keio.ac.jp/~matumoto/emt.html
|
||||
|
||||
Reference
|
||||
M. Matsumoto and T. Nishimura, "Mersenne Twister: A 623-Dimensionally
|
||||
Equidistributed Uniform Pseudo-Random Number Generator", ACM Transactions on
|
||||
Modeling and Computer Simulation, Vol. 8, No. 1, January 1998, pp 3-30.
|
||||
|
||||
Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura,
|
||||
Copyright (C) 2000 - 2003, Richard J. Wagner
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions
|
||||
are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
|
||||
2. Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
|
||||
3. The names of its contributors may not be used to endorse or promote
|
||||
products derived from this software without specific prior written
|
||||
permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
||||
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
|
||||
7. ext/standard/scanf
|
||||
|
||||
scanf.c --
|
||||
|
||||
This file contains the base code which implements sscanf and by extension
|
||||
fscanf. Original code is from TCL8.3.0 and bears the following copyright:
|
||||
|
||||
This software is copyrighted by the Regents of the University of
|
||||
California, Sun Microsystems, Inc., Scriptics Corporation,
|
||||
and other parties. The following terms apply to all files associated
|
||||
with the software unless explicitly disclaimed in individual files.
|
||||
|
||||
The authors hereby grant permission to use, copy, modify, distribute,
|
||||
and license this software and its documentation for any purpose, provided
|
||||
that existing copyright notices are retained in all copies and that this
|
||||
notice is included verbatim in any distributions. No written agreement,
|
||||
license, or royalty fee is required for any of the authorized uses.
|
||||
Modifications to this software may be copyrighted by their authors
|
||||
and need not follow the licensing terms described here, provided that
|
||||
the new terms are clearly indicated on the first page of each file where
|
||||
they apply.
|
||||
|
||||
IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY
|
||||
FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
|
||||
ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
|
||||
DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
|
||||
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE
|
||||
IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE
|
||||
NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
|
||||
MODIFICATIONS.
|
||||
|
||||
GOVERNMENT USE: If you are acquiring this software on behalf of the
|
||||
U.S. government, the Government shall have only "Restricted Rights"
|
||||
in the software and related documentation as defined in the Federal
|
||||
Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you
|
||||
are acquiring the software on behalf of the Department of Defense, the
|
||||
software shall be classified as "Commercial Computer Software" and the
|
||||
Government shall have only "Restricted Rights" as defined in Clause
|
||||
252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, the
|
||||
authors grant the U.S. Government and others acting in its behalf
|
||||
permission to use and distribute the software in accordance with the
|
||||
terms specified in this license.
|
||||
|
||||
|
||||
8. ext/standard/strnatcmp.c
|
||||
|
||||
strnatcmp.c -- Perform 'natural order' comparisons of strings in C.
|
||||
Copyright (C) 2000 by Martin Pool <mbp@humbug.org.au>
|
||||
|
||||
This software is provided 'as-is', without any express or implied
|
||||
warranty. In no event will the authors be held liable for any damages
|
||||
arising from the use of this software.
|
||||
|
||||
Permission is granted to anyone to use this software for any purpose,
|
||||
including commercial applications, and to alter it and redistribute it
|
||||
freely, subject to the following restrictions:
|
||||
|
||||
1. The origin of this software must not be misrepresented; you must not
|
||||
claim that you wrote the original software. If you use this software
|
||||
in a product, an acknowledgment in the product documentation would be
|
||||
appreciated but is not required.
|
||||
2. Altered source versions must be plainly marked as such, and must not be
|
||||
misrepresented as being the original software.
|
||||
3. This notice may not be removed or altered from any source distribution.
|
||||
|
||||
|
||||
9. ext/standard/uuencode
|
||||
|
||||
Portions of this code are based on Berkeley's uuencode/uudecode
|
||||
implementation.
|
||||
|
||||
Copyright (c) 1983, 1993
|
||||
The Regents of the University of California. All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions
|
||||
are met:
|
||||
1. Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
2. Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
3. All advertising materials mentioning features or use of this software
|
||||
must display the following acknowledgement:
|
||||
This product includes software developed by the University of
|
||||
California, Berkeley and its contributors.
|
||||
4. Neither the name of the University nor the names of its contributors
|
||||
may be used to endorse or promote products derived from this software
|
||||
without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGE.
|
||||
|
||||
|
||||
10. main/snprintf.c
|
||||
|
||||
Copyright (c) 2002, 2006 Todd C. Miller <Todd.Miller@courtesan.com>
|
||||
|
||||
Permission to use, copy, modify, and distribute this software for any
|
||||
purpose with or without fee is hereby granted, provided that the above
|
||||
copyright notice and this permission notice appear in all copies.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
Sponsored in part by the Defense Advanced Research Projects
|
||||
Agency (DARPA) and Air Force Research Laboratory, Air Force
|
||||
Materiel Command, USAF, under agreement number F39502-99-1-0512.
|
||||
|
||||
main/spprintf
|
||||
Copyright (c) 1995-1998 The Apache Group. All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions
|
||||
are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
|
||||
2. Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in
|
||||
the documentation and/or other materials provided with the
|
||||
distribution.
|
||||
|
||||
3. All advertising materials mentioning features or use of this
|
||||
software must display the following acknowledgment:
|
||||
"This product includes software developed by the Apache Group
|
||||
for use in the Apache HTTP server project (http://www.apache.org/)."
|
||||
|
||||
4. The names "Apache Server" and "Apache Group" must not be used to
|
||||
endorse or promote products derived from this software without
|
||||
prior written permission.
|
||||
|
||||
5. Redistributions of any form whatsoever must retain the following
|
||||
acknowledgment:
|
||||
"This product includes software developed by the Apache Group
|
||||
for use in the Apache HTTP server project (http://www.apache.org/)."
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY
|
||||
EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE GROUP OR
|
||||
ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
||||
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
====================================================================
|
||||
|
||||
This software consists of voluntary contributions made by many
|
||||
individuals on behalf of the Apache Group and was originally based
|
||||
on public domain software written at the National Center for
|
||||
Supercomputing Applications, University of Illinois, Urbana-Champaign.
|
||||
For more information on the Apache Group and the Apache HTTP server
|
||||
project, please see <http://www.apache.org/>.
|
||||
|
||||
This code is based on, and used with the permission of, the
|
||||
SIO stdio-replacement strx_* functions by Panos Tsirigotis
|
||||
<panos@alumni.cs.colorado.edu> for xinetd.
|
||||
|
||||
|
||||
11. main/strlcat
|
||||
12. main/strlcpy
|
||||
|
||||
Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions
|
||||
are met:
|
||||
1. Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
2. Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
3. The name of the author may not be used to endorse or promote products
|
||||
derived from this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
||||
OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
|
||||
13. libgd (ext/gd)
|
||||
|
||||
* Portions copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
|
||||
2002, 2003, 2004 by Cold Spring Harbor Laboratory. Funded under
|
||||
Grant P41-RR02188 by the National Institutes of Health.
|
||||
|
||||
* Portions copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
|
||||
2004 by Boutell.Com, Inc.
|
||||
|
||||
* Portions relating to GD2 format copyright 1999, 2000, 2001, 2002,
|
||||
2003, 2004 Philip Warner.
|
||||
|
||||
* Portions relating to PNG copyright 1999, 2000, 2001, 2002, 2003,
|
||||
2004 Greg Roelofs.
|
||||
|
||||
* Portions relating to gdttf.c copyright 1999, 2000, 2001, 2002,
|
||||
2003, 2004 John Ellson (ellson@graphviz.org).
|
||||
|
||||
* Portions relating to gdft.c copyright 2001, 2002, 2003, 2004 John
|
||||
Ellson (ellson@graphviz.org).
|
||||
|
||||
* Portions copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
|
||||
Pierre-Alain Joye (pierre@libgd.org).
|
||||
|
||||
* Portions relating to JPEG and to color quantization copyright
|
||||
2000, 2001, 2002, 2003, 2004, Doug Becker and copyright (C) 1994,
|
||||
1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Thomas
|
||||
G. Lane. This software is based in part on the work of the
|
||||
Independent JPEG Group. See the file README-JPEG.TXT for more
|
||||
information.
|
||||
|
||||
* Portions relating to GIF compression copyright 1989 by Jef
|
||||
Poskanzer and David Rowley, with modifications for thread safety
|
||||
by Thomas Boutell.
|
||||
|
||||
* Portions relating to GIF decompression copyright 1990, 1991, 1993
|
||||
by David Koblas, with modifications for thread safety by Thomas
|
||||
Boutell.
|
||||
|
||||
* Portions relating to WBMP copyright 2000, 2001, 2002, 2003, 2004
|
||||
Maurice Szmurlo and Johan Van den Brande.
|
||||
|
||||
* Portions relating to GIF animations copyright 2004 Jaakko Hyvätti
|
||||
(jaakko.hyvatti@iki.fi)
|
||||
|
||||
Permission has been granted to copy, distribute and modify gd in
|
||||
any context without fee, including a commercial application,
|
||||
provided that this notice is present in user-accessible supporting
|
||||
documentation.
|
||||
|
||||
This does not affect your ownership of the derived work itself,
|
||||
and the intent is to assure proper credit for the authors of gd,
|
||||
not to interfere with your productive use of gd. If you have
|
||||
questions, ask. "Derived works" includes all programs that utilize
|
||||
the library. Credit must be given in user-accessible
|
||||
documentation.
|
||||
|
||||
This software is provided "AS IS." The copyright holders disclaim
|
||||
all warranties, either express or implied, including but not
|
||||
limited to implied warranties of merchantability and fitness for a
|
||||
particular purpose, with respect to this code and accompanying
|
||||
documentation.
|
||||
|
||||
Although their code does not appear in the current release, the
|
||||
authors wish to thank David Koblas, David Rowley, and Hutchison
|
||||
Avenue Software Corporation for their prior contributions.
|
||||
|
||||
END OF COPYRIGHT STATEMENT
|
||||
|
||||
|
||||
14. ext/phar portions of tar implementations
|
||||
|
||||
portions of tar implementations in ext/phar - phar_tar_octal() are based on an
|
||||
implementation by Tim Kientzle from libarchive, licensed with this license:
|
||||
|
||||
Copyright (c) 2003-2007 Tim Kientzle
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions
|
||||
are met:
|
||||
1. Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
2. Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS OR
|
||||
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
|
||||
15. ext/phar/zip.c portion extracted from libzip
|
||||
|
||||
zip_dirent.c -- read directory entry (local or central), clean dirent
|
||||
Copyright (C) 1999, 2003, 2004, 2005 Dieter Baron and Thomas Klausner
|
||||
|
||||
This function is part of libzip, a library to manipulate ZIP archives.
|
||||
The authors can be contacted at <nih@giga.or.at>
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions
|
||||
are met:
|
||||
1. Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
2. Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in
|
||||
the documentation and/or other materials provided with the
|
||||
distribution.
|
||||
3. The names of the authors may not be used to endorse or promote
|
||||
products derived from this software without specific prior
|
||||
written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS
|
||||
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
|
||||
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
|
||||
GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
|
||||
IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
||||
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
|
||||
17. ext/mbstring/ucgendat portions based on the ucgendat.c from the OpenLDAP
|
||||
|
||||
The OpenLDAP Public License
|
||||
Version 2.8, 17 August 2003
|
||||
|
||||
Redistribution and use of this software and associated documentation
|
||||
("Software"), with or without modification, are permitted provided
|
||||
that the following conditions are met:
|
||||
|
||||
1. Redistributions in source form must retain copyright statements
|
||||
and notices,
|
||||
|
||||
2. Redistributions in binary form must reproduce applicable copyright
|
||||
statements and notices, this list of conditions, and the following
|
||||
disclaimer in the documentation and/or other materials provided
|
||||
with the distribution, and
|
||||
|
||||
3. Redistributions must contain a verbatim copy of this document.
|
||||
|
||||
The OpenLDAP Foundation may revise this license from time to time.
|
||||
Each revision is distinguished by a version number. You may use
|
||||
this Software under terms of this license revision or under the
|
||||
terms of any subsequent revision of the license.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE OPENLDAP FOUNDATION AND ITS
|
||||
CONTRIBUTORS ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
|
||||
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
|
||||
SHALL THE OPENLDAP FOUNDATION, ITS CONTRIBUTORS, OR THE AUTHOR(S)
|
||||
OR OWNER(S) OF THE SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
||||
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
The names of the authors and copyright holders must not be used in
|
||||
advertising or otherwise to promote the sale, use or other dealing
|
||||
in this Software without specific, written prior permission. Title
|
||||
to copyright in this Software shall at all times remain with copyright
|
||||
holders.
|
||||
|
||||
OpenLDAP is a registered trademark of the OpenLDAP Foundation.
|
||||
|
||||
Copyright 1999-2003 The OpenLDAP Foundation, Redwood City,
|
||||
California, USA. All Rights Reserved. Permission to copy and
|
||||
distribute verbatim copies of this document is granted.
|
||||
|
||||
|
||||
19. xxHash
|
||||
|
||||
xxHash - Extremely Fast Hash algorithm
|
||||
Header File
|
||||
Copyright (C) 2012-2020 Yann Collet
|
||||
|
||||
BSD 2-Clause License (https://www.opensource.org/licenses/bsd-license.php)
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are
|
||||
met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above
|
||||
copyright notice, this list of conditions and the following disclaimer
|
||||
in the documentation and/or other materials provided with the
|
||||
distribution.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
You can contact the author at:
|
||||
- xxHash homepage: https://www.xxhash.com
|
||||
- xxHash source repository: https://github.com/Cyan4973/xxHash
|
||||
@@ -0,0 +1,145 @@
|
||||
This snapshot was automatically generated on
|
||||
Tue, 04 Jun 2024 19:11:19 +0000
|
||||
|
||||
Version: 8.3.8
|
||||
Branch: HEAD
|
||||
Build: D:\a\php-ftw\php-ftw\php\vs16\x64\obj\Release
|
||||
|
||||
Built-in Extensions
|
||||
===========================
|
||||
Core
|
||||
bcmath
|
||||
calendar
|
||||
ctype
|
||||
date
|
||||
filter
|
||||
hash
|
||||
iconv
|
||||
json
|
||||
SPL
|
||||
pcre
|
||||
readline
|
||||
Reflection
|
||||
session
|
||||
standard
|
||||
mysqlnd
|
||||
tokenizer
|
||||
zip
|
||||
zlib
|
||||
libxml
|
||||
dom
|
||||
PDO
|
||||
openssl
|
||||
SimpleXML
|
||||
xml
|
||||
xmlreader
|
||||
xmlwriter
|
||||
curl
|
||||
ftp
|
||||
sqlite3
|
||||
Phar
|
||||
mbstring
|
||||
mysqli
|
||||
|
||||
|
||||
Dependency information:
|
||||
Module: php_curl.dll
|
||||
===========================
|
||||
libcrypto-3-x64.dll
|
||||
libssl-3-x64.dll
|
||||
libssh2.dll
|
||||
nghttp2.dll
|
||||
|
||||
Module: libssl-3-x64.dll
|
||||
===========================
|
||||
libcrypto-3-x64.dll
|
||||
|
||||
Module: libssh2.dll
|
||||
===========================
|
||||
libcrypto-3-x64.dll
|
||||
|
||||
Module: php_enchant.dll
|
||||
===========================
|
||||
libenchant2.dll
|
||||
|
||||
Module: libenchant2.dll
|
||||
===========================
|
||||
glib-2.dll
|
||||
gmodule-2.dll
|
||||
|
||||
Module: gmodule-2.dll
|
||||
===========================
|
||||
glib-2.dll
|
||||
|
||||
Module: php_ftp.dll
|
||||
===========================
|
||||
libcrypto-3-x64.dll
|
||||
libssl-3-x64.dll
|
||||
|
||||
Module: php_intl.dll
|
||||
===========================
|
||||
icuuc72.dll
|
||||
icuin72.dll
|
||||
icuio72.dll
|
||||
vcruntime140_1.dll
|
||||
|
||||
Module: icuuc72.dll
|
||||
===========================
|
||||
icudt72.dll
|
||||
vcruntime140_1.dll
|
||||
|
||||
Module: icuin72.dll
|
||||
===========================
|
||||
icuuc72.dll
|
||||
vcruntime140_1.dll
|
||||
|
||||
Module: icuio72.dll
|
||||
===========================
|
||||
icuuc72.dll
|
||||
icuin72.dll
|
||||
vcruntime140_1.dll
|
||||
|
||||
Module: php_ldap.dll
|
||||
===========================
|
||||
libsasl.dll
|
||||
libcrypto-3-x64.dll
|
||||
libssl-3-x64.dll
|
||||
|
||||
Module: libsasl.dll
|
||||
===========================
|
||||
libcrypto-3-x64.dll
|
||||
|
||||
Module: php_openssl.dll
|
||||
===========================
|
||||
libcrypto-3-x64.dll
|
||||
libssl-3-x64.dll
|
||||
|
||||
Module: php_pgsql.dll
|
||||
===========================
|
||||
libpq.dll
|
||||
|
||||
Module: libpq.dll
|
||||
===========================
|
||||
libssl-3-x64.dll
|
||||
libcrypto-3-x64.dll
|
||||
|
||||
Module: php_snmp.dll
|
||||
===========================
|
||||
libcrypto-3-x64.dll
|
||||
|
||||
Module: php_sodium.dll
|
||||
===========================
|
||||
libsodium.dll
|
||||
|
||||
Module: php_sqlite3.dll
|
||||
===========================
|
||||
libsqlite3.dll
|
||||
|
||||
Module: php_pdo_pgsql.dll
|
||||
===========================
|
||||
libpq.dll
|
||||
|
||||
Module: php_pdo_sqlite.dll
|
||||
===========================
|
||||
libsqlite3.dll
|
||||
|
||||
@@ -0,0 +1,140 @@
|
||||
<div align="center">
|
||||
<a href="https://php.net">
|
||||
<img
|
||||
alt="PHP"
|
||||
src="https://www.php.net/images/logos/new-php-logo.svg"
|
||||
width="150">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
# The PHP Interpreter
|
||||
|
||||
PHP is a popular general-purpose scripting language that is especially suited to
|
||||
web development. Fast, flexible and pragmatic, PHP powers everything from your
|
||||
blog to the most popular websites in the world. PHP is distributed under the
|
||||
[PHP License v3.01](LICENSE).
|
||||
|
||||
[](https://github.com/php/php-src/actions/workflows/push.yml)
|
||||
[](https://travis-ci.com/github/php/php-src)
|
||||
[](https://bugs.chromium.org/p/oss-fuzz/issues/list?sort=-opened&can=1&q=proj:php)
|
||||
|
||||
## Documentation
|
||||
|
||||
The PHP manual is available at [php.net/docs](https://php.net/docs).
|
||||
|
||||
## Installation
|
||||
|
||||
### Prebuilt packages and binaries
|
||||
|
||||
Prebuilt packages and binaries can be used to get up and running fast with PHP.
|
||||
|
||||
For Windows, the PHP binaries can be obtained from
|
||||
[windows.php.net](https://windows.php.net). After extracting the archive the
|
||||
`*.exe` files are ready to use.
|
||||
|
||||
For other systems, see the [installation chapter](https://php.net/install).
|
||||
|
||||
### Building PHP source code
|
||||
|
||||
*For Windows, see [Build your own PHP on Windows](https://wiki.php.net/internals/windows/stepbystepbuild_sdk_2).*
|
||||
|
||||
For a minimal PHP build from Git, you will need autoconf, bison, and re2c. For
|
||||
a default build, you will additionally need libxml2 and libsqlite3.
|
||||
|
||||
On Ubuntu, you can install these using:
|
||||
|
||||
sudo apt install -y pkg-config build-essential autoconf bison re2c \
|
||||
libxml2-dev libsqlite3-dev
|
||||
|
||||
On Fedora, you can install these using:
|
||||
|
||||
sudo dnf install re2c bison autoconf make libtool ccache libxml2-devel sqlite-devel
|
||||
|
||||
Generate configure:
|
||||
|
||||
./buildconf
|
||||
|
||||
Configure your build. `--enable-debug` is recommended for development, see
|
||||
`./configure --help` for a full list of options.
|
||||
|
||||
# For development
|
||||
./configure --enable-debug
|
||||
# For production
|
||||
./configure
|
||||
|
||||
Build PHP. To speed up the build, specify the maximum number of jobs using `-j`:
|
||||
|
||||
make -j4
|
||||
|
||||
The number of jobs should usually match the number of available cores, which
|
||||
can be determined using `nproc`.
|
||||
|
||||
## Testing PHP source code
|
||||
|
||||
PHP ships with an extensive test suite, the command `make test` is used after
|
||||
successful compilation of the sources to run this test suite.
|
||||
|
||||
It is possible to run tests using multiple cores by setting `-jN` in
|
||||
`TEST_PHP_ARGS`:
|
||||
|
||||
make TEST_PHP_ARGS=-j4 test
|
||||
|
||||
Shall run `make test` with a maximum of 4 concurrent jobs: Generally the maximum
|
||||
number of jobs should not exceed the number of cores available.
|
||||
|
||||
The [qa.php.net](https://qa.php.net) site provides more detailed info about
|
||||
testing and quality assurance.
|
||||
|
||||
## Installing PHP built from source
|
||||
|
||||
After a successful build (and test), PHP may be installed with:
|
||||
|
||||
make install
|
||||
|
||||
Depending on your permissions and prefix, `make install` may need super user
|
||||
permissions.
|
||||
|
||||
## PHP extensions
|
||||
|
||||
Extensions provide additional functionality on top of PHP. PHP consists of many
|
||||
essential bundled extensions. Additional extensions can be found in the PHP
|
||||
Extension Community Library - [PECL](https://pecl.php.net).
|
||||
|
||||
## Contributing
|
||||
|
||||
The PHP source code is located in the Git repository at
|
||||
[github.com/php/php-src](https://github.com/php/php-src). Contributions are most
|
||||
welcome by forking the repository and sending a pull request.
|
||||
|
||||
Discussions are done on GitHub, but depending on the topic can also be relayed
|
||||
to the official PHP developer mailing list internals@lists.php.net.
|
||||
|
||||
New features require an RFC and must be accepted by the developers. See
|
||||
[Request for comments - RFC](https://wiki.php.net/rfc) and
|
||||
[Voting on PHP features](https://wiki.php.net/rfc/voting) for more information
|
||||
on the process.
|
||||
|
||||
Bug fixes don't require an RFC. If the bug has a GitHub issue, reference it in
|
||||
the commit message using `GH-NNNNNN`. Use `#NNNNNN` for tickets in the old
|
||||
[bugs.php.net](https://bugs.php.net) bug tracker.
|
||||
|
||||
Fix GH-7815: php_uname doesn't recognise latest Windows versions
|
||||
Fix #55371: get_magic_quotes_gpc() throws deprecation warning
|
||||
|
||||
See [Git workflow](https://wiki.php.net/vcs/gitworkflow) for details on how pull
|
||||
requests are merged.
|
||||
|
||||
### Guidelines for contributors
|
||||
|
||||
See further documents in the repository for more information on how to
|
||||
contribute:
|
||||
|
||||
- [Contributing to PHP](/CONTRIBUTING.md)
|
||||
- [PHP coding standards](/CODING_STANDARDS.md)
|
||||
- [Mailing list rules](/docs/mailinglist-rules.md)
|
||||
- [PHP release process](/docs/release-process.md)
|
||||
|
||||
## Credits
|
||||
|
||||
For the list of people who've put work into PHP, please see the
|
||||
[PHP credits page](https://php.net/credits.php).
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user