Home > Backend Development > PHP Tutorial > Maybe you want to remove the X-Powered-By in Response Headers?

Maybe you want to remove the X-Powered-By in Response Headers?

藏色散人
Release: 2023-04-09 17:42:01
forward
3688 people have browsed it

The following column PHP Tutorial will introduce to you the method of removing X-Powered-By in Response Headers. I hope it will be helpful to friends in need!

Maybe you want to remove the X-Powered-By in Response Headers?

Method:

First open php.ini and search expose_php to Change the corresponding value to Off

and then restart php and that’s it!

....

A netizen asked: Why remove it?

A certain blogger answered: I don’t want others to know what language I write in!

Hahaha

The above is the detailed content of Maybe you want to remove the X-Powered-By in Response Headers?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:learnku.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template