In my web hosting I get:

PHP safe mode is activated. Drush requires that safe mode is         [error]

disabled.

Drush could not execute.                                             [error]

So it should be turned off by default in drush_terminal.terminal.inc :

exec("$php -d safe_mode=off $drush -- --no-color -r '$root' " . $args, $output);

Workaround for the user is to append "-d safe_mode=off" in PHP Path.

CommentFileSizeAuthor
#1 phpargs.patch2.88 KBrobloach

Comments

robloach’s picture

Status: Patch (to be ported) » Needs review
StatusFileSize
new2.88 KB

This adds additional PHP arguments you can inject, with -d safe_mode=off as a default.

snufkin’s picture

Status: Needs review » Fixed

Committed, thanks.

Status: Fixed » Closed (fixed)
Issue tags: -patch

Automatically closed -- issue fixed for 2 weeks with no activity.