more fixes for php-fpm.