Re[2]: [PEAR-CORE] PEAR.BAT

From: Date: Sat, 13 Mar 2004 11:44:52 +0000
Subject: Re[2]: [PEAR-CORE] PEAR.BAT
References: 1 2  Groups: php.pear.core 
Request: Send a blank email to pear-core+get-183@lists.php.net to get a copy of this message
Hello Derick, From Saturday, March 13, 2004, 1:18:41 PM, you wrote: >> Is it possible to you include additional option -d register_argc_argv=Off >> in pear.bat ? >> >> It is needed when I'm running commandline php.exe and my server with >> the same .ini file and don't want to turn register_argc_argv=Off in >> .ini >> >> I've included this option in my own pear.bat but every time I upgrade PEAR >> it is messed up. DR> You're using CLI inside your webserver too? If not, you can use DR> php-cgi.ini for CGI specific ini settings and php-cli.ini for CLI DR> specific settings. And do this every time with clear PHP installation? php.ini-recommended comes with register_argc_argv = Off So people who use this config will be unable to get PEAR working from command line. I can't see any reasons for not including this in pear.bat since it used only from command line. P.S. in my previous post additional option should be -d register_argc_argv=On so "%PHP_PEAR_PHP_BIN%" -C -d output_buffering=1 -d include_path="%PHP_PEAR_INSTALL_DIR%" -f "%PHP_PEAR_INSTALL_DIR%\pearcmd.php" -- %1 %2 %3 %4 %5 %6 %7 %8 %9 can be changed to "%PHP_PEAR_PHP_BIN%" -C -d output_buffering=1 -d register_argc_argv=On -d include_path="%PHP_PEAR_INSTALL_DIR%" -f "%PHP_PEAR_INSTALL_DIR%\pearcmd.php" -- %1 %2 %3 %4 %5 %6 %7 %8 %9 -- TiP

« previous php.pear.core (#183) next »