If you have two months to make it live, go with php, unless you have lots of experience and can develop an application quickly in java.