Remove php5 from htaccess writer

Created on 20 August 2019, over 5 years ago
Updated 19 January 2023, almost 2 years ago

Problem/Motivation

Follow-up to #3013210-30: Add drupal/core-filesecurity component for writing htaccess files

+++ b/core/lib/Drupal/Component/FileSecurity/FileSecurity.php
@@ -0,0 +1,160 @@
+# If we know how to do it safely, disable the PHP engine entirely.
+<IfModule mod_php5.c>
+  php_flag engine off
+</IfModule>

core no longer running on php5 so this lines should be removed

Proposed resolution

Do not add protection for unsupported php version

Remaining tasks

- discus when to remove
- check supported apache versions

User interface changes

no

API changes

no

Data model changes

no

Release notes snippet

TBD

📌 Task
Status

Closed: duplicate

Version

10.1

Component
File system 

Last updated about 2 hours ago

Created by

🇫🇷France andypost

Live updates comments and jobs are added and updated live.
  • Needs change record

    A change record needs to be drafted before an issue is committed. Note: Change records used to be called change notifications.

  • Needs release note

    The major change should have a special release note written to summarize the importance of the change. See Write a release note for an issue.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Status changed to Closed: duplicate almost 2 years ago
Production build 0.71.5 2024