<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	
	>
<channel>
	<title>
	Comments on: How to Enable and Monitor PHP-FPM Status in Nginx	</title>
	<atom:link href="https://www.tecmint.com/enable-monitor-php-fpm-status-in-nginx/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.tecmint.com/enable-monitor-php-fpm-status-in-nginx/</link>
	<description>Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks.</description>
	<lastBuildDate>Sun, 19 Feb 2023 11:07:36 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Ehsan		</title>
		<link>https://www.tecmint.com/enable-monitor-php-fpm-status-in-nginx/comment-page-1/#comment-1967905</link>

		<dc:creator><![CDATA[Ehsan]]></dc:creator>
		<pubDate>Sun, 19 Feb 2023 11:07:36 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=30781#comment-1967905</guid>

					<description><![CDATA[You can just use this &#039;PHP-FPM real-time status page&#039; script without any configuration:

&lt;code&gt;https://gist.github.com/EhsanCh/97187902e905a308ce434bda6730073c&lt;/code&gt;]]></description>
			<content:encoded><![CDATA[<p>You can just use this &#8216;PHP-FPM real-time status page&#8217; script without any configuration:</p>
<p><code>https://gist.github.com/EhsanCh/97187902e905a308ce434bda6730073c</code></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Wellington		</title>
		<link>https://www.tecmint.com/enable-monitor-php-fpm-status-in-nginx/comment-page-1/#comment-1346866</link>

		<dc:creator><![CDATA[Wellington]]></dc:creator>
		<pubDate>Fri, 24 Jul 2020 01:02:02 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=30781#comment-1346866</guid>

					<description><![CDATA[I&#039;m getting a blank page.

on &lt;strong&gt;access.log&lt;/strong&gt; it is ok.

on &lt;strong&gt;error.log&lt;/strong&gt; nothing is recorded.
&lt;pre&gt;
default:
location = /php-fpm-status {
#     access_log off;
     allow 127.0.0.1;
#     deny all;
     include fastcgi_params;
#     fastcgi_pass 127.0.0.1:9000;
      fastcgi_pass unix:/run/php/php7.0-fpm.sock;
 }
&lt;/pre&gt;
When I insert these two lines:
&lt;pre&gt;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_index index.php;
&lt;/pre&gt;
I start to get an error on &lt;strong&gt;error.log&lt;/strong&gt;:
&lt;pre&gt;
2020/07/23 21:50:24 [error] 11585#11585: *71685 FastCGI sent in stderr: &quot;Access to the script &#039;/usr/share/nginx/html/php-fpm-status&#039; has been denied (see security.limit_extensions)&quot; while reading response header from upstream, client: 127.0.0.1, server: _, request: &quot;GET /php-fpm-status HTTP/1.1&quot;, upstream: &quot;fastcgi://unix:/run/php/php7.0-fpm.sock:&quot;, host: &quot;127.0.0.1&quot;
&lt;/pre&gt;
&lt;strong&gt;security.limit_extensions&lt;/strong&gt; is default to &lt;code&gt;.php&lt;/code&gt;.

Any ideas?]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m getting a blank page.</p>
<p>on <strong>access.log</strong> it is ok.</p>
<p>on <strong>error.log</strong> nothing is recorded.</p>
<pre>
default:
location = /php-fpm-status {
#     access_log off;
     allow 127.0.0.1;
#     deny all;
     include fastcgi_params;
#     fastcgi_pass 127.0.0.1:9000;
      fastcgi_pass unix:/run/php/php7.0-fpm.sock;
 }
</pre>
<p>When I insert these two lines:</p>
<pre>
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_index index.php;
</pre>
<p>I start to get an error on <strong>error.log</strong>:</p>
<pre>
2020/07/23 21:50:24 [error] 11585#11585: *71685 FastCGI sent in stderr: "Access to the script '/usr/share/nginx/html/php-fpm-status' has been denied (see security.limit_extensions)" while reading response header from upstream, client: 127.0.0.1, server: _, request: "GET /php-fpm-status HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.0-fpm.sock:", host: "127.0.0.1"
</pre>
<p><strong>security.limit_extensions</strong> is default to <code>.php</code>.</p>
<p>Any ideas?</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
