ZF-6743: - problems executing if its folder name has whitespaces

Issue Type: Bug Created: 2009-05-20T06:00:51.000+0000 Last Updated: 2012-02-10T09:01:17.000+0000 Status: Resolved Fix version(s): - 1.9.0 (31/Jul/09)

Reporter: Roy Ganor (royganor) Assignee: Satoru Yoshida (satoruyoshida) Tags: - Zend_Tool

Related issues: Attachments:


if the the PHP_DIR includes whitespaces the script fails to be executed.


Posted by old of Satoru Yoshida ( on 2009-06-21T08:30:56.000+0000

The last line of may cause this problem.

<pre class="highlight">
$PHP_BIN -d safe_mode=Off -f $PHP_DIR/zf.php -- $@

It seems to have bad influence on MacOS Edition of Zend Studio for Eclipse 7.0.0 Early Access when creating project.

Posted by Roy Ganor (royganor) on 2009-06-21T08:45:03.000+0000

As a work around one can double quote the $PHP_DIR/zf.php section in the file.

so this line should be altered to $PHP_BIN -d safe_mode=Off -f "$PHP_DIR/zf.php" -- $@

Posted by old of Satoru Yoshida ( on 2009-06-21T09:08:03.000+0000

Thank you, Roy. ;-) Solved in SVN r16195

Posted by Shahar Evron (shahar) on 2009-07-16T05:29:47.000+0000

The problem still exists because $PHP_BIN should be quoted for spaces as well.

Posted by Shahar Evron (shahar) on 2009-07-16T06:02:08.000+0000

Fixed in trunk rev 16770

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.