Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/guides/web/caddy.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,24 +158,24 @@ To install PHP, first add the Remi repository (note: if you are running Rocky Li
dnf install https://rpms.remirepo.net/enterprise/remi-release-9.rpm
```

Next, we need to install PHP (note: if you are using another version of PHP, substitute your desired version for php81):
Next, we need to install PHP (note: if you are using another version of PHP, substitute your desired version for php83):

```bash
dnf install -y php81-php-fpm
dnf install -y php83-php-fpm
```

If you require additional PHP modules (e.g., GD), add them to the above command.

Then, we need to configure PHP to listen on a TCP socket:

```bash
vim /etc/opt/remi/php81/php-fpm.d/www.conf
vim /etc/opt/remi/php83/php-fpm.d/www.conf
```

Next, find the line:

```bash
listen = /var/opt/remi/php81/run/php-fpm/www.sock
listen = /var/opt/remi/php83/run/php-fpm/www.sock
```

Replace it with this:
Expand Down