mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/16659] Make sure php-fpm is installed
PHPBB3-16659
This commit is contained in:
parent
c22cacf9bd
commit
bb020c3e6b
2 changed files with 11 additions and 1 deletions
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
|
@ -113,7 +113,7 @@ jobs:
|
||||||
uses: shivammathur/setup-php@v2
|
uses: shivammathur/setup-php@v2
|
||||||
with:
|
with:
|
||||||
php-version: ${{ matrix.php }}
|
php-version: ${{ matrix.php }}
|
||||||
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, mysqli, sqlite, pdo_sqlite, pdo_mysqli, intl, gd, exif, iconv
|
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, mysqli, sqlite, pdo_sqlite, intl, gd, exif, iconv
|
||||||
coverage: none
|
coverage: none
|
||||||
|
|
||||||
- name: Setup environment for phpBB
|
- name: Setup environment for phpBB
|
||||||
|
|
|
@ -28,6 +28,16 @@ NGINX_PHP_CONF="$DIR/nginx-php.conf"
|
||||||
PHP_FPM_BIN="/usr/sbin/php-fpm$PHP_VERSION"
|
PHP_FPM_BIN="/usr/sbin/php-fpm$PHP_VERSION"
|
||||||
PHP_FPM_CONF="$DIR/php-fpm.conf"
|
PHP_FPM_CONF="$DIR/php-fpm.conf"
|
||||||
|
|
||||||
|
if [ ! -f $PHP_FPM_BIN ]
|
||||||
|
then
|
||||||
|
sudo apt-get install php$PHP_VERSION-fpm php$PHP_VERSION-cli php$PHP_VERSION-dom \
|
||||||
|
php$PHP_VERSION-curl php$PHP_VERSION-xml php$PHP_VERSION-mbstring \
|
||||||
|
php$PHP_VERSION-zip php$PHP_VERSION-mysql php$PHP_VERSION-sqlite3 \
|
||||||
|
php$PHP_VERSION-intl php$PHP_VERSION-gd php$PHP_VERSION-pgsql
|
||||||
|
sudo service php$PHP_VERSION-fpm start
|
||||||
|
sudo service php$PHP_VERSION-fpm status
|
||||||
|
fi
|
||||||
|
|
||||||
echo "
|
echo "
|
||||||
[global]
|
[global]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue