Tips for PHP Developers

Page last updated:

Warning: Pivotal Cloud Foundry (PCF) v2.3 is no longer supported because it has reached the End of General Support (EOGS) phase as defined by the Support Lifecycle Policy. To stay up to date with the latest software and security updates, upgrade to a supported version.

About the PHP Buildpack

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.