; RoomSky base PHP settings, baked into both images. ; ; These defaults are safe for production: errors go to the log, never into a ; response body, and exception traces carry no argument values (a frame such ; as DpopHttpClient->send('eyJhbGciOi...') would otherwise copy the start of ; an access token into the log). docker-compose.yml mounts one overlay on top, ; selected by PHP_INI_OVERLAY: development.ini (the default, shows errors) or ; production.ini (adds opcache.validate_timestamps=0). expose_php = Off display_errors = Off display_startup_errors = Off error_reporting = E_ALL log_errors = On error_log = /proc/self/fd/2 zend.exception_ignore_args = On memory_limit = 384M max_execution_time = 60 post_max_size = 32M upload_max_filesize = 8M max_file_uploads = 20 date.timezone = UTC opcache.enable = 1 opcache.enable_cli = 0 opcache.memory_consumption = 128 opcache.interned_strings_buffer = 16 opcache.max_accelerated_files = 10000 opcache.validate_timestamps = 1 opcache.revalidate_freq = 0 ; Sessions default to files here and are switched to Valkey at runtime ; by App\Session\Session when SESSION_DRIVER=valkey. session.save_handler = files session.save_path = "/var/www/html/var/sessions" session.use_strict_mode = 1 session.use_only_cookies = 1 session.cookie_httponly = 1 session.cookie_samesite = Lax session.gc_maxlifetime = 1209600 session.lazy_write = 0 ; RoomSky never reads upload progress. Off removes the session upload ; progress code path (one of the CVE-2026-109619 vectors) entirely. session.upload_progress.enabled = 0 ; Native phpredis session locking. These are INI-level so they are always ; available before session_start(). redis.session.locking_enabled = 1 redis.session.lock_expire = 30 redis.session.lock_wait_time = 25000 redis.session.lock_retries = 100