Skip to content

Commit

Permalink
Test environment more specifically.
Browse files Browse the repository at this point in the history
  • Loading branch information
helmo committed Jan 6, 2014
1 parent 99632b1 commit dde1f8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,10 +280,7 @@ magic_quotes_sybase = Off
CONFIGURING DRUSH FOR PHP 5.5
-----------------------------
Find your php-cli php.ini file using `drush status`, as described above.
Then, comment out the disable_functions line.
In addition, if you are running on Linux, you may find that you need
If you are running on Linux, you may find that you need
the php5-json package. On Ubuntu, you can install it via:
`apt-get install php5-json`
Expand Down
2 changes: 1 addition & 1 deletion includes/environment.inc
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function _drush_environment_check_php_ini() {
}
else {
foreach ($disallowed_value as $test_value) {
if (strstr($ini_value, $test_value) !== FALSE) {
if (preg_match('/(^|,)' . $test_value . '(,|$)/', $ini_value)) {
$invalid_value = TRUE;
}
}
Expand Down

0 comments on commit dde1f8d

Please sign in to comment.