Tanzu Platform for Cloud Foundry 4.0

PHP buildpacks in Cloud Foundry

Last Updated March 13, 2025

For information about using and extending the PHP buildpack in Cloud Foundry, see the php-buildpack GitHub repository.

You can find current information about this buildpack on the PHP buildpack release page in GitHub.

The buildpack uses a default PHP version specified in .defaults/options.json under the PHP_VERSION key.

To change the default version, specify the PHP_VERSION key in your app’s .bp-config/options.json file.