Skip to content

Commit c7c036e

Browse files
authored
Add extensions used in Laravel, Symfony. (#9874)
* [php] Add extension for Laravel * Add PHP extension instead of polyfill * Change php.ini to the same settings as the Symfony Framework * [php] Add extension for Symfony * Add PHP extension instead of polyfill * Change php.ini to the same settings as the Symfony Framework
1 parent e3652b6 commit c7c036e

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

frameworks/PHP/laravel/deploy/conf/php.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1770,14 +1770,14 @@ opcache.enable=1
17701770
opcache.enable_cli=1
17711771

17721772
; The OPcache shared memory storage size.
1773-
;opcache.memory_consumption=128
1773+
opcache.memory_consumption=256
17741774

17751775
; The amount of memory for interned strings in Mbytes.
17761776
;opcache.interned_strings_buffer=8
17771777

17781778
; The maximum number of keys (scripts) in the OPcache hash table.
17791779
; Only numbers between 200 and 1000000 are allowed.
1780-
;opcache.max_accelerated_files=10000
1780+
opcache.max_accelerated_files=20000
17811781

17821782
; The maximum percentage of "wasted" memory until a restart is scheduled.
17831783
;opcache.max_wasted_percentage=5

frameworks/PHP/laravel/laravel.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ RUN LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php > /dev/null && \
77
apt-get update -yqq > /dev/null && apt-get upgrade -yqq > /dev/null
88

99
RUN apt-get install -yqq nginx git unzip \
10-
php8.4-cli php8.4-fpm php8.4-mysql php8.4-mbstring php8.4-xml php8.4-curl > /dev/null
10+
php8.4-bcmath php8.4-cli php8.4-fpm php8.4-mysql php8.4-mbstring php8.4-xml php8.4-curl php8.4-intl > /dev/null
1111

1212
COPY --from=composer --link /usr/bin/composer /usr/local/bin/composer
1313

frameworks/PHP/symfony/symfony.dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ RUN LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php > /dev/null && \
77
apt-get update -yqq > /dev/null && apt-get upgrade -yqq > /dev/null
88

99
RUN apt-get install -yqq nginx git unzip curl \
10-
php8.4-cli php8.4-fpm php8.4-pgsql \
11-
php8.4-mbstring php8.4-xml php8.4-curl php8.4-dev > /dev/null
10+
php8.4-bcmath php8.4-cli php8.4-fpm php8.4-pgsql \
11+
php8.4-mbstring php8.4-xml php8.4-curl php8.4-dev php8.4-intl > /dev/null
1212

1313
COPY --from=composer/composer:latest-bin --link /composer /usr/local/bin/composer
1414

0 commit comments

Comments
 (0)