Skip to content

Commit 607554e

Browse files
authored
update opcache.jit settings in dockers to ensure compatible for future php 8.4 (#387)
1 parent 8aed4b0 commit 607554e

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

docker/openemr/7.0.3/openemr.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,7 @@ if [ "$XDEBUG_IDE_KEY" != "" ] ||
425425
else
426426
# Configure opcache jit if Xdebug is not being used (note opcache is already on, so just need to add setting(s) to php.ini that are different from the default setting(s))
427427
if [ ! -f /etc/php-opcache-jit-configured ]; then
428+
echo "opcache.jit=tracing" >> /etc/php83/php.ini
428429
echo "opcache.jit_buffer_size=100M" >> /etc/php83/php.ini
429430
touch /etc/php-opcache-jit-configured
430431
fi

docker/openemr/flex-3.19/openemr.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -502,6 +502,7 @@ if [ "$XDEBUG_IDE_KEY" != "" ] ||
502502
else
503503
# Configure opcache jit if Xdebug is not being used (note opcache is already on, so just need to add setting(s) to php.ini that are different from the default setting(s))
504504
if [ ! -f /etc/php-opcache-jit-configured ]; then
505+
echo "opcache.jit=tracing" >> /etc/php83/php.ini
505506
echo "opcache.jit_buffer_size=100M" >> /etc/php83/php.ini
506507
touch /etc/php-opcache-jit-configured
507508
fi

docker/openemr/flex-edge/openemr.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -502,6 +502,7 @@ if [ "$XDEBUG_IDE_KEY" != "" ] ||
502502
else
503503
# Configure opcache jit if Xdebug is not being used (note opcache is already on, so just need to add setting(s) to php.ini that are different from the default setting(s))
504504
if [ ! -f /etc/php-opcache-jit-configured ]; then
505+
echo "opcache.jit=tracing" >> /etc/php83/php.ini
505506
echo "opcache.jit_buffer_size=100M" >> /etc/php83/php.ini
506507
touch /etc/php-opcache-jit-configured
507508
fi

0 commit comments

Comments
 (0)