Fix #9873: Use pkg-static
When pkg repo points to a new major version pkg is updated, usepkg-static binary to check PHP version and make sure the command works
Fix #9873: Use pkg-static
When pkg repo points to a new major version pkg is updated, use
pkg-static binary to check PHP version and make sure the command works