Skip to content

Commit 578af35

Browse files
committed
feat: support php language
1 parent 200c939 commit 578af35

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

articles/spring-apps/how-to-enterprise-deploy-polyglot-apps.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -595,6 +595,21 @@ The following table lists the features supported in Azure Spring Apps:
595595
| Enable configuration of labels on the created image | Configures both OCI-specified labels with short environment variable names and arbitrary labels using a space-delimited syntax in a single environment variable. | `BP_IMAGE_LABELS` <br> `BP_OCI_AUTHORS` <br> See more envs [here](https://github.com/paketo-buildpacks/image-labels). | `--build-env BP_OCI_AUTHORS=<value>` |
596596
| Support building Maven-based applications from source. | Used for a multi-module project. Indicates the module to find the application artifact in. Defaults to the root module (empty). | `BP_MAVEN_BUILT_MODULE` | `--build-env BP_MAVEN_BUILT_MODULE=./gateway` |
597597

598+
### Deploy PHP applications
599+
The buildpack for deploying PHP applications is [tanzu-buildpacks/php](https://network.tanzu.vmware.com/products/tbs-dependencies/#/releases/1335849/artifact_references).
600+
601+
The Tanzu PHP buildpack is only compatible with the Full OS Stack. We recommend using a builder with the `Jammy Full` OS stack. For more information, see the [OS stack recommendations](#os-stack-recommendations) section.
602+
603+
The following table lists the features supported in Azure Spring Apps:
604+
605+
| Feature description | Comment | Environment variable | Usage |
606+
|---------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------|
607+
| Specify the PHP version | Configures the PHP version. Currently supported: PHP *8.0.\**, *8.1.\**, and *8.2.\**. The default value is *8.1.\** | `BP_PHP_VERSION` | `--build-env BP_PHP_VERSION=8.0.*` |
608+
| Add CA certificates to the system trust store at build and runtime. | See the [Configure CA certificates for app builds and deployments](./how-to-enterprise-configure-apm-integration-and-ca-certificates.md#configure-ca-certificates-for-app-builds-and-deployments) section of [How to configure APM integration and CA certificates](./how-to-enterprise-configure-apm-integration-and-ca-certificates.md). | N/A | N/A |
609+
| Integrate with Dynatrace, New Relic, App Dynamic APM agent. | See [How to configure APM integration and CA certificates](./how-to-enterprise-configure-apm-integration-and-ca-certificates.md). | N/A | N/A |
610+
| Select a Web Server | The setting options are *php-server*, *httpd*, and *nginx*. The default value is *php-server*. | `BP_PHP_SERVER` | `--build-env BP_PHP_SERVER=httpd` |
611+
| Configure Web Directory | When the web server is HTTPD or NGINX, the web directory defaults to *htdocs*. When the web server is the PHP built-in server, the web directory defaults to */workspace*. | `BP_PHP_WEB_DIR` | `--build-env BP_PHP_WEB_DIR=htdocs` |
612+
598613
## Next steps
599614

600615
- [Deploy web static files](how-to-enterprise-deploy-static-file.md)

0 commit comments

Comments
 (0)