Skip to content

Commit 52d0307

Browse files
Updating to PHP 7.4
1 parent 532742d commit 52d0307

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

setup/web_server_configuration.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ Apache with PHP-FPM
177177
To make use of PHP-FPM with Apache, you first have to ensure that you have
178178
the FastCGI process manager ``php-fpm`` binary and Apache's FastCGI module
179179
installed (for example, on a Debian based system you have to install the
180-
``libapache2-mod-fastcgi`` and ``php7.1-fpm`` packages).
180+
``libapache2-mod-fastcgi`` and ``php7.4-fpm`` packages).
181181

182182
PHP-FPM uses so-called *pools* to handle incoming FastCGI requests. You can
183183
configure an arbitrary number of pools in the FPM configuration. In a pool
@@ -192,7 +192,7 @@ listen on. Each pool can also be run under a different UID and GID:
192192
group = www-data
193193
194194
; use a unix domain socket
195-
listen = /var/run/php/php7.1-fpm.sock
195+
listen = /var/run/php/php7.4-fpm.sock
196196
197197
; or listen on a TCP socket
198198
listen = 127.0.0.1:9000
@@ -290,7 +290,7 @@ instead:
290290

291291
.. code-block:: apache
292292
293-
FastCgiExternalServer /usr/lib/cgi-bin/php7-fcgi -socket /var/run/php/php7.1-fpm.sock -pass-header Authorization
293+
FastCgiExternalServer /usr/lib/cgi-bin/php7-fcgi -socket /var/run/php/php7.4-fpm.sock -pass-header Authorization
294294
295295
.. _web-server-nginx:
296296

@@ -318,7 +318,7 @@ The **minimum configuration** to get your application running under Nginx is:
318318
# }
319319
320320
location ~ ^/index\.php(/|$) {
321-
fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
321+
fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
322322
fastcgi_split_path_info ^(.+\.php)(/.*)$;
323323
include fastcgi_params;
324324

0 commit comments

Comments
 (0)