installing more php packages and tweaking nginx config template