part-db: use helper-script php function (#8575)
This commit is contained in:
parent
c92f9d5518
commit
634a847c06
@ -13,19 +13,10 @@ setting_up_container
|
|||||||
network_check
|
network_check
|
||||||
update_os
|
update_os
|
||||||
|
|
||||||
msg_info "Installing Dependencies"
|
|
||||||
$STD apt install -y \
|
|
||||||
ca-certificates \
|
|
||||||
software-properties-common \
|
|
||||||
apt-transport-https \
|
|
||||||
lsb-release \
|
|
||||||
php-{opcache,curl,gd,mbstring,xml,bcmath,intl,zip,xsl,pgsql} \
|
|
||||||
libapache2-mod-php \
|
|
||||||
composer
|
|
||||||
msg_ok "Installed Dependencies"
|
|
||||||
|
|
||||||
NODE_VERSION="22" NODE_MODULE="yarn@latest" setup_nodejs
|
NODE_VERSION="22" NODE_MODULE="yarn@latest" setup_nodejs
|
||||||
PG_VERSION="16" setup_postgresql
|
PG_VERSION="16" setup_postgresql
|
||||||
|
PHP_VERSION="8.4" PHP_APACHE="YES" PHP_MODULE="xsl,pgsql" setup_php
|
||||||
|
setup_composer
|
||||||
|
|
||||||
msg_info "Setting up PHP"
|
msg_info "Setting up PHP"
|
||||||
PHPVER=$(php -r 'echo PHP_MAJOR_VERSION . "." . PHP_MINOR_VERSION . "\n";')
|
PHPVER=$(php -r 'echo PHP_MAJOR_VERSION . "." . PHP_MINOR_VERSION . "\n";')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user