mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-23 04:11:06 +07:00
Fix PHP extension support section in README
This commit is contained in:
parent
15c43e89cd
commit
2fdb2200a0
10
README.md
10
README.md
@ -117,7 +117,7 @@ On all supported OS/Platforms the following PHP versions are supported as per th
|
|||||||
|
|
||||||
PHP extensions can be setup using the `extensions` input. It accepts a `string` in csv-format.
|
PHP extensions can be setup using the `extensions` input. It accepts a `string` in csv-format.
|
||||||
|
|
||||||
- On `Ubuntu`, extensions which are available as a package, available on `PECL`, or hosted on GitHub can be setup.
|
- On `Ubuntu`, extensions which are available as a package, available on `PECL` or a git repository can be set up.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: Setup PHP with PECL extension
|
- name: Setup PHP with PECL extension
|
||||||
@ -129,7 +129,9 @@ PHP extensions can be setup using the `extensions` input. It accepts a `string`
|
|||||||
|
|
||||||
- On `Windows`, extensions available on `PECL` which have the `DLL` binary can be set up.
|
- On `Windows`, extensions available on `PECL` which have the `DLL` binary can be set up.
|
||||||
|
|
||||||
- On `macOS`, extensions available on `PECL` or hosted on GitHub can be installed.
|
- On `macOS`, extensions available on `PECL` or a git repository can be set up.
|
||||||
|
|
||||||
|
- On `Ubuntu` and `macOS` to compile and install an extension from a git repository follow this [guide](https://github.com/shivammathur/setup-php/wiki/Add-extension-from-source "Guide to compile and install PHP extensions in setup-php").
|
||||||
|
|
||||||
- Extensions installed along with PHP if specified are enabled.
|
- Extensions installed along with PHP if specified are enabled.
|
||||||
|
|
||||||
@ -178,7 +180,7 @@ PHP extensions can be setup using the `extensions` input. It accepts a `string`
|
|||||||
- These extensions have custom support:
|
- These extensions have custom support:
|
||||||
- `cubrid`, `pdo_cubrid` and `gearman` on `Ubuntu`.
|
- `cubrid`, `pdo_cubrid` and `gearman` on `Ubuntu`.
|
||||||
- `geos` on `Ubuntu` and `macOS`.
|
- `geos` on `Ubuntu` and `macOS`.
|
||||||
- `blackfire`, `couchbase`, `ioncube`, `oci8`, `pdo_oci`, `pecl_http`, `phalcon3` and `phalcon4` on all supported OS.
|
- `blackfire`, `couchbase`, `ioncube`, `oci8`, `pdo_firebird`, `pdo_oci`, `pecl_http`, `phalcon3` and `phalcon4` on all supported OS.
|
||||||
|
|
||||||
- By default, extensions which cannot be added or removed gracefully leave an error message in the logs, the action is not interrupted. To change this behaviour you can set `fail-fast` flag to `true`.
|
- By default, extensions which cannot be added or removed gracefully leave an error message in the logs, the action is not interrupted. To change this behaviour you can set `fail-fast` flag to `true`.
|
||||||
|
|
||||||
@ -192,8 +194,6 @@ PHP extensions can be setup using the `extensions` input. It accepts a `string`
|
|||||||
fail-fast: true
|
fail-fast: true
|
||||||
```
|
```
|
||||||
|
|
||||||
- On `Ubuntu` and `macOS` extensions can be compiled and installed from source by suffixing the extension's name with `repository@version`. Follow this [guide](https://github.com/shivammathur/setup-php/wiki/Add-extension-from-source "Guide to compile and install PHP extensions in setup-php") for more details and examples.
|
|
||||||
|
|
||||||
## :wrench: Tools Support
|
## :wrench: Tools Support
|
||||||
|
|
||||||
These tools can be setup globally using the `tools` input. It accepts a string in csv-format.
|
These tools can be setup globally using the `tools` input. It accepts a string in csv-format.
|
||||||
|
Loading…
Reference in New Issue
Block a user