<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://briansnelson.com/index.php?action=history&amp;feed=atom&amp;title=Hide_PHP_Version%28X-Powered-By%29_in_Headers</id>
		<title>Hide PHP Version(X-Powered-By) in Headers - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://briansnelson.com/index.php?action=history&amp;feed=atom&amp;title=Hide_PHP_Version%28X-Powered-By%29_in_Headers"/>
		<link rel="alternate" type="text/html" href="https://briansnelson.com/index.php?title=Hide_PHP_Version(X-Powered-By)_in_Headers&amp;action=history"/>
		<updated>2026-06-04T13:31:27Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.24.1</generator>

	<entry>
		<id>https://briansnelson.com/index.php?title=Hide_PHP_Version(X-Powered-By)_in_Headers&amp;diff=514&amp;oldid=prev</id>
		<title>Brian: Created page with &quot;==Hide PHP Version(X-Powered-By) in Headers==  Do you need to hide your x-powered-by header?  This can cause you fail your PCI Scan if you have an old our out dated version of...&quot;</title>
		<link rel="alternate" type="text/html" href="https://briansnelson.com/index.php?title=Hide_PHP_Version(X-Powered-By)_in_Headers&amp;diff=514&amp;oldid=prev"/>
				<updated>2014-02-18T13:53:30Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Hide PHP Version(X-Powered-By) in Headers==  Do you need to hide your x-powered-by header?  This can cause you fail your PCI Scan if you have an old our out dated version of...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Hide PHP Version(X-Powered-By) in Headers==&lt;br /&gt;
&lt;br /&gt;
Do you need to hide your x-powered-by header?  This can cause you fail your PCI Scan if you have an old our out dated version of php.&lt;br /&gt;
&lt;br /&gt;
You will want to edit your php.ini settings.&lt;br /&gt;
&lt;br /&gt;
 vim /etc/php.in&lt;br /&gt;
&lt;br /&gt;
And make sure that expose_php is off&lt;br /&gt;
&lt;br /&gt;
 expose_php = Off&lt;br /&gt;
&lt;br /&gt;
Before turning off expose_php&lt;br /&gt;
&lt;br /&gt;
 curl -I http://www.briansnelson.com&lt;br /&gt;
&lt;br /&gt;
 HTTP/1.1 200 OK&lt;br /&gt;
 Date: Tue, 18 Feb 2014 13:37:37 GMT&lt;br /&gt;
 Server: Apache&lt;br /&gt;
 X-Powered-By: PHP/5.2.17&lt;br /&gt;
 Expires: Thu, 19 Nov 1981 08:52:00 GMT&lt;br /&gt;
 Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0&lt;br /&gt;
 Pragma: no-cache&lt;br /&gt;
&lt;br /&gt;
After turning off expose_php&lt;br /&gt;
&lt;br /&gt;
 curl -I http://www.briansnelson.com&lt;br /&gt;
&lt;br /&gt;
 HTTP/1.1 200 OK&lt;br /&gt;
 Date: Tue, 18 Feb 2014 13:43:13 GMT&lt;br /&gt;
 Server: Apache&lt;br /&gt;
 Expires: Thu, 19 Nov 1981 08:52:00 GMT&lt;br /&gt;
 Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0&lt;br /&gt;
 Pragma: no-cache&lt;/div&gt;</summary>
		<author><name>Brian</name></author>	</entry>

	</feed>