Pass server ip:port as variable when using upstream

Hi,

is there a way to pass the server:port pair as a variable (to php) when
using upstream server pool?

Thanks,
Momchil