add ability to use current php process environment