Home » PEAR » PEAR » Bug #9549
escaping PHP_PEAR_PHP_BIN
Details
| Submitted | 2006-12-05 15:27 UTC |
|---|---|
| From | onur at php dot net |
| Status | No Feedback |
| Package | PEAR |
| PHP Version | 5.2.0 RC4 |
| OS | Windows |
| Roadmaps | (Not assigned) |
Comments
[2006-12-05 15:27 UTC] onur at php dot net
Description:
------------
Pear Installation via go-pear.org
Test script:
---------------
go-pear.org
Expected result:
----------------
I want to install PEAR in my computer via go-pear.org ( go-pear.php) file when i install it.
i gave this error :
Parse error: parse error, unexpected T_STRING in C:\Documents and Settings\a\Desktop\www\down\index.php on line 40
When i look into file i see that ;
putenv('PHP_PEAR_PHP_BIN=C:\Documents and Settings\a\Desktop\www\down\');
\' piece of the line produce an error when i remove \ character it works successful.
We can use addslashes for defining path of the PHP_PEAR_PHP_BIN constant.
Regards ..