prepare build scripts for php56 repo