Skip to content

Commit 570f405

Browse files
chore(php): added debug prints
1 parent 9dc57f5 commit 570f405

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

recipes/newrelic/apm/php/debian.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ install:
461461
echo -e "{{.YELLOW}}cli dir path after change is $CLI_INI_DIR{{.GRAY}}"
462462
echo -e "{{.YELLOW}}web dir path after change is $WEB_INI_DIR{{.GRAY}}"
463463
INI_DIRS=($WEB_INI_DIR $CLI_INI_DIR)
464-
for dirs in $INI_DIRS; do
464+
for dirs in "${INI_DIRS[@]}"; do
465465
for ini in $dirs; do
466466
echo -e "{{.YELLOW}}ini path is $ini{{.GRAY}}"
467467
#
@@ -662,7 +662,9 @@ install:
662662
#
663663
info_text="{{.TMP_INSTALL_DIR}}/cli_info.txt"
664664
fi
665+
cat "${info_text}"
665666
while read -r bin_loc php_ini_dir nr_ini_dir; do
667+
echo -e "bin_loc is ${bin_loc}, php_ini_dir is ${php_ini_dir} and nr_ini_dir is ${nr_ini_dir}"
666668
sudo -u $nonpriv_user $bin_loc -c "${php_ini_dir}/php.ini" -c "${nr_ini_dir}/newrelic.ini" -n --ini &>/dev/null
667669
done < "${info_text}"
668670
done

0 commit comments

Comments
 (0)