Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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.