[Web server] Hide Apache and PHP information on Ubuntu

By default, Apache will send version and modules information (e.g., mod_php, mod_perl, mod_ssl) in every HTTP header.
This tutorial for guide to fixed it, remove version and signature of Apache and PHP on Ubuntu server
1. Hide Apache information
Step 1.Edit security file:
sudo nano /etc/apache2/conf.d/security
Change the following option:
ServerTokens Prod
ServerSignature Off
Step 2. Restart apache services
sudo /etc/init.d/apache2 restart
2 Hide PHP Version Details
Step 1. Edit php.ini file:
sudo nano /etc/php5/apache/php.ini
Change the following option:
expose_php Off
Step 2. Restart apache services
sudo /etc/init.d/apache2 restart