Admin-Ahead Community

Linux => Server Security & Hardening => Topic started by: Haripriya H on January 11, 2014, 12:24:25 pm

Title: Disable the php information on server for client
Post by: Haripriya H on January 11, 2014, 12:24:25 pm
To secure the server from the hacker its always better to disable the php information on server for client, so that hacker is not able to access the server php information like version etc. To disable the php information, open a servers main php.ini file and make the following changes.

Change from
expose_php = On

To
expose_php = Off

By default the expose_php variable is enabled on the server, so make sure that you have disabled it.