update php environment structure