Skip to content

Commit ce157ec

Browse files
feat: add php 8.3
1 parent b054cd3 commit ce157ec

File tree

4 files changed

+14
-354
lines changed

4 files changed

+14
-354
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM node:19.9.0-alpine AS node
22

33
# Base image with PHP-FPM
4-
FROM php:8.2.25RC1-fpm-alpine3.20 AS base
4+
FROM php:8.3.13RC1-fpm-alpine3.20 AS base
55

66
# Musl for adding locales
77
ENV MUSL_LOCALE_DEPS="cmake make musl-dev gcc gettext-dev libintl"
@@ -137,7 +137,7 @@ COPY ./config/supervisord-master.ini /etc/supervisor.d/master.ini
137137
COPY ./config/php-fpm.conf /usr/local/etc/php-fpm.conf
138138

139139
# Copy PHP configuration
140-
COPY ./config/php8.2.ini /usr/local/etc/php/php.ini
140+
COPY ./config/php8.3.ini /usr/local/etc/php/php.ini
141141

142142
# Set permissions
143143
RUN chown -R www-data:www-data /var/lib/nginx /var/log/nginx /run/nginx /var/log/supervisor /var/run

bak.Dockerfile

Lines changed: 0 additions & 152 deletions
This file was deleted.

config/php8.2.ini renamed to config/php8.3.ini

Lines changed: 12 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,11 @@
144144
; Development Value: 5
145145
; Production Value: 5
146146

147+
; session.sid_length
148+
; Default Value: 32
149+
; Development Value: 26
150+
; Production Value: 26
151+
147152
; short_open_tag
148153
; Default Value: On
149154
; Development Value: Off
@@ -154,6 +159,11 @@
154159
; Development Value: "GPCS"
155160
; Production Value: "GPCS"
156161

162+
; zend.assertions
163+
; Default Value: 1
164+
; Development Value: 1
165+
; Production Value: -1
166+
157167
; zend.exception_ignore_args
158168
; Default Value: Off
159169
; Development Value: Off
@@ -1590,33 +1600,14 @@ session.sid_bits_per_character = 5
15901600
; -1: Do not compile at all
15911601
; 0: Jump over assertion at run-time
15921602
; 1: Execute assertions
1593-
; Changing from or to a negative value is only possible in php.ini! (For turning assertions on and off at run-time, see assert.active, when zend.assertions = 1)
1603+
; Changing from or to a negative value is only possible in php.ini!
1604+
; (For turning assertions on and off at run-time, toggle zend.assertions between the values 1 and 0)
15941605
; Default Value: 1
15951606
; Development Value: 1
15961607
; Production Value: -1
15971608
; https://php.net/zend.assertions
15981609
zend.assertions = -1
15991610

1600-
; Assert(expr); active by default.
1601-
; https://php.net/assert.active
1602-
;assert.active = On
1603-
1604-
; Throw an AssertionError on failed assertions
1605-
; https://php.net/assert.exception
1606-
;assert.exception = On
1607-
1608-
; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
1609-
; https://php.net/assert.warning
1610-
;assert.warning = On
1611-
1612-
; Don't bail out by default.
1613-
; https://php.net/assert.bail
1614-
;assert.bail = Off
1615-
1616-
; User-function to be called if an assertion fails.
1617-
; https://php.net/assert.callback
1618-
;assert.callback = 0
1619-
16201611
[COM]
16211612
; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
16221613
; https://php.net/com.typelib-file
@@ -1849,10 +1840,6 @@ ldap.max_links = -1
18491840
; are cached.
18501841
;opcache.max_file_size=0
18511842

1852-
; Check the cache checksum each N requests.
1853-
; The default value of "0" means that the checks are disabled.
1854-
;opcache.consistency_checks=0
1855-
18561843
; How long to wait (in seconds) for a scheduled restart to begin if the cache
18571844
; is not being accessed.
18581845
;opcache.force_restart_timeout=180

0 commit comments

Comments
 (0)