aboutsummaryrefslogtreecommitdiff
path: root/src/php/feature.json
diff options
context:
space:
mode:
authorSamruddhi Khandale <skhandale@microsoft.com>2022-06-02 19:32:05 +0300
committerGitHub <noreply@github.com>2022-06-02 19:32:05 +0300
commit1da3b0ef10a4715722f0ff053b2aa36af192d29b (patch)
tree718a41b2b3b5bfc36ec50b1757f318b68564a252 /src/php/feature.json
parentf2a9bbb7a369a5ae229e7c50093a4901d66e8c59 (diff)
php: allow multiple versions (#33)
* php: allow multiple versions * nit * correct condtions * fix: mv: target '6/composer' is not a directory * add "" * fix linking folders * fix ln: failed to create symbolic link * change description * fix error msg * chane exit code * restructure linking * fix pecl multiple installation * correct condition * install pecl with specific version
Diffstat (limited to 'src/php/feature.json')
-rw-r--r--src/php/feature.json7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/php/feature.json b/src/php/feature.json
index e5bfd24..4c5dcac 100644
--- a/src/php/feature.json
+++ b/src/php/feature.json
@@ -12,6 +12,11 @@
"type": "boolean",
"default": true,
"description": "Install PHP Composer?"
+ },
+ "overrideDefaultVersion": {
+ "type": "boolean",
+ "default": "true",
+ "description": "If true, overrides existing version (if any) of dotnet on the PATH"
}
},
"extensions": [
@@ -21,7 +26,7 @@
"devsense.phptools-vscode"
],
"containerEnv": {
- "PHP_PATH": "/usr/local/php",
+ "PHP_PATH": "/usr/local/php/current",
"PATH":"${PHP_PATH}:${PHP_PATH}/bin:${PATH}"
},
"install": {