Bug #6203 [Opn->Csd]: PEAR can't install on PHP 4.2 via go-pear
| From: | cellog@php.net | Date: | Mon, 02 Jan 2006 18:08:31 +0000 |
| Subject: | Bug #6203 [Opn->Csd]: PEAR can't install on PHP 4.2 via go-pear | ||
| References: | 1 | Groups: | php.pear.webmaster |
| Request: | Send a blank email to pear-webmaster+get-4684@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=6203&edit=1
ID: 6203
Updated by: cellog@php.net
-Summary: PEAR can't execute on PHP 4.2
Reported By: elf at php dot net
-Status: Open
+Status: Closed
Id: 6203
Type: Bug
-Package: PEAR
+Package: Web Site
PHP Version: 4.2.0
-Assigned To:
+Assigned To: cellog
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2005-12-09 05:17:35] elf at php dot 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 />
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=6203&edit=1