Report new bug | New search | Development Roadmap Status: Open | Feedback | All

Bug #6203 PEAR can't install on PHP 4.2 via go-pear
Submitted: 2005-12-09 10:17 UTC
From: elf at php dot net Assigned: cellog
Status: Closed Package: Web Site
PHP Version: 4.2.0 OS:
Roadmaps: (Not assigned)    
Subscription  


 [2005-12-09 10:17 UTC] 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 />

Comments

 [2006-01-02 18:08 UTC] cellog
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.