Skip to content

Commit

Permalink
Update php version in web_server_configuration.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
Nek- authored Apr 12, 2024
1 parent d13e38c commit b77a227
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions setup/web_server_configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ listen on. Each pool can also be run under a different UID and GID:

.. code-block:: ini
; /etc/php/7.4/fpm/pool.d/www.conf
; /etc/php/8.3/fpm/pool.d/www.conf
; a pool called www
[www]
user = www-data
group = www-data
; use a unix domain socket
listen = /var/run/php/php7.4-fpm.sock
listen = /var/run/php/php8.3-fpm.sock
; or listen on a TCP connection
; listen = 127.0.0.1:9000
Expand Down Expand Up @@ -72,7 +72,7 @@ directive to pass requests for PHP files to PHP FPM:
<FilesMatch \.php$>
# when using PHP-FPM as a unix socket
SetHandler proxy:unix:/var/run/php/php7.4-fpm.sock|fcgi://dummy
SetHandler proxy:unix:/var/run/php/php8.3-fpm.sock|fcgi://dummy
# when PHP-FPM is configured to use TCP
# SetHandler proxy:fcgi://127.0.0.1:9000
Expand Down Expand Up @@ -121,7 +121,7 @@ The **minimum configuration** to get your application running under Nginx is:
location ~ ^/index\.php(/|$) {
# when using PHP-FPM as a unix socket
fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
fastcgi_pass unix:/var/run/php/php8.3-fpm.sock;
# when PHP-FPM is configured to use TCP
# fastcgi_pass 127.0.0.1:9000;
Expand Down Expand Up @@ -198,7 +198,7 @@ When using Caddy on the server, you can use a configuration like this:
file_server
# otherwise, use PHP-FPM (replace "unix//var/..." with "127.0.0.1:9000" when using TCP)
php_fastcgi unix//var/run/php/php7.4-fpm.sock {
php_fastcgi unix//var/run/php/php8.3-fpm.sock {
# optionally set the value of the environment variables used in the application
# env APP_ENV "prod"
# env APP_SECRET "<app-secret-id>"
Expand Down

0 comments on commit b77a227

Please sign in to comment.