15 lines
404 B
Bash
15 lines
404 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
# Run this script with "(sudo) bash <filename> <args>".
|
||
|
|
||
|
# Exit on error.
|
||
|
set -e
|
||
|
|
||
|
apt install apt install php-fpm php-readline php-mbstring php-gd \
|
||
|
php-curl php-zip php-mysql php-dom php-json php-pdo php-fileinfo \
|
||
|
php-bz2 php-intl php-gmp php-apcu php-pear php-cli php-imagick
|
||
|
|
||
|
mv -v /etc/php/7.4/fpm/pool.d/www.conf /etc/php/7.4/fpm/pool.d/www.conf.disabled
|
||
|
|
||
|
systemctl restart php7.4-fpm
|