From ccb07fd824574918f02d87f3819d38664b8a913f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Bajsarowicz?= Date: Fri, 10 Apr 2026 07:21:57 +0200 Subject: [PATCH] fix: remove end-of-life PHP version references from htaccess files --- pub/.htaccess | 47 -------------------------------------------- pub/media/.htaccess | 4 ---- pub/static/.htaccess | 4 ---- 3 files changed, 55 deletions(-) diff --git a/pub/.htaccess b/pub/.htaccess index 1b5d7e007000f..cfe9cd279c1a7 100644 --- a/pub/.htaccess +++ b/pub/.htaccess @@ -5,63 +5,16 @@ # Options are default, production, or developer # SetEnv MAGE_MODE default -############################################ -## Uncomment these lines for CGI mode. -## Make sure to specify the correct cgi php binary file name -## it might be /cgi-bin/php-cgi - -# Action php5-cgi /cgi-bin/php5-cgi -# AddHandler php5-cgi .php - -############################################ -## GoDaddy specific options - -# Options -MultiViews - -## You might also need to add this line to php.ini -## cgi.fix_pathinfo = 1 -## If it still doesn't work, rename php.ini to php5.ini - ############################################ ## Enable usage of methods arguments in backtrace #SetEnv MAGE_DEBUG_SHOW_ARGS 1 -############################################ -## This line is specific for 1and1 hosting - - #AddType x-mapp-php5 .php - #AddHandler x-mapp-php5 .php - ############################################ ## Default index file DirectoryIndex index.php - -############################################ -## Adjust memory limit - - php_value memory_limit 756M - php_value max_execution_time 18000 - -############################################ -## Disable automatic session start -## before autoload was initialized - - php_flag session.auto_start off - -############################################ -## Enable resulting html compression - - #php_flag zlib.output_compression on - -########################################### -# Disable user agent verification to not break multiple image upload - - php_flag suhosin.session.cryptua off - - ############################################ ## Adjust memory limit diff --git a/pub/media/.htaccess b/pub/media/.htaccess index f58e492bb67a5..6ad5cba4c72df 100644 --- a/pub/media/.htaccess +++ b/pub/media/.htaccess @@ -1,9 +1,5 @@ Options -Indexes - - php_flag engine 0 - - php_flag engine 0 diff --git a/pub/static/.htaccess b/pub/static/.htaccess index 016982f3049a1..9070c2371d452 100644 --- a/pub/static/.htaccess +++ b/pub/static/.htaccess @@ -1,7 +1,3 @@ - - php_flag engine 0 - - php_flag engine 0