fixed nginx and php url variables in compile script