Skip to content

Commit

Permalink
Update _kbarticles/2024-12-02-php-buildpack-failed-to-clone-git-repos…
Browse files Browse the repository at this point in the history
…itory-issue.md

Co-authored-by: Mark Boyd <[email protected]>
Signed-off-by: ArsHaider <[email protected]>
  • Loading branch information
ArsHaider and markdboyd authored Dec 2, 2024
1 parent 6d52c63 commit c06dd1a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ date: December 02, 2024
excerpt: How to resolve the PHP buildpack failed to clone git repository issue
---

On December 2nd, 2024 it was brought to our attention that Cloud.gov customers attempting to push or restage applications using the most recent PHP buildpack version (beyond version 4.6.23) were experiencing a “Failed to clone git repository at [https://github.com/cloudfoundry/php-buildpack](https://github.com/cloudfoundry/php-buildpack)” error.
On December 2nd, 2024 it was brought to our attention that Cloud.gov customers attempting to push or restage applications using PHP buildpack versions 4.6.24 and above were experiencing a “Failed to clone git repository at https://github.com/cloudfoundry/php-buildpack” error.

The reason why this issue is occurring is because the recently updated buildpack versions are set to use SSH instead of HTTPS. Cloud.gov supports HTTPS egress for buildpacks during staging, not SSH, as such the buildpack is unable to be fetched and the staging process fails. An [issue](https://github.com/cloudfoundry/php-buildpack/issues/1110) with the PHP buildpack has already been posted to the CloudFoundry GitHub.

Expand Down

0 comments on commit c06dd1a

Please sign in to comment.