mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Document PHP dependency modularity across roles
This commit is contained in:
parent
815ea55ee4
commit
f31677673f
5 changed files with 45 additions and 44 deletions
|
@ -28,16 +28,17 @@
|
|||
- name: Install libsodium23 + 7 PHP packages (run 'php -m' or 'php -i' to verify)
|
||||
package:
|
||||
name:
|
||||
- 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 }}-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 }}-curl # 2021-06-27: Likewise installed by nextcloud/tasks/install.yml AND pbx/tasks/freepbx_dependencies.yml
|
||||
- php{{ php_version }}-gd # 2021-06-27: Likewise installed by nextcloud/tasks/install.yml AND pbx/tasks/freepbx_dependencies.yml
|
||||
- php{{ php_version }}-intl # 2020-12-03: Likewise installed by nextcloud/tasks/install.yml AND mediawiki/tasks/install.yml -- required by Moodle 3.10+
|
||||
- php{{ php_version }}-mbstring # 2020-06-15: Likewise installed by nextcloud/tasks/install.yml AND mediawiki/tasks/install.yml AND pbx/tasks/freepbx_dependencies.yml -- required by Moodle 3.9+
|
||||
- php{{ php_version }}-pgsql # 2021-06-27: Required for PostgreSQL
|
||||
- php{{ php_version }}-soap # 2020-12-03: Recommended by Moodle 3.10+
|
||||
- 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
|
||||
#- php{{ php_version }}-xmlrpc # 2021-06-27: Required per https://docs.moodle.org/19/en/PHP_settings_by_Moodle_version#PHP_Extensions_and_libraries BUT UNMAINTAINED FOR YEARS (POSSIBLE SECURITY RISK) SO MOVED TO PECL: https://php.watch/versions/8.0/xmlrpc
|
||||
- php{{ php_version }}-zip # 2021-06-27: Likewise installed by nextcloud/tasks/install.yml AND pbx/tasks/freepbx_dependencies.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