convert things to run under php-fpm