Переход на php8.3 + обновление зависимостей

This commit is contained in:
2025-02-26 01:35:06 +08:00
parent d337925713
commit 2ab7cd7378
7 changed files with 37 additions and 112 deletions

View File

@@ -1,4 +1,4 @@
FROM php:8.2-fpm
FROM php:8.3-fpm
RUN apt update && \
apt upgrade -y && \

View File

@@ -2,10 +2,7 @@
error_reporting = E_ALL
expose_php = Off
file_uploads = Off
memory_limit=-1
max_execution_time=-1
; upload_max_filesize=10M
; post_max_size=10M
[opcache]
opcache.enable = 1
@@ -22,7 +19,7 @@ zend_extension = xdebug.so
xdebug.mode = debug
xdebug.start_with_request = yes
xdebug.trigger_value = go
xdebug.client_host = 172.17.0.1
xdebug.client_host = host.docker.internal
xdebug.REQUEST = *
xdebug.SESSION = *
xdebug.SERVER = *

View File

@@ -1,4 +1,4 @@
FROM php:8.2-fpm
FROM php:8.3-fpm
RUN apt update && \
apt upgrade -y && \

View File

@@ -3,7 +3,7 @@ user = www-data
group = www-data
listen = 127.0.0.1:9000
pm = dynamic
pm.max_children = 5
pm.max_children = 20
pm.start_servers = 2
pm.min_spare_servers = 1
pm.max_spare_servers = 3
@@ -18,4 +18,4 @@ access.log = /var/log/php/$pool.access.log
php_flag[display_errors] = on
php_admin_value[error_log] = /var/log/php/www.error.log
php_admin_flag[log_errors] = on
php_admin_value[memory_limit] = 32M
php_admin_value[memory_limit] = 512M