8000 Update php version in web_server_configuration.rst · Nek-/symfony-docs@ba25137 · GitHub
[go: up one dir, main page]

Skip to content

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ba25137

Browse files
committed
Update php version in web_server_configuration.rst
1 parent 702fe9c commit ba25137

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

setup/web_server_configuration.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@ listen on. Each pool can also be run under a different UID and GID:
3636

3737
.. code-block:: ini
3838
39-
; /etc/php/7.4/fpm/pool.d/www.conf
39+
; /etc/php/8.3/fpm/pool.d/www.conf
4040
4141
; a pool called www
4242
[www]
4343
user = www-data
4444
group = www-data
4545
4646
; use a unix domain socket
47-
listen = /var/run/php/php7.4-fpm.sock
47+
listen = /var/run/php/php8.3-fpm.sock
4848
4949
; or listen on a TCP connection
5050
; listen = 127.0.0.1:9000
@@ -72,7 +72,7 @@ directive to pass requests for PHP files to PHP FPM:
7272
7373
<FilesMatch \.php$>
7474
# when using PHP-FPM as a unix socket
75-
SetHandler proxy:unix:/var/run/php/php7.4-fpm.sock|fcgi://dummy
75+
SetHandler proxy:unix:/var/run/php/php8.3-fpm.sock|fcgi://dummy
7676
7777
# when PHP-FPM is configured to use TCP
7878
# SetHandler proxy:fcgi://127.0.0.1:9000
@@ -121,7 +121,7 @@ The **minimum configuration** to get your application running under Nginx is:
121121
122122
location ~ ^/index\.php(/|$) {
123123
# when using PHP-FPM as a unix socket
124-
fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
124+
fastcgi_pass unix:/var/run/php/php8.3-fpm.sock;
125125
126126
# when PHP-FPM is configured to use TCP
127127
# fastcgi_pass 127.0.0.1:9000;
@@ -198,7 +198,7 @@ When using Caddy on the server, you can use a configuration like this:
198198
file_server
199199
200200
# otherwise, use PHP-FPM (replace "unix//var/..." with "127.0.0.1:9000" when using TCP)
201-
php_fastcgi unix//var/run/php/php7.4-fpm.sock {
201+
php_fastcgi unix//var/run/php/php8.3-fpm.sock {
202202
# optionally set the value of the environment variables used in the application
203203
# env APP_ENV "prod"
204204
# env APP_SECRET "<app-secret-id>"

0 commit comments

Comments
 (0)
0