ambient/docker/php/php.ini
2024-12-20 23:38:54 +01:00

22 lines
899 B
INI

[PHP]
# Memory and execution time limits
memory_limit = 128M # Maximum memory one script can use
max_execution_time = 30 # Maximum time script can run (seconds)
upload_max_filesize = 2M # Maximum file upload size
post_max_size = 2M # Maximum POST request size
# Error handling
display_errors = Off # Show errors (turn Off in production!)
display_startup_errors = On # Show startup errors
log_errors = On # Write errors to log
error_reporting = E_ALL # Report all errors
[Date]
date.timezone = Europe\Paris # Use UTC for consistent timestamps
[opcache]
# Code caching settings
opcache.enable = 1 # Enable code caching
opcache.memory_consumption = 256 # Memory for cached code
opcache.interned_strings_buffer = 16
opcache.max_accelerated_files = 16229