Skip to content

Commit 5bd533d

Browse files
authored
redis build fix for php 8.2 (#358)
1 parent 5bab5fb commit 5bd533d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docker/openemr/7.0.2/openemr.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,10 @@ if [ "$REDIS_SERVER" != "" ] &&
257257
if [ "$PHPREDIS_BUILD" != "develop" ]; then
258258
git reset --hard "$PHPREDIS_BUILD"
259259
fi
260-
phpize
261-
./configure --enable-redis-igbinary
260+
# note for php 8.2, needed to change from 'phpize' to:
261+
phpize82
262+
# note for php 8.2, needed to change from './configure --enable-redis-igbinary' to:
263+
./configure --with-php-config=/usr/bin/php-config82 --enable-redis-igbinary
262264
make
263265
make install
264266
echo "extension=redis" > /etc/php82/conf.d/20_redis.ini

0 commit comments

Comments
 (0)