Bug #1818 [Opn]: pear.bat doesn't work

From: Date: Tue, 10 Aug 2004 04:49:35 +0000
Subject: Bug #1818 [Opn]: pear.bat doesn't work
References: 1  Groups: php.pear.webmaster 
Request: Send a blank email to pear-webmaster+get-2926@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=1818&edit=1 ID: 1818 Updated by: danielc@analysisandsolutions.com Reported By: chris at interspire dot com Status: Open Type: Bug -Package: Bug System +Package: Web Site Operating System: Windows XP PHP Version: 4.3.7 New Comment: Change package from "Bug System" to "Website." Previous Comments: ------------------------------------------------------------------------ [2004-07-07 20:48:49] chris at interspire dot com Description: ------------ Downloaded the Win32-zip file from php.net. Unzipped into d:\php ran go-pear.bat (installed the pear.reg key). Running pear.bat I get: Warning: array_shift() [http://www.php.net/function.array-shift]: The argument should be an array in pearcmd.php on line 54 Console_Getopt: Could not read cmd args (register_argc_argv=Off?) Reproduce code: --------------- pear.bat contains: "%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 I have to change -d register_argc_argv=On to -d register_argc_argv=1 and it works. ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=1818&edit=1

« previous php.pear.webmaster (#2926) next »