WIP on php states, added fcgid