Skip to content

Commit 968c4a0

Browse files
authored
Merge pull request #200 from HighCommander4/patch-1
Add note to nginx docs about potentially needing to adjust for php version
2 parents f902a79 + dc1da9f commit 968c4a0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

content/admin/installation/virtualhosts.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,10 @@ server {
133133
try_files $uri /app.php$is_args$args;
134134
}
135135
location ~ ^/app\.php(/|$) {
136-
# if, for some reason, you are still using PHP 5,
136+
# You may need to replace /run/php/php7.0-fpm.sock below with
137+
# a different version, e.g. /run/php/php7.4-fpm.sock. The path
138+
# should refer to an existing file in the filesystem.
139+
# If, for some reason, you are still using PHP 5,
137140
# then replace /run/php/php7.0 by /var/run/php5
138141
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
139142
fastcgi_split_path_info ^(.+\.php)(/.*)$;

0 commit comments

Comments
 (0)