diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc index 73bcff2..964fb0c 100644 --- a/includes/bootstrap.inc +++ b/includes/bootstrap.inc @@ -1010,7 +1010,8 @@ function drush_bootstrap_prepare() { // Check supported version of PHP. define('DRUSH_MINIMUM_PHP', '5.3.5'); if (version_compare(phpversion(), DRUSH_MINIMUM_PHP) < 0) { - die('Your command line PHP installation is too old. Drush requires at least PHP ' . DRUSH_MINIMUM_PHP . "\n"); + drush_log(dt('Your command line PHP installation is too old. Drush requires at least PHP !version.', array('!version' => DRUSH_MINIMUM_PHP)), 'error'); + exit(1); } $drush_info = drush_read_drush_info();