add validator for php settings