serve client app through PHP server