config support for php environment

config support for php environment