Many times, headers like X-Powered-By: PHP or any other programing language is found in HTTP response headers which is never a good Practice.
In order to remove X-Powered-By header, follow below steps:
- Open your
php.inifile in any editor.
; Decides whether PHP may expose the fact that it is installed on the server ; (e.g. by adding its signature to the Web server header). It is no security ; threat in any way, but it makes it possible to determine whether you use PHP ; on your server or not. expose_php = On
Change value of
Off: It will look like this
Reload the server and you will notice absence of the X-Powered-By:PHP header in HTTP response