Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

According to phpinfo:

Loaded Configuration File: /etc/php5/fpm/php.ini

# grep expose_php /etc/php5/fpm  -R
    /etc/php5/fpm/php.ini:expose_php = Off
    /etc/php5/fpm/pool.d/www.conf:php_flag[expose_php] = off

# curl -I https://MyHost.loc/i.php | head | grep X-Powered-By
X-Powered-By: PHP/5.5.9-1ubuntu4

Can someone confirm this in Ubuntu 14.04?

Any idea how to get rid of X-Powered-By?

share|improve this question
up vote 2 down vote accepted

It seems there is a bug in the init script. restart didnt restarted the php fpm but didnt reported a problem either. stop & start worked and lead the no more X-Powered-By.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.