浏览代码

package/php: add config scan directory option

To support using multiple php configuration files, we pass
--with-config-file-scan-dir=/etc/php.d. This allows to put snippets of
PHP configuration files in /etc/php.d.

For php option details see link at [1].

[1] https://www.php.net/manual/en/configuration.file.php

Signed-off-by: Dan Walkes <danwalkes@trellis-logic.com>
[Thomas: make it unconditional]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Dan Walkes 6 年之前
父节点
当前提交
1248b86267
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      package/php/php.mk

+ 1 - 0
package/php/php.mk

@@ -16,6 +16,7 @@ PHP_LICENSE_FILES = LICENSE
 PHP_CONF_OPTS = \
 PHP_CONF_OPTS = \
 	--mandir=/usr/share/man \
 	--mandir=/usr/share/man \
 	--infodir=/usr/share/info \
 	--infodir=/usr/share/info \
+	--with-config-file-scan-dir=/etc/php.d \
 	--disable-all \
 	--disable-all \
 	--without-pear \
 	--without-pear \
 	--with-config-file-path=/etc \
 	--with-config-file-path=/etc \