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
|
|
@ -1,14 +1,13 @@
|
|||
- name: 'Install 4 packages: apache2, libapache2-mod-php{{ php_version }}, php{{ php_version }}, php{{ php_version }}-curl'
|
||||
- name: 'Install 2 packages: {{ apache_service }}, libapache2-mod-php{{ php_version }}'
|
||||
package:
|
||||
#name: [u'apache2', u'php{{ php_version }}', u'php{{ php_version }}-curl'] # FAILS ('u' for Unicode strings)
|
||||
#name: ['apache2', 'php{{ php_version }}', 'php{{ php_version }}-curl'] # WORKS?
|
||||
name:
|
||||
- "{{ apache_service }}" # apache2 on Debuntu
|
||||
- "libapache2-mod-php{{ php_version }}" # 2020-06-15: Required (e.g. for Elgg, Moodle & possibly others) now that mysql/tasks/install.yml installs "php{{ php_version }}-common" rather than the full "php{{ php_version }}"
|
||||
- libapache2-mod-php{{ php_version }} # 2020-06-15: Required (e.g. for Elgg, Moodle & possibly others) now that mysql/tasks/install.yml installs "php{{ php_version }}-common" rather than the full "php{{ php_version }}"
|
||||
# - "php{{ php_version }}"
|
||||
# - "php{{ php_version }}-curl"
|
||||
state: present
|
||||
when: is_debuntu
|
||||
# when: is_debian
|
||||
|
||||
# - name: 'Install 2 packages: apache2, php (ubuntu)'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue