Merge pull request #17922 from bjornfor/php-config-file-scan-dir

php: change config-file-scan-dir from /etc to /etc/php.d
This commit is contained in:
Jörg Thalheim 2016-10-09 21:45:48 +02:00 committed by GitHub
commit 8a690b2a9f
2 changed files with 8 additions and 1 deletions

View File

@ -165,6 +165,13 @@ following incompatible changes:</para>
</para>
</listitem>
<listitem>
<para>PHP now scans for extra configuration .ini files in /etc/php.d
instead of /etc. This prevents accidentally loading non-PHP .ini files
that may be in /etc.
</para>
</listitem>
</itemizedlist>

View File

@ -271,7 +271,7 @@ let
done
[[ -z "$libxml2" ]] || export PATH=$PATH:$libxml2/bin
./configure --with-config-file-scan-dir=/etc --with-config-file-path=$out/etc --prefix=$out $configureFlags
./configure --with-config-file-scan-dir=/etc/php.d --with-config-file-path=$out/etc --prefix=$out $configureFlags
'';
postInstall = ''