From: Debian PHP Maintainers Date: Sat, 2 May 2015 08:26:52 +0000 (+0200) Subject: php.ini_securitynotes X-Git-Tag: archive/raspbian/8.2.24-1+rpi1^2~44 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5a3c0112685187702cfc046836da71718224d97b;p=php8.2.git php.ini_securitynotes Gbp-Pq: Name 0005-php.ini_securitynotes.patch --- diff --git a/php.ini-development b/php.ini-development index 5fb10668..e53f0ce3 100644 --- a/php.ini-development +++ b/php.ini-development @@ -315,6 +315,12 @@ serialize_precision = -1 ; or per-virtualhost web server configuration file. ; Note: disables the realpath cache ; https://php.net/open-basedir + +; NOTE: this is considered a "broken" security measure. +; Applications relying on this feature will not receive full +; support by the security team. For more information please +; see /usr/share/doc/php-common/README.Debian.security +; ;open_basedir = ; This directive allows you to disable certain functions. @@ -1369,7 +1375,7 @@ session.save_handler = files ; 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" +;session.save_path = "/var/lib/php/sessions" ; Whether to use strict session mode. ; Strict session mode does not accept an uninitialized session ID, and