git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #17922 from bjornfor/php-config-file-scan-dir

php: change config-file-scan-dir from /etc to /etc/php.d

commit8a690b2a9f73f0b6a74bf2f4d6b195c6f1f4f036 authorJörg Thalheim <joerg@higgsboson.tk> dateSun 9 Oct 2016, 21:45 (10 years ago) parente3ed2a5351d124
2 files changed+8−1
nixos/doc/manual/release-notes/rl-1609.xml+7 pkgs/development/interpreters/php/default.nix+1−1
nixos/doc/manual/release-notes/rl-1609.xml+7
@@ -165,6 +165,13 @@ following incompatible changes:</para>
165165 </para>
166166 </listitem>
167167
168+ <listitem>
169+ <para>PHP now scans for extra configuration .ini files in /etc/php.d
170+ instead of /etc. This prevents accidentally loading non-PHP .ini files
171+ that may be in /etc.
172+ </para>
173+ </listitem>
174+
168175</itemizedlist>
169176
170177
pkgs/development/interpreters/php/default.nix+1−1
@@ -271,7 +271,7 @@ let
271271 done
272272
273273 [[ -z "$libxml2" ]] || export PATH=$PATH:$libxml2/bin
274− ./configure --with-config-file-scan-dir=/etc --with-config-file-path=$out/etc --prefix=$out $configureFlags
274+ ./configure --with-config-file-scan-dir=/etc/php.d --with-config-file-path=$out/etc --prefix=$out $configureFlags
275275 '';
276276
277277 postInstall = ''