feat: CI/CD pipeline setup complete - Ansible playbooks updated, secrets configured, workflow ready
This commit is contained in:
@@ -1,34 +1,36 @@
|
||||
; php.ini für Produktion
|
||||
include = php.common.ini
|
||||
|
||||
[opcache]
|
||||
; Aktiviere OPcache
|
||||
opcache.enable=1
|
||||
; Aktiviere OPcache für CLI-Anwendungen (optional)
|
||||
opcache.enable_cli=0
|
||||
; Maximale Speichernutzung für Cache in MB
|
||||
opcache.memory_consumption=128
|
||||
; Maximale Anzahl an gecachten Dateien
|
||||
opcache.max_accelerated_files=10000
|
||||
; Wie oft wird der Cache validiert (0 = bei jedem Request)
|
||||
; TEMPORÄR: 0 für einfachere Deployments während aktiver Entwicklung
|
||||
; SPÄTER: Auf 60 erhöhen wenn System stabil ist
|
||||
opcache.revalidate_freq=0
|
||||
; Cache-Zeitstempel prüfen
|
||||
; TEMPORÄR: 1 aktiviert für Deployment-Flexibilität
|
||||
; SPÄTER: Auf 0 setzen für maximale Performance wenn stabil
|
||||
opcache.validate_timestamps=1
|
||||
; Performance-Optimierungen
|
||||
opcache.interned_strings_buffer=16
|
||||
; JIT (Just-In-Time Compilation) - Optional für PHP 8.0+
|
||||
opcache.jit_buffer_size=100M
|
||||
opcache.jit=1255
|
||||
|
||||
; Production PHP Configuration for Custom PHP Framework
|
||||
|
||||
[PHP]
|
||||
; Error handling - Log errors, don't display
|
||||
display_errors = Off
|
||||
display_startup_errors = Off
|
||||
log_errors = On
|
||||
error_log = /var/www/html/storage/logs/php-errors.log
|
||||
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
|
||||
|
||||
; Performance
|
||||
memory_limit = 256M
|
||||
upload_max_filesize = 10M
|
||||
post_max_size = 12M
|
||||
max_execution_time = 30
|
||||
max_input_time = 60
|
||||
post_max_size = 20M
|
||||
upload_max_filesize = 20M
|
||||
|
||||
; Session
|
||||
session.save_handler = files
|
||||
session.save_path = /var/www/html/storage/sessions
|
||||
session.gc_maxlifetime = 1440
|
||||
session.cookie_httponly = 1
|
||||
session.cookie_secure = 1
|
||||
session.use_strict_mode = 1
|
||||
|
||||
; Security
|
||||
expose_php = Off
|
||||
allow_url_fopen = On
|
||||
allow_url_include = Off
|
||||
|
||||
; Timezone
|
||||
date.timezone = Europe/Berlin
|
||||
|
||||
; Realpath cache (performance)
|
||||
realpath_cache_size = 4M
|
||||
realpath_cache_ttl = 600
|
||||
|
||||
Reference in New Issue
Block a user