From ea7f209a1135c621ebbf8717fc9a57a727ecec71 Mon Sep 17 00:00:00 2001 From: mkn Date: Mon, 5 Oct 2026 15:45:42 +0200 Subject: [PATCH] feat(ui): redesign the PHP settings & file repair section MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Each .user.ini directive gets its own setting-row: a plain-language name, the directive as a hint, one line on what it does, and a narrow right-aligned input. The inputs gain type="text", which is what the global input style keys on — without it they rendered as grey, disabled-looking boxes. The memory_limit/max_execution_time paragraph becomes a row linking to PHP-FPM limits, and permission repair moves under its own "File ownership" group. Template-only: field names, _csrf tokens and form actions unchanged. Co-Authored-By: Claude Opus 5.5 --- .../templates/hostings_detail.html | 100 ++++++++++-------- 1 file changed, 57 insertions(+), 43 deletions(-) diff --git a/bin/hyperion-web/templates/hostings_detail.html b/bin/hyperion-web/templates/hostings_detail.html index 3f92b311..3bf09f4a 100644 --- a/bin/hyperion-web/templates/hostings_detail.html +++ b/bin/hyperion-web/templates/hostings_detail.html @@ -2936,45 +2936,58 @@

{# Operator php.ini overrides, applied via a per-hosting .user.ini (no FPM restart; takes effect within ~5 min). Leave a field blank to fall back to - the pool/global default. #} + the pool/global default. One row per directive, named by what it does — + the directive itself is the hint, for the operator who searches for it. #}

PHP settings & file repair

- {% if php_ini.any() %}.user.ini active{% else %}.user.ini overrides{% endif %}{% call chevron() %} + {% if php_ini.any() %}.user.ini active{% else %}pool defaults{% endif %}{% call chevron() %}
-

- Per-hosting .user.ini overrides. Blank = pool default. Sizes like 256M / 1G. - memory_limit and max_execution_time live in - PHP-FPM & DB limits instead: the pool applies them as - php_admin_value, which .user.ini is not permitted to override. -

+
-
-
- - + +
PHP overrides · .user.ini · blank = pool default
+
+
+ +

Biggest single file the media library or a form accepts. Sizes like 64M or 1G.

+
-
- - +
+ +

The whole form submission, files included — keep it at or above the upload size.

+
-
- - +
+ +

Raise it when a long menu or a product with many variations saves only partly.

+
-
- - +
+ +

Only while debugging — visitors see file paths and stack traces.

+
+ +
+
+
+ Memory & time limit +

+ memory_limit and max_execution_time are set by the pool as + php_admin_value, which .user.ini cannot override. +

+
-
Lifecycle & billing