Fix: php_flag Fehler behoben - .htaccess angepasst und .user.ini für FastCGI hinzugefügt
This commit is contained in:
@@ -18,8 +18,10 @@
|
|||||||
Options -Indexes
|
Options -Indexes
|
||||||
|
|
||||||
# PHP Fehler nicht anzeigen (für Produktivbetrieb)
|
# PHP Fehler nicht anzeigen (für Produktivbetrieb)
|
||||||
php_flag display_errors Off
|
# Hinweis: php_flag funktioniert nur wenn PHP als Apache-Modul läuft
|
||||||
php_flag log_errors On
|
# Bei FastCGI/CGI: Verwenden Sie stattdessen .user.ini (siehe unten)
|
||||||
|
# php_flag display_errors Off
|
||||||
|
# php_flag log_errors On
|
||||||
|
|
||||||
# ======================================
|
# ======================================
|
||||||
# SEO & PERFORMANCE
|
# SEO & PERFORMANCE
|
||||||
|
|||||||
15
.user.ini
Normal file
15
.user.ini
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
; PHP Konfiguration für FastCGI/CGI Umgebungen
|
||||||
|
; Diese Datei wird automatisch geladen wenn PHP als FastCGI läuft
|
||||||
|
|
||||||
|
; Fehler nicht im Browser anzeigen (Sicherheit)
|
||||||
|
display_errors = Off
|
||||||
|
|
||||||
|
; Fehler in Log-Datei schreiben
|
||||||
|
log_errors = On
|
||||||
|
|
||||||
|
; Upload-Größe für Kontaktformular (falls später erweitert)
|
||||||
|
upload_max_filesize = 10M
|
||||||
|
post_max_size = 10M
|
||||||
|
|
||||||
|
; Execution Time
|
||||||
|
max_execution_time = 30
|
||||||
Reference in New Issue
Block a user