Compare commits
2 Commits
b5b0140e34
...
0ed07de2d2
| Author | SHA1 | Date | |
|---|---|---|---|
|
0ed07de2d2
|
|||
|
abad965e9a
|
@@ -1,16 +1,16 @@
|
||||
#!/usr/bin/env bash
|
||||
##makedesc: Install php v8.3 + ppa
|
||||
##makedesc: Install php v8.4
|
||||
|
||||
[ $1 ] && PHPVER="$1" || PHPVER="8.3"
|
||||
[ "$1" ] && PHPVER="$1" || PHPVER="8.4"
|
||||
echo
|
||||
echo "==============================================="
|
||||
echo "Installing php${PHPVER}..."
|
||||
echo "==============================================="
|
||||
echo
|
||||
|
||||
sudo LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php
|
||||
sudo apt install -y --autoremove \
|
||||
php${PHPVER} \
|
||||
php${PHPVER}-fpm \
|
||||
php${PHPVER}-dev \
|
||||
php${PHPVER}-apcu \
|
||||
php${PHPVER}-bcmath \
|
||||
php${PHPVER}-cli \
|
||||
@@ -24,6 +24,7 @@ sudo apt install -y --autoremove \
|
||||
php${PHPVER}-mysql \
|
||||
php${PHPVER}-opcache \
|
||||
php${PHPVER}-pgsql \
|
||||
php${PHPVER}-simplexml \
|
||||
php${PHPVER}-soap \
|
||||
php${PHPVER}-sqlite3 \
|
||||
php${PHPVER}-xdebug \
|
||||
|
||||
@@ -10,9 +10,9 @@ echo
|
||||
# https://git.coolaj86.com/coolaj86/telebit.js#install
|
||||
|
||||
# export NODEJS_VER=v10.2 # v10.2 is tested working, but we can test other versions
|
||||
# export TELEBIT_VERSION=master # git tag or branch to install from
|
||||
export TELEBIT_VERSION=master # git tag or branch to install from
|
||||
# export TELEBIT_USERSPACE=no # install as a system service (launchd, systemd only)
|
||||
# export TELEBIT_PATH=/opt/telebit
|
||||
export TELEBIT_PATH="$HOME/.local/bin/"
|
||||
# export TELEBIT_USER=telebit
|
||||
# export TELEBIT_GROUP=telebit
|
||||
curl https://get.telebit.io/ | bash
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
##phptools: [PACK] Install only php tooling (composer, phpunit, psalm, phpcs, php-cs-fixer, php-spx, phpmd)
|
||||
phptools: composer php-psalm php-spx phpcs phpmd phpstan phpunit
|
||||
##phptools: [PACK] Install only php tooling (composer, phpunit, psalm, phpcs, php-cs-fixer, phpmd)
|
||||
phptools: composer php-psalm phpcs phpmd phpstan phpunit
|
||||
|
||||
Reference in New Issue
Block a user