#!/bin/sh# first find which PHP binary to useif test"x$PHP_PEAR_PHP_BIN"!="x";thenPHP="$PHP_PEAR_PHP_BIN"else if test"/usr/local/php/bin/php"='@'php_bin'@';thenPHP=php elsePHP="/usr/local/php/bin/php"fifi# then look for the right pear include dirif test"x$PHP_PEAR_INSTALL_DIR"!="x";thenINCDIR=$PHP_PEAR_INSTALL_DIRINCARG="-d include_path=$PHP_PEAR_INSTALL_DIR"else if test"/usr/local/php/lib/php"='@'php_dir'@';thenINCDIR=`dirname$0`INCARG=""elseINCDIR="/usr/local/php/lib/php"INCARG="-d include_path=/usr/local/php/lib/php"fifiexec$PHP-C-q$INCARG-doutput_buffering=1 -dvariables_order=EGPCS -dopen_basedir=""-dsafe_mode=0 -dregister_argc_argv="On"-dauto_prepend_file=""-dauto_append_file=""$INCDIR/pearcmd.php "$@"