Configure PHP 8.2 (instead of 7.4).
authorMatt Birkholz <matt@birchwood-abbey.net>
Tue, 30 Apr 2024 18:43:52 +0000 (12:43 -0600)
committerMatt Birkholz <matt@birchwood-abbey.net>
Tue, 30 Apr 2024 18:43:52 +0000 (12:43 -0600)
Is it worth extra code to configure two PHP versions, old and new?

README.org
roles_t/core/tasks/main.yml

index be228967ad05f1dc80fbbd6a8079524e671a5db4..bd14c3e9412d887feb53fa6f770edeedf2780c8d 100644 (file)
@@ -4367,7 +4367,7 @@ performance, as recommended by Nextcloud.
   become: yes
   command:
     cmd: phpenmod {{ item }}
-    creates: /etc/php/7.4/apache2/conf.d/20-{{ item }}.ini
+    creates: /etc/php/8.2/apache2/conf.d/20-{{ item }}.ini
   loop: [ nextcloud, apcu ]
   notify: Restart Apache2.
 #+END_SRC
index 0fd0455a3796b287f99ad6c3a302dfaad406103b..a4ece0aab714d0b7e6850354ebb2d2737d32bbf7 100644 (file)
   become: yes
   command:
     cmd: phpenmod {{ item }}
-    creates: /etc/php/7.4/apache2/conf.d/20-{{ item }}.ini
+    creates: /etc/php/8.2/apache2/conf.d/20-{{ item }}.ini
   loop: [ nextcloud, apcu ]
   notify: Restart Apache2.