I recently changed to php7 and some time later I realized updates is not working. Prompts for ftp permissions. This fixed it for me.
<pre class="brush: bash; title: ; notranslate" title="">
# diff /etc/php-fpm-7.0.d/www.conf /tmp/www.conf
24c24
< user = nginx
---
> user = apache
26c26
< group = nginx
---
> group = apache
# service php-fpm restart
Stopping php-fpm-7.0: [ OK ]
Starting php-fpm-7.0: [ OK ]
Probably don't need below if above is correct.
<pre class="brush: bash; title: ; notranslate" title="">
# tail -1 /sites1/blog/web/wp-config.php
define('FS_METHOD', 'direct');