Skip to content

Commit

Permalink
caddy.md: Use PHP 8.3 instead of 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
neelchauhan committed Jul 24, 2024
1 parent 50ae403 commit f2ccc92
Showing 1 changed file with 4 additions and 4 deletions.
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

0 comments on commit f2ccc92

Please sign in to comment.