Added extensions to php. Fixed echo statement in nginx.