Edit report at http://pear.php.net/bugs/bug.php?id=16644&edit=1

ID: 16644
Comment by: bwaters@solutionsbywaters.com
Reported By: bwaters at solutionsbywaters dot com
Summary: pear returns syntax error when parenthesis are in
install path.
Status: Open
Type: Bug
Package: PEAR
Operating System: Vista-64bit
Package Version: 1.9.0
PHP Version: 5.3.0
Roadmap Versions:
New Comment:

Fixed in pear.bat changed quoting of include_path directive at the end
of the file to


The double quotes get it through the windows shell and the single
quotes are used by php.

The actual line now reads.

"%PHP_PEAR_PHP_BIN%" -C -d output_buffering=1 -d safe_mode=0 -d
open_basedir="" -d auto_prepend_file="" -d auto_append_file="" -d
variables_order=EGPCS -d register_argc_argv="On" -d
"include_path='%PHP_PEAR_INSTALL_DIR%'" -f
"%PHP_PEAR_INSTALL_DIR%\pearcmd.php" -- %1 %2 %3 %4 %5 %6 %7 %8 %9

Previous Comments:

[2009-09-25 17:04:31] bwaters

When installed under C:\Program Files (x86)\ pear returns syntax error
because the include_path directive is not properly quoted

Test script:
C:\Program Files(x86)\Zend\ZendServer\bin>pear

Expected result:
list of commands....

Actual result:
Alert box form php thrown -
Syntax Error, unexpected '(' in Unknown on Line 14


Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
postedSep 25, '09 at 3:14p
activeSep 25, '09 at 3:14p

1 user in discussion

Bwaters: 1 post



site design / logo © 2021 Grokbase