[php] Handle more DB types