php.ini_securitynotes
authorDebian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>
Sat, 2 May 2015 08:26:52 +0000 (10:26 +0200)
committerPeter Michael Green <plugwash@raspbian.org>
Thu, 20 Jul 2023 18:02:54 +0000 (18:02 +0000)
Gbp-Pq: Name 0005-php.ini_securitynotes.patch

php.ini-development

index ddf11acdc63e8402a0d6f1995af18a7fc285f71f..1565f6bd4bf3e46df22ed6fafe866cbc6f4419af 100644 (file)
@@ -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.
@@ -1372,7 +1378,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