To disable the php information, open a servers php.ini file and make the following changes.
Change from
expose_php = On
To
expose_php = Off
It will prevent hacker to easily see that you have PHP installed on the system and what version you are running.
You can use below command to find the path to the php.ini file:
php -i | grep php.ini