<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Feature Request: Check minimum required PHP version before FOG dev-branch upgrades]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I would like to suggest improving PHP version compatibility checks during FOG installation and upgrades, especially when updating to the latest dev-branch.</p>
<p dir="auto">On several occasions after upgrading FOG development versions, I experienced issues such as:</p>
<ul>
<li>The Management Portal login stopped working.</li>
<li>Newly introduced features produced PHP runtime errors.</li>
<li>The installer completed successfully without warning that the installed PHP version might not meet the requirements of the updated FOG code.</li>
</ul>
<p dir="auto">Not all of these errors were necessarily caused by an outdated PHP version, but better compatibility checks would help prevent and diagnose them.</p>
<p dir="auto">Suggested improvements:</p>
<ol>
<li>Check the installed PHP version before upgrading FOG.</li>
<li>Define the minimum required PHP version for each FOG release or development build.</li>
<li>Verify both PHP CLI and PHP-FPM versions.</li>
<li>Check required PHP extensions and their availability.</li>
<li>Warn if PHP is too old or if the installed PHP version is not yet supported.</li>
<li>Perform these checks BEFORE replacing application files or modifying the database.</li>
<li>Stop the upgrade if a required PHP dependency is missing, unless an explicit override is provided.</li>
<li>After upgrading, check the Management Portal, login page, HTTP 500 errors and PHP fatal errors.</li>
<li>Provide a pre-upgrade compatibility check, for example:<br />
./installfog.sh --check-requirements</li>
</ol>
<p dir="auto">Example warning:</p>
<p dir="auto">FOG PHP Compatibility Check<br />
Installed PHP: 8.x<br />
Minimum PHP required: X.Y<br />
Status: Upgrade blocked<br />
Please upgrade PHP before continuing.</p>
<p dir="auto">It would also be useful to display the required PHP version in the installer summary and documentation.</p>
<p dir="auto">The goal is to prevent situations where FOG reports “Setup complete” but the Management Portal or newly introduced functionality fails afterward.</p>
<p dir="auto">Could this improvement be considered for a future FOG 1.6 dev-branch update?</p>
<p dir="auto">Thank you for your continued work on FOG Project!</p>
]]></description><link>http://forums.fogproject.org/topic/18333/feature-request-check-minimum-required-php-version-before-fog-dev-branch-upgrades</link><generator>RSS for Node</generator><lastBuildDate>Tue, 24 Nov 2026 19:26:14 GMT</lastBuildDate><atom:link href="http://forums.fogproject.org/topic/18333.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 24 Nov 2026 18:50:27 GMT</pubDate><ttl>60</ttl></channel></rss>