Skip to content

Commit cce5ae3

Browse files
committed
get rid of PHPREDIS_BUILD setting since no longer needed
1 parent c55859f commit cce5ae3

File tree

3 files changed

+0
-58
lines changed

3 files changed

+0
-58
lines changed

docker/openemr/7.0.2/openemr.sh

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -261,34 +261,6 @@ if [ "$REDIS_SERVER" != "" ] &&
261261
# and in swarm mode the docker will be functional after this redis section (ie. if do the below config section first
262262
# then the breakage time of the pod will be markedly less).
263263

264-
# Support phpredis build
265-
# This will allow building phpredis towards either most recent development version "develop",
266-
# or a specific sha1 commit id, such as "e571a81f8d3009aab38cbb88dde865edeb0607ac".
267-
# This allows support for tls (ie. encrypted connections) since not available in production
268-
# version 5.3.7 .
269-
if [ "$PHPREDIS_BUILD" != "" ]; then
270-
apk update
271-
apk del --no-cache php82-redis
272-
apk add --no-cache git php82-dev php82-pecl-igbinary gcc make g++
273-
mkdir /tmpredis
274-
cd /tmpredis
275-
git clone https://github.com/phpredis/phpredis.git
276-
cd /tmpredis/phpredis
277-
if [ "$PHPREDIS_BUILD" != "develop" ]; then
278-
git reset --hard "$PHPREDIS_BUILD"
279-
fi
280-
# note for php 8.2, needed to change from 'phpize' to:
281-
phpize82
282-
# note for php 8.2, needed to change from './configure --enable-redis-igbinary' to:
283-
./configure --with-php-config=/usr/bin/php-config82 --enable-redis-igbinary
284-
make -j $(nproc --all)
285-
make install
286-
echo "extension=redis" > /etc/php82/conf.d/20_redis.ini
287-
rm -fr /tmpredis/phpredis
288-
apk del --no-cache git php82-dev gcc make g++
289-
cd /var/www/localhost/htdocs/openemr
290-
fi
291-
292264
# Support the following redis auth:
293265
# No username and No password set (using redis default user with nopass set)
294266
# Both username and password set (using the redis user and pertinent password)

docker/openemr/7.0.3/openemr.sh

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -261,34 +261,6 @@ if [ "$REDIS_SERVER" != "" ] &&
261261
# and in swarm mode the docker will be functional after this redis section (ie. if do the below config section first
262262
# then the breakage time of the pod will be markedly less).
263263

264-
# Support phpredis build
265-
# This will allow building phpredis towards either most recent development version "develop",
266-
# or a specific sha1 commit id, such as "e571a81f8d3009aab38cbb88dde865edeb0607ac".
267-
# This allows support for tls (ie. encrypted connections) since not available in production
268-
# version 5.3.7 .
269-
if [ "$PHPREDIS_BUILD" != "" ]; then
270-
apk update
271-
apk del --no-cache php83-redis
272-
apk add --no-cache git php83-dev php83-pecl-igbinary gcc make g++
273-
mkdir /tmpredis
274-
cd /tmpredis
275-
git clone https://github.com/phpredis/phpredis.git
276-
cd /tmpredis/phpredis
277-
if [ "$PHPREDIS_BUILD" != "develop" ]; then
278-
git reset --hard "$PHPREDIS_BUILD"
279-
fi
280-
# note for php 8.3, needed to change from 'phpize' to:
281-
phpize83
282-
# note for php 8.3, needed to change from './configure --enable-redis-igbinary' to:
283-
./configure --with-php-config=/usr/bin/php-config83 --enable-redis-igbinary
284-
make -j $(nproc --all)
285-
make install
286-
echo "extension=redis" > /etc/php83/conf.d/20_redis.ini
287-
rm -fr /tmpredis/phpredis
288-
apk del --no-cache git php83-dev gcc make g++
289-
cd /var/www/localhost/htdocs/openemr
290-
fi
291-
292264
# Support the following redis auth:
293265
# No username and No password set (using redis default user with nopass set)
294266
# Both username and password set (using the redis user and pertinent password)

kubernetes/openemr/deployment.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ spec:
4646
key: admin-pass
4747
- name: OE_USER
4848
value: "admin"
49-
- name: PHPREDIS_BUILD
50-
value: "35a7cc094c6c264aa37738b074c4c54c4ca73b87"
5149
- name: REDIS_SERVER
5250
value: "redis-0.redis.default.svc.cluster.local"
5351
- name: REDIS_PASSWORD

0 commit comments

Comments
 (0)