diff --git a/Dockerfile b/Dockerfile index a9612de..5ba0b00 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # Use the official PHP image. # https://hub.docker.com/_/php -FROM php:8.1-apache +FROM php:8.2-apache # Configure PHP for Cloud Run. # Precompile PHP code with opcache. diff --git a/php.ini-production b/php.ini-production index 86a5c8b..825e391 100644 --- a/php.ini-production +++ b/php.ini-production @@ -132,6 +132,9 @@ ; Development Value: Off ; Production Value: Off +; Off to prevent Craft CMS security exploit +register_argc_argv = Off + ; request_order ; Default Value: None ; Development Value: "GP" @@ -699,7 +702,7 @@ auto_globals_jit = On ; Its value may be 0 to disable the limit. It is ignored if POST data reading ; is disabled through enable_post_data_reading. ; https://php.net/post-max-size -post_max_size = 8M +post_max_size = 100M ; Automatically add files before PHP document. ; https://php.net/auto-prepend-file @@ -851,7 +854,7 @@ file_uploads = On ; Maximum allowed size for uploaded files. ; https://php.net/upload-max-filesize -upload_max_filesize = 2M +upload_max_filesize = 100M ; Maximum number of files that can be uploaded via a single request max_file_uploads = 20