@mediatemple it's been 3 days and we're still getting the 502 error! It looks like it may be an issue with PHP5 & nginx