Check PHP-FPM version on NGINX HTTP response

$ curl -I localhost/index.php
HTTP/1.1 200 OK
Date: Sat, 12 Aug 2017 14:07:54 GMT
Content-Type: text/html
Connection: keep-alive
X-Powered-By: PHP/5.5.9-1ubuntu4.22

How to hide PHP-FPM Version (X-Powered-By:) on NGINX

vim /etc/php5/fpm/php.ini

expose_php = Off

Restart php5-fpm service

/etc/init.d/php5-fpm restart

Check the result

$ curl -I localhost/index.php
HTTP/1.1 200 OK
Date: Sat, 12 Aug 2017 14:08:30 GMT
Content-Type: text/html
Connection: keep-alive