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.