3 # first find which PHP binary to use
4 if test "x$PHP_PEAR_PHP_BIN" != "x"; then
5 PHP="$PHP_PEAR_PHP_BIN"
7 if test "@php_bin@" = '@'php_bin'@'; then
14 # then look for the right pear include dir
15 if test "x$PHP_PEAR_INSTALL_DIR" != "x"; then
16 INCDIR=$PHP_PEAR_INSTALL_DIR
17 INCARG="-d include_path=$PHP_PEAR_INSTALL_DIR"
19 if test "@php_dir@" = '@'php_dir'@'; then
24 INCARG="-d include_path=@php_dir@"
28 exec $PHP -C -n -q $INCARG -d date.timezone=UTC -d output_buffering=1 -d variables_order=EGPCS -d safe_mode=0 -d register_argc_argv="On" $INCDIR/peclcmd.php "$@"