Skip to content

Commit 51cd594

Browse files
committed
Change PHP version to 8.2 and Drush to 11*
1 parent 814d4e9 commit 51cd594

File tree

1 file changed

+14
-15
lines changed

1 file changed

+14
-15
lines changed

drupal/provisioning/playbook.yml

+14-15
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,19 @@
3434
- unzip
3535
- sendmail
3636
- apache2
37-
- php7.4-common
38-
- php7.4-cli
39-
- php7.4-dev
40-
- php7.4-gd
41-
- php7.4-curl
42-
- php7.4-json
43-
- php7.4-opcache
44-
- php7.4-xml
45-
- php7.4-mbstring
46-
- php7.4-pdo
47-
- php7.4-mysql
48-
- php7.4-apcu
37+
- php8.2-common
38+
- php8.2-cli
39+
- php8.2-dev
40+
- php8.2-gd
41+
- php8.2-curl
42+
- php8.2-opcache
43+
- php8.2-xml
44+
- php8.2-mbstring
45+
- php8.2-pdo
46+
- php8.2-mysql
47+
- php8.2-apcu
4948
- libpcre3-dev
50-
- libapache2-mod-php7.4
49+
- libapache2-mod-php8.2
5150
- python3-mysqldb
5251
- mysql-server
5352

@@ -87,7 +86,7 @@
8786

8887
- name: Adjust OpCache memory setting.
8988
lineinfile:
90-
dest: "/etc/php/7.4/apache2/conf.d/10-opcache.ini"
89+
dest: "/etc/php/8.2/apache2/conf.d/10-opcache.ini"
9190
regexp: "^opcache.memory_consumption"
9291
line: "opcache.memory_consumption = 96"
9392
state: present
@@ -145,7 +144,7 @@
145144
- name: Add drush to the Drupal site with Composer.
146145
composer:
147146
command: require
148-
arguments: drush/drush:10.*
147+
arguments: drush/drush:11.*
149148
working_dir: "{{ drupal_core_path }}"
150149
become_user: www-data
151150
when: not drupal_composer_json.stat.exists

0 commit comments

Comments
 (0)