We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 78de6c0 + 6a9fa13 commit 8a36375Copy full SHA for 8a36375
install/usr/sbin/php-ext
@@ -1,7 +1,10 @@
1
#!/command/with-contenv /bin/bash
2
source /assets/functions/00-container
3
4
-alias get_php_env_plugins_enabled="set -o posix; set | sort | grep PHP_ENABLE_ | grep -i TRUE | cut -d _ -f 3- | cut -d = -f 1 | tr A-Z a-z"
+get_php_env_plugins_enabled() {
5
+ set -o posix; set | sort | grep PHP_ENABLE_ | grep -i TRUE | cut -d _ -f 3- | cut -d = -f 1 | tr A-Z a-z
6
+}
7
+
8
php_major_version="$(echo ${PHP_BASE} | cut -c 1-1)"
9
os=$(cat /etc/os-release |grep ^ID= | cut -d = -f2)
10
0 commit comments