Need to clarify the PEAR installer info - Was - Re: [PEAR] Install Error

From: Date: Mon, 06 May 2002 01:16:19 +0000
Subject: Need to clarify the PEAR installer info - Was - Re: [PEAR] Install Error
References: 1  Groups: php.pear.dev php.pear.general 
Request: Send a blank email to pear-general+get-1341@lists.php.net to get a copy of this message
Maybe it was not clear that to run PHP scripts on the command line (like the pear installer) you need to have the CLI (aka CGI) version of PHP compiled in your machine, in other words, compile againg minus the web server option (e.g. w/o --with-apxs). This might need to be clarified in the PEAR manual to avoid this confusion w/ users not aware of the different ways of compiling PHP. --- David McInnis <david@dataovation.com> wrote: > When I run > > lynx -source http://pear.php.net/~cox/go-pear | sh > > I get the following error. > > """ > This script will install the PEAR Installer command 'pear' and > all the files needed by it. The 'pear' command is the tool > that can manage PEAR packages downloaded both from the PEAR web > (http://pear.php.net) or from the 'pear/' CVS module of cvs.php.net > > With this script you could also download and install, from CVS, > the common PEAR files that comes with any PHP distribution (located > at php4/pear in CVS). The common PEAR files means classes like PEAR DB, > XML_Parser, IT template engine or Mail. Please read the > FAQ at http://pear.php.net/faq.php for more information > > For an explanation on how to use the PEAR Installer or what PEAR > packages are, visit: > http://cvs.php.net/co.php/pearweb/doc/pear_package_manager.txt > > which: no php in > (/usr/local/sbin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/sbin:/b > in:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin) > No php cgi binary found in PATH ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---- This is the important error message that you perhaps missed/overlooked > > """ > > Now, here it he confusing part. I have installed php from the source > and not a package. PHP is in fact running. However I cannot find the > binary by using whereis php or which php. This makes it hard for me to > set the path variable. For more info, re-read the INSTALL file in the source code distribution. > > David McInnis HTH ===== --- Jesus M. Castagnetto (jcastagnetto@yahoo.com) Research: http://metallo.scripps.edu/ Personal: http://www.castagnetto.org/ __________________________________________________ Do You Yahoo!? Yahoo! Health - your guide to health and wellness http://health.yahoo.com

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