From 264062f6ca20146c6577d59d9bf0895f1cf729b7 Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Sat, 14 Dec 2019 00:05:30 +0100 Subject: [PATCH] - don't enable browscap.ini by default - update php.ini description --- php-ini.patch | 29 ++++++++--------------------- 1 file changed, 8 insertions(+), 21 deletions(-) diff --git a/php-ini.patch b/php-ini.patch index daedae2..d38d6c5 100644 --- a/php-ini.patch +++ b/php-ini.patch @@ -1,23 +1,19 @@ --- php-7.3.0/php.ini 2018-12-04 16:12:20.000000000 +0000 +++ php-7.3.0/php.ini 2018-12-07 16:18:48.333403000 +0000 -@@ -82,6 +82,20 @@ +@@ -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 ; application users can inadvertently leak otherwise secure information. +; -+; This is the default settings file for new PHP installations from -+; TLD Linux. ++; This is the default settings file for new PHP installations on TLD Linux. +; -+; It's based mainly on php.ini-production, but with some changes made with -+; security in mind (see below, consult also http://php.net/manual/en/security.php). ++; It is based mainly on php.ini-production, but with some changes made with ++; security in mind (http://php.net/manual/en/security.php). +; -+; Please note, that in TLD installations /etc/php73/php.ini file -+; contains global settings for all SAPIs (cgi, cli, apache...), -+; and after reading this file, SAPI-specific file (/etc/php73/php-cgi-fcgi.ini, -+; /etc/php73/php-cli.ini, /etc/php73/php-apache.ini...) is INCLUDED -+; (so you don't have to duplicate whole large file to override only -+; few options) -+ ++; Please note, that in TLD Linux file /etc/php74/php.ini contains global ++; settings for all SAPIs (cgi, cli, apache...), and after reading this file ++; SAPI-specific file is included so you don't have to duplicate whole large ++; file to override only few options. ; This is the php.ini-production INI file. @@ -164,15 +160,6 @@ ; Default host for mysql_connect() (doesn't apply in safe mode). ; http://php.net/mysqli.default-host mysqli.default_host = -@@ -1313,7 +1272,7 @@ - - [browscap] - ; http://php.net/browscap --;browscap = extra/browscap.ini -+browscap = /etc/php/browscap.ini - - [Session] - ; Handler used to store/retrieve data. @@ -1747,7 +1706,7 @@ ; Sets the directory name where SOAP extension will put cache files. -- 2.46.0