summaryrefslogtreecommitdiff
path: root/content/nextcloud.md
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2024-07-16 08:35:12 -0400
committerGitHub <noreply@github.com>2024-07-16 08:35:12 -0400
commit93180ed28944395a0d96ee680eedbc89d82ae239 (patch)
tree4e960cf08bf913acc5d3e3ea32ce2ac5d2dc73af /content/nextcloud.md
parent83e37569fead9d82c9e875ee2f65077f82776701 (diff)
parent55a56b85a41aa3e2b4e3d530c7fc91691f3a11ca (diff)
Merge pull request #287 from livreware/master
Updated PHP version on several articles; fixed typo, added firewall command and documentation links on mumble.md
Diffstat (limited to 'content/nextcloud.md')
-rw-r--r--content/nextcloud.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/content/nextcloud.md b/content/nextcloud.md
index c7a2976..9ec7627 100644
--- a/content/nextcloud.md
+++ b/content/nextcloud.md
@@ -22,10 +22,10 @@ cloud experience (in the likes of Google Services, anyways).
First, we install the dependencies:
```sh
-apt install -y nginx python3-certbot-nginx mariadb-server php7.4 php7.4-{fpm,bcmath,bz2,intl,gd,mbstring,mysql,zip,xml,curl}
+apt install -y nginx python3-certbot-nginx mariadb-server php php-{fpm,bcmath,bz2,intl,gd,mbstring,mysql,zip,xml,curl}
```
-*Optionally*, you can improve the performance of your Nextcloud server by adjusting the child processes that are used to execute PHP scripts. That way, more PHP scripts can be executed at once. Make the following adjustments to `/etc/php/7.4/fpm/pool.d/www.conf`:
+*Optionally*, you can improve the performance of your Nextcloud server by adjusting the child processes that are used to execute PHP scripts. That way, more PHP scripts can be executed at once. Make the following adjustments to `/etc/php/8.2/fpm/pool.d/www.conf`:
```systemd
pm = dynamic
@@ -98,7 +98,7 @@ Add the following content [based of Nextcloud's recommendations](https://docs.ne
```nginx
upstream php-handler {
- server unix:/var/run/php/php7.4-fpm.sock;
+ server unix:/var/run/php/php-fpm.sock;
server 127.0.0.1:9000;
}
map $arg_v $asset_immutable {
@@ -216,7 +216,7 @@ chmod -R 755 /var/www/nextcloud
Start and enable php-fpm and reload nginx:
```sh
-systemctl enable php7.4-fpm --now
+systemctl enable php8.2-fpm --now
systemctl reload nginx
```