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.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | phpargs.patch | 2.88 KB | robloach |
Comments
Comment #1
robloachThis adds additional PHP arguments you can inject, with -d safe_mode=off as a default.
Comment #2
snufkin commentedCommitted, thanks.