Home » PEAR » PEAR_Frontend_Web » Bug #6557
PEAR_Frontend_Web crashes with parse error when called after successful install
Details
| Submitted | 2006-01-23 13:29 UTC |
|---|---|
| From | byron at foundry dot co dot za |
| Assigned | pajoye |
| Status | No Feedback |
| Package | PEAR_Frontend_Web |
| PHP Version | 5.0.5 |
| OS | Windows XP Professional SP2 |
| Roadmaps | (Not assigned) |
Comments
[2006-01-23 13:29 UTC] byron at foundry dot co dot za
Description:
------------
PEAR_Frontend_Web (0.4) crashes with parse error when called after successful install.
Eg:
Parse error: parse error, unexpected T_STRING in C:\Program Files\Apache Group\Apache2\htdocs\index.php on line 33
Problem caused by trailing backslash in string value on line 31.
Test script:
---------------
if ($env=getenv('PHP_PEAR_PHP_BIN')) {
define("PHP_PEAR_PHP_BIN",$env);
} else {
putenv('PHP_PEAR_PHP_BIN=C:\PHP\');
}
Expected result:
----------------
No error.
Actual result:
--------------
Parse error: parse error, unexpected T_STRING in C:\Program Files\Apache Group\Apache2\htdocs\index.php on line 33