Linux > Server Security & Hardening
Disable PHP from displaying header details.
(1/1)
Jithin:
Hi Guys,
I recently posted an article about disabling Apache header? So, how to do the same for PHP? That's easy. Please follow the steps given below.
1) Open your global php.ini file.
2) You can find the directive - expose_php. Disable it as shown below.
expose_php = off
3) Now restart Apache.
That's it. You just disabled PHP header info.
Navigation
[0] Message Index
Go to full version