Detect symfony app and prepare it to run