Skip to content

Commit 1c3bcab

Browse files
Barb CutlerBarb Cutler
Barb Cutler
authored and
Barb Cutler
committed
update
1 parent fd4d9a3 commit 1c3bcab

File tree

3 files changed

+89
-62
lines changed

3 files changed

+89
-62
lines changed

_docs/sysadmin/installation/version_notes/v23.02.XX.md

Lines changed: 0 additions & 62 deletions
This file was deleted.
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
---
2+
title: v23.12.02 > Apache2 HTTP/2 Support
3+
category: System Administrator > Installation Version Notes
4+
redirect_from:
5+
- /system_admin/version_notes/v23.12.02
6+
---
7+
8+
Release [v23.12.02](https://github.com/Submitty/Submitty/releases/v23.12.02)
9+
includes an update to the Apache2 server's module and configuration to
10+
disable `php8.1` and `mpm_prefork` and enable `mpm_event` and `http2`.
11+
Note: Submitty uses `php8.1-fpm` NOT `php8.1`.
12+
13+
14+
1. If you have load balancers and firewalls in front of the Apache
15+
server for Submitty, please make sure they support HTTP/2
16+
redirections.
17+
18+
2. Disable `php8.1` and `mpm_prefork`:
19+
20+
```
21+
a2dismod php8.1 mpm_prefork
22+
```
23+
24+
3. Enable `mpm_event` and `http2`:
25+
26+
```
27+
a2enmod mpm_event http2
28+
```
29+
30+
4. If you are not already using TLS/SSL HTTPS encryption for Submitty,
31+
we strongly recommend enabling it. See
32+
[System Administrator Installation Instructions](https://submitty.org/sysadmin/installation/index).
33+
34+
5. Review your current performance tuning for `php-fpm`.
35+
```
36+
/etc/php/8.1/fpm/pool.d/submitty.conf
37+
```
38+
You will probably not need to change these settings.
39+
40+
6. With the switch from `mpm_prefork` to `mpm_event`, you will probably want to take any customization from this file:
41+
```
42+
/etc/apache2/mods-available/mpm_prefork.conf
43+
```
44+
45+
And adapt it to this file:
46+
```
47+
/etc/apache2/mods-available/mpm_event.conf
48+
```
49+
50+
6. Final check for Apache2's configuration;
51+
```sh
52+
apachectl -t
53+
```
54+
55+
7. Reload Apache2 to apply changes.
56+
57+
```
58+
sudo systemctl restart apache2.service
59+
sudo systemctl restart php8.1-fpm
60+
```
61+
62+
8. Run the update script.
63+
64+
```
65+
sudo /usr/local/submitty/.setup/INSTALL_SUBMITTY.sh
66+
```
67+
68+
---
69+
70+
NOTE: If you need to downgrade from HTTP/2 back to HTTP/1.1 and re-enable `mpm_prefork`,
71+
please follow the steps below:
72+
73+
1. Disable `http2` and `mpm_event`:
74+
75+
```
76+
a2dismod http2 mpm_event
77+
```
78+
79+
2. Enable `mpm_prefork`:
80+
81+
```
82+
a2enmod mpm_prefork
83+
```
84+
85+
3. Alternatively, if the PHP does not use a `fpm` server, consider enabling
86+
`php8.1` by `a2enmod php8.1`.
87+
88+

navtreedata.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ var NAVTREE =
145145
[ "Update Submitty", "/sysadmin/installation/update_submitty", null ],
146146
[ "Version Notes", "/sysadmin/installation/version_notes/index", [
147147
[ "Overview", "/sysadmin/installation/version_notes/index", null],
148+
[ "v23.12.02", "/sysadmin/installation/version_notes/v23.12.02", null ],
148149
[ "v23.07.00", "/sysadmin/installation/version_notes/v23.07.00", null ],
149150
[ "v23.03.01", "/sysadmin/installation/version_notes/v23.03.01", null ],
150151
[ "v22.06.00", "/sysadmin/installation/version_notes/v22.06.00", null ],

0 commit comments

Comments
 (0)