PHP Buildpack

Page last updated: May 29, 2015

Use the PHP buildpack with PHP or HHVM runtimes.

See the following topics:

The source for the buildpack is here.

Buildpack Logging and Application Logging

The buildpack only runs during the staging process, and therefore only logs what is important to staging, such as what is being downloaded, what the configuration is, and work that the buildpack does on your application.

Once staging is done, the buildpack stops logging. Application logging is a separate concern.

Your application must write to STDOUT or STDERR for its logs to be included in the Loggregator stream. See Application Logging in Cloud Foundry.