mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Cleanup of PHP 7.x & 8.0 dependencies
This commit is contained in:
parent
1493005d63
commit
468836d51e
14 changed files with 102 additions and 77 deletions
|
|
@ -25,18 +25,19 @@
|
|||
name: postgresql
|
||||
|
||||
|
||||
- name: Install 6 PHP packages (run 'php -m' or 'php -i' to verify)
|
||||
- name: Install libsodium23 + 7 PHP packages (run 'php -m' or 'php -i' to verify)
|
||||
package:
|
||||
name:
|
||||
- php{{ php_version }}-pgsql
|
||||
#- php{{ php_version }}-curl # 2021-06-25: ALREADY INSTALLED by www_base/tasks/main.yml
|
||||
- php{{ php_version }}-zip
|
||||
#- php{{ php_version }}-gd # 2021-06-25: ALREADY INSTALLED by www_base/tasks/main.yml
|
||||
- php{{ php_version }}-mbstring # 2020-06-15: Required by Moodle 3.9+
|
||||
- php{{ php_version }}-cli # 2020-06-15: In the past this included (above) mbstring? However this is not true on Ubuntu Server 20.04 LTS. FYI php{{ php_version }}-cli is a superset of php{{ php_version }}-common
|
||||
#- php{{ php_version }}-common # Auto-installed as an apt dependency
|
||||
#- php{{ php_version }}-cli # 2020-06-15: In the past this included (below) mbstring? However this is not true on Ubuntu Server 20.04 LTS. FYI php{{ php_version }}-cli is a superset of php{{ php_version }}-common
|
||||
- php{{ php_version }}-curl # 2021-06-27: Likewise installed by nextcloud/tasks/install.yml
|
||||
- php{{ php_version }}-gd # 2021-06-27: Likewise installed by nextcloud/tasks/install.yml
|
||||
- php{{ php_version }}-intl # 2020-12-03: Required by Moodle 3.10+
|
||||
- php{{ php_version }}-mbstring # 2020-06-15: Required by Moodle 3.9+
|
||||
- php{{ php_version }}-pgsql
|
||||
- php{{ php_version }}-soap # 2020-12-03: Recommended by Moodle 3.10+
|
||||
#- php-sodium # 2021-05-17: Recommended by Moodle 3.11+ at https://docs.moodle.org/311/en/Environment_-_PHP_extension_sodium AND ALREADY PRE-ENABLED BY PHP 7.2+ https://www.php.net/manual/en/sodium.installation.php AS CONFIRMED BY 'php -i | grep sodium' AND 'apt list "*sodium*"'
|
||||
- libsodium23 # 2021-05-17: Recommended by Moodle 3.11+ at https://docs.moodle.org/311/en/Environment_-_PHP_extension_sodium -- this can be auto-installed by phpX.Y-fpm or phpX.Y-cgi or phpX.Y-cli, according to 'apt rdepends libsodium23 | grep php' -- whereas https://www.php.net/manual/en/sodium.installation.php says it's always bundled with PHP 7.2+ -- GIVEN THE AMBIGUITY, PLEASE VERIFY USING 'php -i | grep sodium' AND 'apt list "*sodium*"'
|
||||
- php{{ php_version }}-zip # 2021-06-27: Likewise installed by nextcloud/tasks/install.yml
|
||||
state: present
|
||||
|
||||
- name: Does {{ moodle_base }}/config-dist.php exist? (indicating Moodle is/was installed)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue