further cleanup and enableing php as default domain