Re: pear.bat on WinXP does nothing

From: Date: Thu, 27 Mar 2003 10:17:45 +0000
Subject: Re: pear.bat on WinXP does nothing
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-4449@lists.php.net to get a copy of this message
Try re-installing it but change the 3rd option to not create the directory as 'pear' but something that will not cause a name conflict like 'pear_dir'. I just solved that issue for myself. However, I got stuck not too far ahead: when I type in a command in pear.bat, I get the following error in the output: Console_Getopt: Could not read cmd args (register_argc_argv=Off?) Let me know if you find the answer. Thanks, C:\PHP>pear help Console_Getopt: Could not read cmd args (register_argc_argv=Off?) Usage: [options] command [command-options] <parameters> Type " help options" to list all options. Type " help <command>" to get the help for the specified command. Commands: build Build an Extension From C Source clear-cache Clear XML-RPC Cache config-get Show One Setting config-help Show Information About Setting config-set Change Setting config-show Show All Settings cvsdiff Run a "cvs diff" for all files in a package cvstag Set CVS Release Tag download Download Package info Display information about a package install Install Package list List Installed Packages list-all List All Packages list-upgrades List Available Upgrades login Connects and authenticates to remote server logout Logs out from the remote server makerpm Builds an RPM spec file from a PEAR package package Build Package package-dependencies Show package dependencies package-validate Validate Package Consistency remote-info Information About Remote Packages remote-list List Remote Packages run-tests Run Regression Tests search Search remote package database shell-test Shell Script Test sign Sign a package distribution file uninstall Un-install Package upgrade Upgrade Package upgrade-all Upgrade All Packages <webmail@wilrod.com> wrote in message news:1646156.1048141955029.JavaMail.root@matrix.wilrod.com... > I just installed PHP 4.3.1 on WinXP Pro on c:\php. The default install didn't include PEAR, so I used the script from http://go-pear.org to install it without any problems. > > I then modified my php.ini file with: > > include_path = .;c:\php\pear > > I verified the change by running php -i > info.htm and checking the results. > > I then modified pear.bat as follows: > > REM change this lines to match the paths of your system > REM ------------------- > > set PHP_BIN=c:\php\php > set BIN_DIR=c:\php > set PEAR_PATH=c:\php\pear > > %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 > > It all looks good to me (newbie), but when I type any of the following commands in the command window absolutely nothing happens, not even an error message: > > pear > > pear list > > pear install Log > > Any ideas on what I might have missed? > > Thanks > > Wil

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