Reorder php packages to avoid pulling unwanted dependencies

Change-Id: I8fe8431e9ccb67d53e92f62f5386c1620f95c5e2