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

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

藏色散人
藏色散人 forward
2021-01-14 15:44:55 3607browse

The following columnPHP Tutorialwill 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 openphp.iniand searchexpose_phpto Change the corresponding value toOff

and then restartphpand 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!

Statement:
This article is reproduced at:learnku.com. If there is any infringement, please contact admin@php.cn delete