Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ ln -s $BINDIR/php $BINDIR/php8.0

Based on the multi-call binary principle (as the well-known [BusyBox](https://busybox.net/about.html) project) , each `php<version>` **<sup>(1)</sup>** file is just a symlink pointing to the main [`php`](php) entrypoint script: PHP version is deduced from the invoked filename.

> _**<sup>(1)</sup>** If invoked without any suffix, the default version will be used: either the [`PHP_VERSION`](#customizing) env var (if set), the latest GA release (currently 8.3) otherwise._
> _**<sup>(1)</sup>** If invoked without any suffix, the default version will be used: either the [`PHP_VERSION`](#customizing) env var (if set), the latest GA release (currently 8.4) otherwise._

Hence, adding support for a PHP version is dead-simple: just create a new `php<version>` **<sup>(2)</sup>** symlink to the main [`php`](php) script.

Expand Down Expand Up @@ -58,7 +58,8 @@ Zend Engine v3.4.0, Copyright (c) Zend Technologies
`8.0`,
`8.1`,
`8.2`,
> `8.3`_
`8.3`,
> `8.4`_

## Examples

Expand Down Expand Up @@ -89,7 +90,7 @@ _The following environment variables allow to fine-tune the PAW script behaviour

Name|Description|Fallback value
---|---|---
`PHP_VERSION`|The default version to use for `PHP`|`8.3`
`PHP_VERSION`|The default version to use for `PHP`|`8.4`
`PAW_IMAGE`|PHP docker image to leverage|[`yannoff/php-fpm`](https://github.com/yannoff/docker-php-fpm) **<sup>(3)</sup>**
`PAW_DEBUG`|If set, turn on debug mode|-

Expand Down