bugfix for some php config related database selection