Re: What is This Problem All About??

From: Date: Mon, 13 Jan 2003 16:48:17 +0000
Subject: Re: What is This Problem All About??
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-3285@lists.php.net to get a copy of this message
Given my (possibly bad!) settings: set PHP_BIN=c:\php\cli\php.exe set BIN_DIR=c:\php set PEAR_PATH=c:\php\pear then when I run "pear.bat" the command line: %PHP_BIN% -C -d output_buffering=1 -d include_path=%PEAR_PATH% -f %BIN_DIR%\pear -- %1 %2 %3 %4 %5 %6 %7 %8 %9 expands to: c:\php\cli\php.exe -C -d output_buffering=1 -d include_path=c:\php\pear -f c:\php\pear -- which is meaningless because "c:\php\pear" isn't a PHP script. Note however that, because of that "\pear" appended to "%BIN_DIR%" no sensible setting would make the -f argument point to "c:\php\pear\scripts\pear.in". Maybe it would be correct if it was a "\pear.in" -- but it's not. Bye Michele "Limbourg Arnaud" <arnaud.limbourg@cegetel.fr> ha scritto nel messaggio news:40043BDD1EC9D211946400A024A6E1840D1FBA70@cassandre.sfr.com... > I fail to see what is "strange" ? > > it uses environment vars, there is nothing strange about it. > > Arnaud. > > > Please find attached the "pear.bat" script you get when you > > install PEAR > > from the > > network (got it today). As you see the command line argument > > -f is quite > > strange: > > > > %PHP_BIN% -C -d output_buffering=1 -d include_path=%PEAR_PATH% -f > > %BIN_DIR%\pear -- %1 %2 %3 %4 %5 %6 %7 %8 %9 > > > > Regards > > Michele >

« previous php.pear.general (#3285) next »