Misc php build improvements
Misc php build improvements

- Adjusted curl flags for failsafe downloads
- Adjusted the way binaries are marked executable - chmod +x on /usr/local/bin bloats the image as it touches all executables in the directory

docksal/bitbucket-pipelines-agent,docksal/bitbucket-pipelines-agent