php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56714 PEAR can't install on PHP 4.2 via go-pear
Submitted: 2005-12-09 05:17 UTC Modified: 2006-01-02 13:08 UTC
From: elf@php.net Assigned: cellog (profile)
Status: Closed Package: PECL website (PECL)
PHP Version: 4.2.0 OS:
Private report: No CVE-ID: None
 [2005-12-09 05:17 UTC] elf@php.net
Description:
------------
PEAR can't execute on PHP 4.2.
A reason is that it is using file_get_contents() function.

PEAR/Installer/Role.php(Line 231):
                $parser->parse(file_get_contents($file));


Test script:
---------------
echo '<?php require "http://go-pear.org/"; ?>' |php -Cq


Expected result:
----------------
Successed.


Actual result:
--------------
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/gopehNRkQH/PEAR/Installer
/Role.php</b> on line <b>231</b><br />


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-01-02 13:08 UTC] cellog@php.net
This bug has been fixed in CVS.

If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET).

If this was a problem with the pear.php.net website, the change should be live shortly.

Otherwise, the fix will appear in the package's next release.

Thank you for the report and for helping us make PEAR better.

this was a problem in go-pear, and is now fixed.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Tue Nov 24 13:01:23 2020 UTC