Skip to content

Commit

Permalink
update inc/redis.inc ensure IGBINARY_INSTALL variable is accounted fo…
Browse files Browse the repository at this point in the history
…r in 123.09beta01

when compiling redis php extension support with --enable-redis-igbinary option
  • Loading branch information
centminmod committed Aug 6, 2016
1 parent a7a7387 commit 19bdc3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/redis.inc
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ if [[ "$PHPMUVER" = '7.1' || "$PHPMUVER" = 'NGDEBUG' || "$PHPSEVEN_CHECKVER" = '
make clean
fi
/usr/local/bin/phpize
if [[ -f "${PHPEXTDIRD}/igbinary.so" ]]; then
if [[ -f "${PHPEXTDIRD}/igbinary.so" ]] && [ "$IGBINARY_INSTALL" == 'y' ]; then
./configure --with-php-config=/usr/local/bin/php-config --enable-redis-igbinary
else
./configure --with-php-config=/usr/local/bin/php-config
Expand All @@ -101,7 +101,7 @@ if [[ "$PHPMUVER" = '7.1' || "$PHPMUVER" = 'NGDEBUG' || "$PHPSEVEN_CHECKVER" = '
make clean
fi
/usr/local/bin/phpize
if [[ -f "${PHPEXTDIRD}/igbinary.so" ]]; then
if [[ -f "${PHPEXTDIRD}/igbinary.so" ]] && [ "$IGBINARY_INSTALL" == 'y' ]; then
if [[ "$PHPMUVER" = '5.5' ]] || [[ "$INITIALINSTALL" = [yY] && "$(echo "$PHP_VERSION" | cut -d . -f1,2)" = '5.5' ]]; then
./configure --with-php-config=/usr/local/bin/php-config
else
Expand Down

0 comments on commit 19bdc3a

Please sign in to comment.