]> TLD Linux GIT Repositories - packages/php.git/blobdiff - php-ini.patch
- updated to 8.1.4, partial PLD merge
[packages/php.git] / php-ini.patch
index d3b5ecb6269648cfd27880b173dea1cc107b257f..156a129e7441e65ce5fddc56221c892b48524be2 100644 (file)
@@ -1,5 +1,5 @@
---- php-8.0.0/php.ini  2020-11-24 18:04:03.000000000 +0100
-+++ php-8.0.0/php.ini  2020-12-05 23:44:57.718592809 +0100
+--- php-8.1.4/php.ini  2022-03-15 21:18:41.000000000 +0100
++++ php-8.1.4/php.ini  2022-04-05 01:05:28.031906242 +0200
 @@ -82,6 +82,16 @@
  ; much more verbose when it comes to errors. We recommend using the
  ; development version only in development environments, as errors shown to
 +; Default Value: Off
  ; Development Value: Off
  ; Production Value: Off
- ; http://php.net/short-open-tag
+ ; https://php.net/short-open-tag
 @@ -397,7 +407,7 @@
  ; threat in any way, but it makes it possible to determine whether you use PHP
  ; on your server or not.
- ; http://php.net/expose-php
+ ; https://php.net/expose-php
 -expose_php = On
 +expose_php = Off
  
  ;;;;;;;;;;;;;;;;;;;
  ; Resource Limits ;
-@@ -765,9 +775,7 @@
- ; Directory in which the loadable extensions (modules) reside.
- ; http://php.net/extension-dir
--;extension_dir = "./"
--; On windows:
+@@ -762,7 +772,7 @@
+ ; https://php.net/extension-dir
+ ;extension_dir = "./"
+ ; On windows:
 -;extension_dir = "ext"
 +;extension_dir = "/usr/lib/php"
  
  ; Directory where the temporary files should be placed.
  ; Defaults to the system default (see sys_get_temp_dir)
-@@ -779,64 +787,6 @@
- ; http://php.net/enable-dl
+@@ -774,64 +784,6 @@
+ ; 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.**
--; http://php.net/cgi.force-redirect
+-; 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
@@ -83,7 +81,7 @@
 -; (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.
--; http://php.net/cgi.redirect-status-env
+-; 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
@@ -92,7 +90,7 @@
 -; 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.
--; http://php.net/cgi.fix-pathinfo
+-; 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
 -; 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.
--; http://php.net/fastcgi.impersonate
+-; https://php.net/fastcgi.impersonate
 -;fastcgi.impersonate = 1
 -
 -; Disable logging through FastCGI connection. PHP's default behavior is to enable
 -; is supported by Apache. When this option is set to 1, PHP will send
 -; RFC2616 compliant header.
 -; Default is zero.
--; http://php.net/cgi.rfc2616-headers
+-; 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.
--; http://php.net/cgi.check-shebang-line
+-; https://php.net/cgi.check-shebang-line
 -;cgi.check_shebang_line=1
 -
  ;;;;;;;;;;;;;;;;
  ; File Uploads ;
  ;;;;;;;;;;;;;;;;
-@@ -994,19 +944,19 @@
+@@ -990,19 +942,19 @@
  ; 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
  
  [imap]
  ; rsh/ssh logins are disabled by default. Use this INI entry if you want to
-@@ -1172,6 +1122,9 @@
- ; http://php.net/mysqli.default-socket
+@@ -1172,6 +1124,9 @@
+ ; https://php.net/mysqli.default-socket
  mysqli.default_socket =
  
 +; The name of the character set to use as the default character set.
 +;mysqli.connect_charset=utf8
 +
  ; Default host for mysqli_connect() (doesn't apply in safe mode).
- ; http://php.net/mysqli.default-host
+ ; https://php.net/mysqli.default-host
  mysqli.default_host =
-@@ -1313,7 +1266,7 @@
+@@ -1318,7 +1273,7 @@
  
  [browscap]
- ; http://php.net/browscap
+ ; https://php.net/browscap
 -;browscap = extra/browscap.ini
 +;browscap = /usr/share/browscap/php_browscap.ini
  
  [Session]
  ; Handler used to store/retrieve data.
-@@ -1736,7 +1689,7 @@
+@@ -1741,7 +1696,7 @@
  
  ; Sets the directory name where SOAP extension will put cache files.
- ; http://php.net/soap.wsdl-cache-dir
+ ; https://php.net/soap.wsdl-cache-dir
 -soap.wsdl_cache_dir="/tmp"
 +soap.wsdl_cache_dir="/var/cache/php"
  
  ; (time to live) Sets the number of second while cached file will be used
  ; instead of original one.
-@@ -1757,160 +1710,6 @@
+@@ -1762,160 +1717,6 @@
  [dba]
  ;dba.default_handler=
  
 -
 -; Specifies a PHP script that is going to be compiled and executed at server
 -; start-up.
--; http://php.net/opcache.preload
+-; 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.
--; http://php.net/opcache.preload_user
+-; https://php.net/opcache.preload_user
 -;opcache.preload_user=
 -
 -; Prevents caching files that are less than this number of seconds old. It