PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » PEAR » PEAR_Frontend_Web » Bug #815

Pear after-installation configuration mistake

Details

Submitted2004-02-20 19:14 UTC
Fromcristiano at atech dot br
Assignedpajoye
StatusNo Feedback
PackagePEAR_Frontend_Web
PHP Version4.3.4
OSWindows
Roadmaps(Not assigned)

Comments

[2004-02-20 19:14 UTC] cristiano at atech dot br

Description:
------------
The "Web Frontend of the PEAR Installer" file index.php has an error at line 76 where a back-slash (it's a Windows system) is scaping a single quote and causing the error:

Parse error: parse error, unexpected T_STRING in
c:\webapps\public_html\go-pear\index.php on line 76

The solution is to scape the backslash or use forward-slashes insted.

Reproduce code:
---------------
if ($env=getenv('PHP_PEAR_PHP_BIN')) {
define("PHP_PEAR_PHP_BIN",$env);
} else {
putenv('PHP_PEAR_PHP_BIN=c:\webapps\public_html\go-pear\');
// the line above has the backslash whish is escaping the single quote
}

Expected result:
----------------
Front end for Pear Web administration.

Actual result:
--------------
Parse error: parse error, unexpected T_STRING in c:\webapps\public_html\go-pear\index.php on line 76

[2004-06-06 22:45 UTC] pierre at dotgeek dot org

Please try with the release 0.4

[2004-09-12 20:25 UTC] still at there dot de

the problem still ap"pear"s ;-)