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

From: Date: Thu, 08 Jul 2004 00:48:49 +0000
Subject: Bug #1818 [NEW]: pear.bat doesn't work
Groups: php.pear.webmaster 
Request: Send a blank email to pear-webmaster+get-2725@lists.php.net to get a copy of this message
From: chris at interspire dot com Operating system: Windows XP PHP version: 4.3.7 Package: Bug System Bug Type: Bug Bug description: pear.bat doesn't work 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 bug report at http://pear.php.net/bugs/bug.php?id=1818&edit=1 --

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