diff --git a/.htaccess b/.htaccess
index 46e83b17e1f07..4986f7d380f00 100644
--- a/.htaccess
+++ b/.htaccess
@@ -53,6 +53,7 @@
+# PHP 7.x
php_value mbstring.func_overload 0
php_value default_charset 'UTF-8'
@@ -62,7 +63,8 @@
-
+# PHP 8+
+
php_value mbstring.func_overload 0
php_value default_charset 'UTF-8'
php_value output_buffering 0