Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

caddy.md: Use PHP 8.3 instead of 8.1 #2194

Merged
merged 1 commit into from
Jul 25, 2024
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
Loading