git.iko.soy/typeable/nixpkgs
on master help sign in
php: change config-file-scan-dir from /etc to /etc/php.d

By chance I noticed that php picked up my /etc/odbc.ini file (clearly wrong!). This fixes it by adding a namespace for php. WARNING: This is a breaking change for anyone that happen to rely on php picking up .ini files from /etc.

commit41c8aa8d63a57b7b01f28c5f4c31fac1b1ff25ae authorBjørn Forsman <bjorn.forsman@gmail.com> dateSun 21 Aug 2016, 21:09 (10 years ago) parent1a2b474
1 file changed+1−1
pkgs/development/interpreters/php/default.nix+1−1
pkgs/development/interpreters/php/default.nix+1−1
@@ -270,7 +270,7 @@ let
270270 done
271271
272272 [[ -z "$libxml2" ]] || export PATH=$PATH:$libxml2/bin
273− ./configure --with-config-file-scan-dir=/etc --with-config-file-path=$out/etc --prefix=$out $configureFlags
273+ ./configure --with-config-file-scan-dir=/etc/php.d --with-config-file-path=$out/etc --prefix=$out $configureFlags
274274 '';
275275
276276 postInstall = ''