Skip to content

Commit 2d5f277

Browse files
committed
add ini config details to php-config
1 parent 57424f2 commit 2d5f277

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

scripts/php-config.in

+8
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ php_cli_binary=NONE
1919
php_cgi_binary=NONE
2020
configure_options="@CONFIGURE_OPTIONS@"
2121
php_sapis="@PHP_INSTALLED_SAPIS@"
22+
ini_dir="@EXPANDED_PHP_CONFIG_FILE_SCAN_DIR@"
23+
ini_path="@EXPANDED_PHP_CONFIG_FILE_PATH@"
2224

2325
# Set php_cli_binary and php_cgi_binary if available
2426
for sapi in $php_sapis; do
@@ -63,6 +65,10 @@ case "$1" in
6365
echo $configure_options;;
6466
--man-dir)
6567
echo $man_dir;;
68+
--ini-path)
69+
echo $ini_path;;
70+
--ini-dir)
71+
echo $ini_dir;;
6672
--version)
6773
echo $version;;
6874
--vernum)
@@ -80,6 +86,8 @@ Options:
8086
--man-dir [$man_dir]
8187
--php-binary [$php_binary]
8288
--php-sapis [$php_sapis]
89+
--ini-path [$ini_path]
90+
--ini-dir [$ini_dir]
8391
--configure-options [$configure_options]
8492
--version [$version]
8593
--vernum [$vernum]

0 commit comments

Comments
 (0)