; docker/php.ini
; PHP configuration for development environment

; Enable opcache for better performance
opcache.enable=1
opcache.memory_consumption=256
opcache.max_accelerated_files=7963
opcache.revalidate_freq=0
opcache.fast_shutdown=1

; Development settings
display_errors=On
display_startup_errors=On
error_reporting=E_ALL
log_errors=On
html_errors=Off

; Memory limits
memory_limit=512M
max_execution_time=300
max_input_time=300
max_input_vars=5000

; File upload settings
file_uploads=On
upload_max_filesize=64M
post_max_size=64M

; Session settings
session.auto_start=Off
session.use_only_cookies=On
session.use_strict_mode=On
session.cookie_httponly=On
session.cookie_secure=Off
session.use_cookies=On

; Security settings
expose_php=Off