Bug #8163 [Asn->Csd]: go-pear.php fails on PHP < v4.3.0

From: Date: Sat, 08 Jul 2006 11:40:39 +0000
Subject: Bug #8163 [Asn->Csd]: go-pear.php fails on PHP < v4.3.0
References: 1  Groups: php.pear.webmaster 
Request: Send a blank email to pear-webmaster+get-5142@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=8163&edit=1 ID: 8163 Updated by: pajoye@php.net Reported By: me at gavitron dot com -Status: Assigned +Status: Closed Id: 8163 Type: Bug Package: Web Site Operating System: linux PHP Version: Irrelevant Assigned To: pajoye 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. Previous Comments: ------------------------------------------------------------------------ [2006-07-08 07:37:20] pajoye at php dot net Yes, we have to keep 4.2.x support. But you should really update your system, to do not say you must update it. ------------------------------------------------------------------------ [2006-07-08 07:34:37] wiesemann at php dot net Not a documentation issue, it's a website problem. ------------------------------------------------------------------------ [2006-07-07 16:26:50] me at gavitron dot com Description: ------------ I tried to install PEAR under php v 4.2.1, but the command in the documentation: # lynx -source http://go-pear.org/ | php Fails with the following: PHP Fatal error: Call to undefined function: set_include_path() in - on line 594 Test script: --------------- Sure enough, http://www.php.net/set_include_path tells me that this wonderful system call is >= 4.3.0 only! I made the a simple change to a local copy of go-pear.php and it chugged along merrily. This following 4-line diff should fix it for everyone: 594c594 < set_include_path($ptmp); --- > ini_set('include_path', $ptmp); Regards, Gavin. Expected result: ---------------- Should install on PHP v4.2.0+ Actual result: -------------- only installs on PHP v4.3.0+ go-pear.php dies with: PHP Fatal error: Call to undefined function: set_include_path() in - on line 594 ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=8163&edit=1

« previous php.pear.webmaster (#5142) next »