Skip to content

Commit

Permalink
Bump minimum version of php required to 5.3.5 per #1751100
Browse files Browse the repository at this point in the history
  • Loading branch information
jonhattan committed Oct 24, 2012
1 parent 8264968 commit 14e9978
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drush.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @file
* drush is a PHP script implementing a command line shell for Drupal.
*
* @requires PHP CLI 5.3.2, or newer.
* @requires PHP CLI 5.3.5, or newer.
*/

require(dirname(__FILE__) . '/includes/bootstrap.inc');
Expand Down
2 changes: 1 addition & 1 deletion includes/bootstrap.inc
Original file line number Diff line number Diff line change
Expand Up @@ -1008,7 +1008,7 @@ function drush_bootstrap_prepare() {
}

// Check supported version of PHP.
define('DRUSH_MINIMUM_PHP', '5.3.2');
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");
}
Expand Down

0 comments on commit 14e9978

Please sign in to comment.