Home » PEAR » PEAR » Bug #5978
Install pear package error
Details
| Submitted | 2005-11-16 07:34 UTC |
|---|---|
| From | jlgou at nj dot cpsecure dot com |
| Status | Duplicate |
| Package | PEAR |
| PHP Version | 4.2.2 |
| OS | redhat9 |
| Roadmaps | (Not assigned) |
Comments
[2005-11-16 07:34 UTC] jlgou at nj dot cpsecure dot com
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 />
[2005-11-16 07:56 UTC] norbert at php dot net
file_get_contents() was added in php 4.3.0
You should upgrade your PHP version to 4.3.0 at least.