Home » PEAR » PEAR_Frontend_Web » Bug #815
Pear after-installation configuration mistake
Details
| Submitted | 2004-02-20 19:14 UTC |
|---|---|
| From | cristiano at atech dot br |
| Assigned | pajoye |
| Status | No Feedback |
| Package | PEAR_Frontend_Web |
| PHP Version | 4.3.4 |
| OS | Windows |
| 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 ;-)