<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:media="http://search.yahoo.com/mrss/" >

<channel>
	<title>PHP &#8211; Nagios Library</title>
	<atom:link href="https://library.nagios.com/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>https://library.nagios.com</link>
	<description>Complete Nagios monitoring resources and documentation</description>
	<lastBuildDate>Fri, 23 Oct 2026 20:32:21 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.4</generator>

<image>
	<url>https://library.nagios.com/wp-content/uploads/2024/11/Nagios-Blue-N.svg</url>
	<title>PHP &#8211; Nagios Library</title>
	<link>https://library.nagios.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Nagios PHP Upgrade: What to Know Before You Start</title>
		<link>https://library.nagios.com/documentation/nagios-php-upgrade-what-to-know/</link>
		
		<dc:creator><![CDATA[Andy Fried]]></dc:creator>
		<pubDate>Thu, 22 Oct 2026 16:38:05 +0000</pubDate>
				<category><![CDATA[Documentation]]></category>
		<category><![CDATA[Support Tips]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Upgrade]]></category>
		<guid isPermaLink="false">https://library.nagios.com/?p=71054</guid>

					<description><![CDATA[On October 21, 2026, the PHP project released urgent security fixes, addressing two vulnerabilities, CVE-2026-109618 and CVE-2026-109619, known as PHP2Shell. Both carry a critical 9.2 CVSS v4.0 score, meaning an unauthorized user could remotely execute code on a vulnerable web server without logging in. As a result, many organizations are planning a PHP upgrade. This [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">On October 21, 2026, the PHP project released urgent security fixes, addressing two vulnerabilities, <a href="https://github.com/php/php-src/security/advisories/GHSA-w8hw-w9fx-j79w" target="_blank" rel="noopener">CVE-2026-109618</a> and <a href="https://github.com/php/php-src/security/advisories/GHSA-6wmf-4rv5-p3rp" target="_blank" rel="noopener">CVE-2026-109619</a>, known as PHP2Shell. Both carry a critical 9.2 CVSS v4.0 score, meaning an unauthorized user could remotely execute code on a vulnerable web server without logging in.</p>



<p class="wp-block-paragraph">As a result, many organizations are planning a PHP upgrade. This article describes what you need to consider before a PHP upgrade, so your Nagios software keeps working properly.</p>



<div role="note" style="border-left:6px solid #e5484d;background:rgba(229,72,77,0.12);padding:16px 22px;margin:28px 0;">
  <p style="margin:0 0 4px;font-size:1.1em;font-weight:600;color:#e5484d;text-transform:uppercase;letter-spacing:0.04em;">Important</p>
  <p style="margin:0;font-size:1em;line-height:1.5;">Do not upgrade PHP 7.x to PHP 8.x on an existing Nagios server. Migrate to a newer OS release instead.</p>
</div>



<h2 class="wp-block-heading">What This Means for Nagios Monitoring Solutions </h2>



<p class="wp-block-paragraph">Nagios XI and our other web-based products (including Nagios Fusion) run on the PHP version installed on your server, so applying your Linux vendor’s PHP security updates is important.</p>



<p class="wp-block-paragraph">When Nagios software is initially installed, it relies on the base version of PHP that the OS vendor installs. The following is mostly geared towards Nagios XI, but it is applicable to our other software as well.&nbsp;</p>



<p class="wp-block-paragraph">For example, RHEL 8 installs PHP 7.2, RHEL 9 installs PHP 8.0, and Ubuntu 24.04 LTS installs PHP 8.3.&nbsp;</p>



<p class="wp-block-paragraph">As of October 1, 2026, the current versions of our software require a minimum of PHP 7.4 and have been developed and tested to run on PHP 8.4.</p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h2 class="wp-block-heading">How to Check Your System</h2>



<p class="wp-block-paragraph">Check whether your PHP packages include the PHP2Shell fixes.</p>



<h3 class="wp-block-heading">RHEL-Based Systems</h3>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>rpm -q --changelog php-common | grep -i CVE-2026-1096</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #D4D4D4">rpm -q --changelog php-common | grep -i CVE-2026-1096</span></span></code></pre></div>



<p class="wp-block-paragraph">If the command returns CVE-2026-109618 and CVE-2026-109619, your PHP packages include the fixes. If it returns nothing, apply your Linux vendor’s latest PHP updates, then check again.</p>



<h3 class="wp-block-heading">Debian Systems</h3>



<h4 class="wp-block-heading">Debian 12</h4>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>apt list | grep php8.2-common</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #D4D4D4">apt list | grep php8.2-common</span></span></code></pre></div>



<p class="wp-block-paragraph">If they have this version, they have the patch: 8.2.35-1~deb12u1</p>



<h4 class="wp-block-heading">Debian 13</h4>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>apt list | grep php8.4-common</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #D4D4D4">apt list | grep php8.4-common</span></span></code></pre></div>



<p class="wp-block-paragraph">If they have this version, they have the patch: 8.4.27-1~deb13u1</p>



<h3 class="wp-block-heading">Ubuntu Systems</h3>



<h4 class="wp-block-heading">Ubuntu 22</h4>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>apt list | grep php8.1-common</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #D4D4D4">apt list | grep php8.1-common</span></span></code></pre></div>



<p class="wp-block-paragraph">If they have this version, they have the patch: 8.1.2-1ubuntu2.28</p>



<h4 class="wp-block-heading">Ubuntu 24.04</h4>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>apt list | grep php8.3-common</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #D4D4D4">apt list | grep php8.3-common</span></span></code></pre></div>



<p class="wp-block-paragraph">If they have this version, they have the patch: 8.3.6-0ubuntu0.24.04.13</p>



<h3 class="wp-block-heading">Example Output (RHEL 9)</h3>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #D4D4D4">&#91;root@nagios-xi ~&#93;# php --version</span></span>
<span class="line"><span style="color: #D4D4D4"> PHP 8.0.30 (cli) (built: Oct 21 2026 15:47:44) ( NTS gcc x86_64 )</span></span>
<span class="line"><span style="color: #D4D4D4"> Copyright (c) The PHP Group</span></span>
<span class="line"><span style="color: #D4D4D4"> Zend Engine v4.0.30, Copyright (c) Zend Technologies</span></span>
<span class="line"><span style="color: #D4D4D4">    with Zend OPcache v8.0.30, Copyright (c), by Zend Technologies</span></span>
<span class="line"><span style="color: #D4D4D4">&#91;root@nagios-xi ~&#93;# rpm -q --changelog php-common | grep -i CVE-2026-10961</span></span>
<span class="line"><span style="color: #D4D4D4">  CVE-2026-109618, CVE-2026-109619</span></span></code></pre></div>



<hr class="wp-block-separator has-alpha-channel-opacity" style="margin-top:16px;margin-bottom:0px"/>



<h2 class="wp-block-heading">Options to Safeguard Your Installations </h2>



<p class="wp-block-paragraph">Choose the option that fits your situation. For most PHP2Shell concerns, applying your Linux vendor’s security updates is the fastest and safest path.</p>



<h3 class="wp-block-heading">If You Need a PHP Upgrade for Security or Vulnerability Concerns</h3>



<p class="wp-block-paragraph">Keep in mind that Linux vendors backport security fixes into the PHP versions they ship, so an older version number does not always mean your system is vulnerable. Use the check above, or check with your Linux distribution vendor, to see if you need to upgrade your version of PHP.&nbsp;</p>



<p class="wp-block-paragraph">Contact your Linux distribution vendor for the proper method to update your version of PHP and stay inside the parameters listed in this article.&nbsp;</p>



<h3 class="wp-block-heading">If You Need a PHP Upgrade Within the Same Major Version</h3>



<p class="wp-block-paragraph">Nagios strongly recommends that you do not upgrade from one major version of PHP to another (for example, from PHP 7.x to PHP 8.x).</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">For example, if you are running Nagios XI on RHEL 8, with PHP 7.2, you can upgrade to anything from version 7.4 through the highest, available version of PHP 7.x, but do not upgrade to PHP 8.0 or above.</p>
</blockquote>



<p class="wp-block-paragraph">When Nagios performs the initial software installation, it depends on the major version of all the components that ship with that distribution. A PHP upgrade to a different major version can cause issues with the software, as well as with the OS itself.</p>



<h2 class="wp-block-heading">If You Need a PHP Upgrade to a Higher Major Version</h2>



<p class="wp-block-paragraph">To maintain the integrity of your installed version of Nagios software, migrate your XI instance to a newer release of your Linux distribution that installs the major PHP version you need.</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">For example, if you are on RHEL 8, running PHP 7.4 and wish to upgrade to PHP 8.3, back up your XI instance and restore it to a new RHEL 9 or RHEL 10 system. Then perform the PHP upgrade on the new instance to PHP 8.3. </p>



<p class="wp-block-paragraph">Related Reading: <a href="https://assets.nagios.com/downloads/nagiosxi/guides/administrator/sysmgmt.php#backuprestore" target="_blank" rel="noreferrer noopener">Backing Up And Restoring XI</a></p>
</blockquote>



<hr class="wp-block-separator has-alpha-channel-opacity" style="margin-top:24px;margin-bottom:0px"/>



<h2 class="wp-block-heading">Before Any PHP Upgrade&nbsp;</h2>



<p class="wp-block-paragraph">It is important to perform all PHP upgrades in your test environment before your production environment and take a snapshot or clone of your virtual machine so you can roll back if you encounter any problems.&nbsp;</p>



<p class="wp-block-paragraph">After making a PHP upgrade, make sure to install the latest SourceGuardian loaders for the new version. See: <a href="https://library.nagios.com/docs/nagios-xi/installation/Nagios-XI-Installing-Latest-SourceGuardian-Loaders" target="_blank" rel="noopener">Nagios XI – Installing Latest SourceGuardian Loaders</a>.&nbsp;</p>



<p class="wp-block-paragraph">We are monitoring this situation and will provide updates as more information becomes available.</p>



<h3 class="wp-block-heading">Additional Resources</h3>



<ul class="wp-block-list">
<li><a href="https://assets.nagios.com/downloads/nagiosxi/guides/administrator/systemconfig.php#bestpractices" target="_blank" rel="noopener">Nagios XI Best Practices</a></li>



<li><a href="https://library.nagios.com/docs" target="_blank" rel="noreferrer noopener">Nagios Documentation Hub</a></li>



<li><a href="https://support.nagios.com/forum" target="_blank" rel="noopener">Nagios Support Forum</a></li>
</ul>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
