Skip to content

Commit c9e5827

Browse files
committed
*Add variables for opcache and xdebug to optionally enable them and default to disable
1 parent df1bff3 commit c9e5827

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

bootstrap.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,11 @@ if [ ! -z "$HOST_UID" ]; then
1515
chown -R www-data:www-data .
1616
fi
1717

18+
if [ -z "$ENABLE_OPCACHE" ]; then
19+
rm -f /usr/local/etc/php/conf.d/opcache.ini
20+
fi
21+
22+
if [ -z "$ENABLE_XDEBUG" ]; then
23+
rm -f /usr/local/etc/php/conf.d/xdebug.ini
24+
fi
1825
exec "$@"

0 commit comments

Comments
 (0)