Skip to content

Commit 1dac382

Browse files
Omranicbestlong
authored andcommitted
Drop the useless PHP tokenizer extension install step (laradock#1650)
It is bundled and enabled by default in the PHP language already, and adding this step raises a warning: warning: tokenizer (tokenizer.so) is already loaded! Also if this option disabled, it's still installed as part of the language anyway!
1 parent 876336b commit 1dac382

3 files changed

Lines changed: 0 additions & 11 deletions

File tree

docker-compose.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@ services:
143143
- INSTALL_MYSQLI=${PHP_FPM_INSTALL_MYSQLI}
144144
- INSTALL_PGSQL=${PHP_FPM_INSTALL_PGSQL}
145145
- INSTALL_PG_CLIENT=${PHP_FPM_INSTALL_PG_CLIENT}
146-
- INSTALL_TOKENIZER=${PHP_FPM_INSTALL_TOKENIZER}
147146
- INSTALL_INTL=${PHP_FPM_INSTALL_INTL}
148147
- INSTALL_GHOSTSCRIPT=${PHP_FPM_INSTALL_GHOSTSCRIPT}
149148
- INSTALL_LDAP=${PHP_FPM_INSTALL_LDAP}

env-example

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ WORKSPACE_SSH_PORT=2222
134134
PHP_FPM_INSTALL_ZIP_ARCHIVE=true
135135
PHP_FPM_INSTALL_BCMATH=true
136136
PHP_FPM_INSTALL_MYSQLI=true
137-
PHP_FPM_INSTALL_TOKENIZER=true
138137
PHP_FPM_INSTALL_INTL=true
139138
PHP_FPM_INSTALL_IMAGEMAGICK=true
140139
PHP_FPM_INSTALL_OPCACHE=true

php-fpm/Dockerfile

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -392,15 +392,6 @@ RUN if [ ${INSTALL_MYSQLI} = true ]; then \
392392
docker-php-ext-install mysqli \
393393
;fi
394394

395-
###########################################################################
396-
# Tokenizer Modifications:
397-
###########################################################################
398-
399-
ARG INSTALL_TOKENIZER=false
400-
401-
RUN if [ ${INSTALL_TOKENIZER} = true ]; then \
402-
docker-php-ext-install tokenizer \
403-
;fi
404395

405396
###########################################################################
406397
# Human Language and Character Encoding Support:

0 commit comments

Comments
 (0)