Laravel 13 + Filament 5 admin panel and REST API for a non-profit developer collective, backed by the Pireon OAuth identity server. The public site is a separate, server-rendered application consuming /api/public/v1. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
29 lines
892 B
INI
29 lines
892 B
INI
; Production PHP settings.
|
|
|
|
expose_php = Off
|
|
memory_limit = 256M
|
|
|
|
; Uploads are images: a phone photo is routinely over 8 MB, and the processor
|
|
; downsizes them afterwards anyway.
|
|
upload_max_filesize = 24M
|
|
post_max_size = 26M
|
|
max_execution_time = 60
|
|
|
|
; The image processor holds a decoded bitmap in memory — a 24 megapixel photo
|
|
; is roughly 100 MB decoded — and config/media.php refuses anything larger
|
|
; rather than trying.
|
|
;
|
|
; opcache is what makes the difference between an SSR frontend waiting 40ms
|
|
; and 4ms per API call.
|
|
opcache.enable = 1
|
|
opcache.memory_consumption = 128
|
|
opcache.max_accelerated_files = 20000
|
|
opcache.validate_timestamps = 0
|
|
opcache.interned_strings_buffer = 16
|
|
|
|
; Errors go to the log, never to the response: this API answers a frontend
|
|
; that would otherwise render a stack trace into a public page.
|
|
display_errors = Off
|
|
log_errors = On
|
|
error_log = /dev/stderr
|