Home >Backend Development >PHP Tutorial >Maybe you want to remove the X-Powered-By in Response Headers?
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!
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!