Code : Tout sélectionner
22c22
< ; The syntax of the file is extremely simple. Whitespace and lines
---
> ; The syntax of the file is extremely simple. Whitespace and Lines
93a94,98
> ; allow_call_time_pass_reference
> ; Default Value: On
> ; Development Value: Off
> ; Production Value: Off
>
105,107c110,112
< ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
< ; Development Value: E_ALL
< ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
---
> ; Default Value: E_ALL & ~E_NOTICE
> ; Development Value: E_ALL | E_STRICT
> ; Production Value: E_ALL & ~E_DEPRECATED
112c117
< ; Production value: On
---
> ; Production value: Off
118a124,128
> ; magic_quotes_gpc
> ; Default Value: On
> ; Development Value: Off
> ; Production Value: Off
>
133a144,148
> ; register_long_arrays
> ; Default Value: On
> ; Development Value: Off
> ; Production Value: Off
>
220a236,239
> ; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
> ; http://php.net/y2k-compliance
> y2k_compliance = On
>
302a322,373
> ; This directive allows you to enable and disable warnings which PHP will issue
> ; if you pass a value by reference at function call time. Passing values by
> ; reference at function call time is a deprecated feature which will be removed
> ; from PHP at some point in the near future. The acceptable method for passing a
> ; value by reference to a function is by declaring the reference in the functions
> ; definition, not at call time. This directive does not disable this feature, it
> ; only determines whether PHP will warn you about it or not. These warnings
> ; should enabled in development environments only.
> ; Default Value: On (Suppress warnings)
> ; Development Value: Off (Issue warnings)
> ; Production Value: Off (Issue warnings)
> ; http://php.net/allow-call-time-pass-reference
> allow_call_time_pass_reference = Off
>
> ; Safe Mode
> ; http://php.net/safe-mode
> safe_mode = Off
>
> ; By default, Safe Mode does a UID compare check when
> ; opening files. If you want to relax this to a GID compare,
> ; then turn on safe_mode_gid.
> ; http://php.net/safe-mode-gid
> safe_mode_gid = Off
>
> ; When safe_mode is on, UID/GID checks are bypassed when
> ; including files from this directory and its subdirectories.
> ; (directory must also be in include_path or full path must
> ; be used when including)
> ; http://php.net/safe-mode-include-dir
> safe_mode_include_dir =
>
> ; When safe_mode is on, only executables located in the safe_mode_exec_dir
> ; will be allowed to be executed via the exec family of functions.
> ; http://php.net/safe-mode-exec-dir
> safe_mode_exec_dir =
>
> ; Setting certain environment variables may be a potential security breach.
> ; This directive contains a comma-delimited list of prefixes. In Safe Mode,
> ; the user may only alter environment variables whose names begin with the
> ; prefixes supplied here. By default, users will only be able to set
> ; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
> ; Note: If this directive is empty, PHP will let the user modify ANY
> ; environment variable!
> ; http://php.net/safe-mode-allowed-env-vars
> safe_mode_allowed_env_vars = PHP_
>
> ; This directive contains a comma-delimited list of environment variables that
> ; the end user won't be able to change using putenv(). These variables will be
> ; protected even if safe_mode_allowed_env_vars is set to allow to change them.
> ; http://php.net/safe-mode-protected-env-vars
> safe_mode_protected_env_vars = LD_LIBRARY_PATH
>
308c379
< open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/
---
> ;open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/
327a399
> ;highlight.bg = #FFFFFF
354,365d425
< ; 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.
< ; Default: Off
< ;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.
< ; Default: ""
< ;zend.script_encoding =
<
405c465
< memory_limit = 128M
---
> memory_limit = 2048M
422c482
< ; Note: The php.ini-development file has this setting as E_ALL. This
---
> ; Note: The php.ini-development file has this setting as E_ALL | E_STRICT. This
453,455c513,514
< ; 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_ALL & ~E_NOTICE (Show all errors, except for notices and coding standards warnings.)
> ; E_ALL & ~E_NOTICE | E_STRICT (Show all errors, except for notices)
457,459c516,519
< ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
< ; Development Value: E_ALL
< ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
---
> ; E_ALL | E_STRICT (Show all errors, warnings and notices including coding standards.)
> ; Default Value: E_ALL & ~E_NOTICE
> ; Development Value: E_ALL | E_STRICT
> ; Production Value: E_ALL & ~E_DEPRECATED
461c521
< error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
---
> error_reporting = E_ALL & ~E_DEPRECATED
542,544c602,605
< ; 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.
---
> ; When PHP displays or logs an error, it has the capability of inserting html
> ; links to documentation related to that error. This directive controls whether
> ; those HTML links appear in error messages or not. For performance and security
> ; reasons, it's recommended you disable this on production servers.
548c609
< ; Production value: On
---
> ; Production value: Off
550c611
< html_errors = On
---
> html_errors = Off
552,554c613,614
< ; 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.
---
> ; If html_errors is set On PHP produces clickable error messages that direct
> ; to a page describing the error or function causing the error in detail.
558,559c618
< ; the dot. PHP's default behavior is to leave these settings empty, in which
< ; case no links to documentation are generated.
---
> ; the dot. PHP's default behavior is to leave these settings empty.
611,616c670,676
< ; 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.
---
> ; starts up. If the register_globals directive is enabled, it also determines
> ; what order variables are populated into the global space. 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
> ; is not recommended on productions servers. You can still get access to
> ; the environment variables through getenv() should you need to.
635a696,714
> ; Whether or not to register the EGPCS variables as global variables. You may
> ; want to turn this off if you don't want to clutter your scripts' global scope
> ; with user data.
> ; You should do your best to write your scripts so that they do not require
> ; register_globals to be on; Using form variables as globals can easily lead
> ; to possible security problems, if the code is not very well thought of.
> ; http://php.net/register-globals
> register_globals = Off
>
> ; Determines whether the deprecated long $HTTP_*_VARS type predefined variables
> ; are registered by PHP or not. As they are deprecated, we obviously don't
> ; recommend you use them. They are on by default for compatibility reasons but
> ; they are not recommended on production servers.
> ; Default Value: On
> ; Development Value: Off
> ; Production Value: Off
> ; http://php.net/register-long-arrays
> register_long_arrays = Off
>
651,655c730,734
< ; 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 affect.
---
> ; When enabled, the SERVER and ENV 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 directives register_globals, register_long_arrays,
> ; and register_argc_argv must be disabled for this directive to have any affect.
659,667d737
< ; 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.
< ; http://php.net/enable-post-data-reading
< ;enable_post_data_reading = Off
<
669,670d738
< ; Its value may be 0 to disable the limit. It is ignored if POST data reading
< ; is disabled through enable_post_data_reading.
672c740,764
< post_max_size = 8M
---
> post_max_size = 1000M
>
> ; Magic quotes are a preprocessing feature of PHP where PHP will attempt to
> ; escape any character sequences in GET, POST, COOKIE and ENV data which might
> ; otherwise corrupt data being placed in resources such as databases before
> ; making that data available to you. Because of character encoding issues and
> ; non-standard SQL implementations across many databases, it's not currently
> ; possible for this feature to be 100% accurate. PHP's default behavior is to
> ; enable the feature. We strongly recommend you use the escaping mechanisms
> ; designed specifically for the database your using instead of relying on this
> ; feature. Also note, this feature has been deprecated as of PHP 5.3.0 and is
> ; scheduled removed in PHP 5.4.
> ; Default Value: On
> ; Development Value: Off
> ; Production Value: Off
> ; http://php.net/magic-quotes-gpc
> magic_quotes_gpc = Off
>
> ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
> ; http://php.net/magic-quotes-runtime
> magic_quotes_runtime = Off
>
> ; Use Sybase-style magic quotes (escape ' with '' instead of \').
> ; http://php.net/magic-quotes-sybase
> magic_quotes_sybase = Off
692c784
< ;default_charset = "UTF-8"
---
> ;default_charset = "iso-8859-1"
695,696c787
< ; to disable this feature. If post reading is disabled through
< ; enable_post_data_reading, $HTTP_RAW_POST_DATA is *NOT* populated.
---
> ; to disable this feature.
754c845
< ;cgi.redirect_status_env =
---
> ;cgi.redirect_status_env = ;
771c862
< ;fastcgi.impersonate = 1
---
> ;fastcgi.impersonate = 1;
800c891
< upload_max_filesize = 2M
---
> upload_max_filesize = 1000M
863c954
< ;extension=bz2.so
---
> extension=bz2.so
869,870c960,961
< ;extension=ftp.so
< ;extension=gd.so
---
> extension=ftp.so
> extension=gd.so
873c964
< ;extension=iconv.so
---
> extension=iconv.so
875c966,967
< ;extension=intl.so
---
> extension=intl.so
> extension=json.so
877c969
< ;extension=mcrypt.so
---
> extension=mcrypt.so
879,880c971,972
< ;extension=mysqli.so
< ;extension=mysql.so
---
> extension=mysqli.so
> extension=mysql.so
882,883c974,975
< ;extension=openssl.so
< ;extension=pdo_mysql.so
---
> extension=openssl.so
> extension=pdo_mysql.so
885c977
< ;extension=pdo_pgsql.so
---
> extension=pdo_pgsql.so
887c979
< ;extension=pgsql.so
---
> extension=pgsql.so
893,894c985,986
< ;extension=soap.so
< ;extension=sockets.so
---
> extension=soap.so
> extension=sockets.so
895a988
> ;extension=sqlite.so
901,902c994,996
< ;extension=xsl.so
< ;extension=zip.so
---
> extension=xsl.so
> extension=zip.so
> extension=imagick.so
908,911d1001
< [CLI Server]
< ; Whether the CLI web server uses ANSI color coding in its terminal output.
< cli_server.color = On
<
915c1005
< ;date.timezone =
---
> date.timezone = Europe/London
992a1083,1089
> [Syslog]
> ; Whether or not to define the various syslog variables (e.g. $LOG_PID,
> ; $LOG_CRON, etc.). Turning it off is a good idea performance-wise. In
> ; runtime, you can define these variables by calling define_syslog_variables().
> ; http://php.net/define-syslog-variables
> define_syslog_variables = Off
>
1019,1020d1115
< ; Log mail to syslog (Event Log on NT, not valid in Windows 95).
< ;mail.log = syslog
1476,1477c1571,1572
< ; to initialize a session variable in the global scope.
< ; PHP 4.3 and later will warn you, if this feature is used.
---
> ; to initialize a session variable in the global scope, even when register_globals
> ; is disabled. PHP 4.3 and later will warn you, if this feature is used.
1508c1603
< ;session.entropy_length = 32
---
> session.entropy_length = 0
1512,1515c1607,1608
< ; Defaults to /dev/urandom
< ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
< ; If neither are found at compile time, the default is no entropy file.
< ; On windows, setting the entropy_length setting will activate the
---
> ; On systems that don't have /dev/urandom /dev/arandom can be used
> ; On windows, setting the entropy_length setting will activate the
1573,1617d1665
< ; Enable upload progress tracking in $_SESSION
< ; Default Value: On
< ; Development Value: On
< ; Production Value: On
< ; http://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
< ; http://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_"
< ; http://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"
< ; http://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%"
< ; http://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
< ; http://php.net/session.upload-progress.min-freq
< ;session.upload_progress.min_freq = "1"
<
1773a1822,1825
> ; Allows to set script encoding. Only affects if PHP is compiled with --enable-zend-multibyte
> ; Default: ""
> ;mbstring.script_encoding=
>
1853a1906,1911
>
> [xsl]
> ; Write operations from within XSLT are disabled by default.
> ; XSL_SECPREF_CREATE_DIRECTORY | XSL_SECPREF_WRITE_NETWORK | XSL_SECPREF_WRITE_FILE = 44
> ; Set it to 0 to allow all operations
> ;xsl.security_prefs = 44