Re: Getopt.php problem

From: Date: Thu, 05 Sep 2002 21:52:33 +0000
Subject: Re: Getopt.php problem
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-2253@lists.php.net to get a copy of this message
Antonello, If you already have the go-pear script locally, then 1) make sure that you are not using output buffering, i.e. you should have: output_buffering = off in your php.ini 2) call the script using: php -q -f /tmp/blah.php Before (2) if you want to make sure that the script is OK when you got it, do: php -l /tmp/blah.php the "-l" is used to check for syntax errors. Good luck. --- Antonello Piemonte <piemonte@cyberlab.de> wrote: > On Thursday 05 September 2002 13:14, Pierre-Alain Joye wrote: > > > You need to upgrage the pear packages manager. Here are the commands to do > > it : > > > > // Tradicional Unix > > # lynx -source http://pear.php.net/go-pear | php > > // Modern Unix > > # wget -qO- pear.php.net/go-pear | php -q > > > > This will launch the go-pear script, follow the instruction during the > > process. > > I tried but nothing happens, like before; interesting thing is that > # wget -qO- pear.php.net/go-pear > outputs the php code, so it looks like a problem with > my local php installation... :-( > > I also saved the output to a file and then > # cat /tmp/bla.php | php -q > > but still, nothing happens .... > > any further suggestion? > thx > antonello > > -- > PEAR General Mailing List (http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > ===== --- Jesus M. Castagnetto (jcastagnetto@yahoo.com) Research: http://metallo.scripps.edu/ Personal: http://www.castagnetto.org/ __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com

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