PHP build wip.

[merge]