Bug #5978 [NEW]: Install pear package error

From: Date: Wed, 16 Nov 2005 07:35:01 +0000
Subject: Bug #5978 [NEW]: Install pear package error
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-7167@lists.php.net to get a copy of this message
From: jlgou at nj dot cpsecure dot com Operating system: redhat9 PHP version: 4.2.2 Package: Documentation Bug Type: Bug Bug description: Install pear package error Description: ------------ when I executed the following command : #lynx -source http://go-pear.org/ |php Actual result: -------------- X-Powered-By: PHP/4.2.2 Content-type: text/html Welcome to go-pear! Go-pear will install the 'pear' command and all the files needed by it. This command is your tool for PEAR installation and maintenance. Go-pear also lets you download and install the PEAR packages bundled with PHP: DB, Net_Socket, Net_SMTP, Mail, XML_Parser, PHPUnit. If you wish to abort, press Control-C now, or press Enter to continue: y HTTP proxy (http://user:password@proxy.myhost.com:port), or Enter for none:: Below is a suggested file layout for your new PEAR installation. To change individual locations, type the number in front of the directory. Type 'all' to change all of them or simply press Enter to accept these locations. 1. Installation prefix : /usr 2. Binaries directory : $prefix/bin 3. PHP code directory ($php_dir) : $prefix/share/pear 4. Documentation base directory : $php_dir/docs 5. Data base directory : $php_dir/data 6. Tests base directory : $php_dir/tests 1-6, 'all' or Enter to continue: The following PEAR packages are bundled with PHP: DB, Net_Socket, Net_SMTP, Mail, XML_Parser, PHPUnit. Would you like to install these as well? [Y/n] : y Loading zlib: ok Downloading package: PEAR-stable......ok Downloading package: Archive_Tar-stable....ok Downloading package: Console_Getopt-stable....ok Downloading package: XML_RPC-stable....ok Bootstrapping: PEAR...................(remote) ok Bootstrapping: Archive_Tar............(remote) ok Bootstrapping: Console_Getopt.........(remote) ok Downloading package: DB...............ok Downloading package: Net_Socket.......ok Downloading package: Net_SMTP.........ok Downloading package: Mail.............ok Downloading package: XML_Parser.......ok Downloading package: PHPUnit..........ok Extracting installer..................ok <br /> <b>Fatal error</b>: Call to undefined function: file_get_contents() in <b>/tmp/gopeHIX7xI/PEAR/Installer/Role.php</b> on line <b>231</b><br /> -- Edit bug report at http://pear.php.net/bugs/bug.php?id=5978&edit=1 --

« previous php.pear.doc (#7167) next »