Skip to content

Commit

Permalink
Simplified socket path
Browse files Browse the repository at this point in the history
  • Loading branch information
mnocon committed Dec 27, 2024
1 parent 89357e8 commit 9d966e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions resources/templates/apache2/vhost.template
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
# See: https://wiki.apache.org/httpd/PHP-FPM#apache_httpd_2.4

# For best performance, prefer socket use. This requires Linux, and that both Apache and PHP has access to
# the socket file `/var/run/php/php8.3-fpm.sock` via local file system and hence run on the same machine.
#SetHandler "proxy:unix:/var/run/php/php8.3-fpm.sock|fcgi://localhost/"
# the socket file `/var/run/php/php-fpm.sock` via local file system and hence run on the same machine.
#SetHandler "proxy:unix:/var/run/php/php-fpm.sock|fcgi://localhost/"
# For TCP usage, if you're not on Linux, or Apache and PHP are on separate machines, instead use fcgi: form.
# (Optionally hint php-fpm processes count using: https://wiki.apache.org/httpd/PHP-FPM#Proxy_via_handler)
#SetHandler "proxy:fcgi://localhost/:9000"
Expand Down
2 changes: 1 addition & 1 deletion resources/templates/nginx/vhost.template
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ server {
include ibexa_params.d/ibexa_fastcgi_params;

# FPM socket
# Possible values : unix:/var/run/php/php8.3-fpm.sock or 127.0.0.1:9000
# Possible values : unix:/var/run/php/php-fpm.sock or 127.0.0.1:9000
fastcgi_pass %FASTCGI_PASS%;

## Ibexa DXP ENVIRONMENT variables, used for customizing index.php execution (not used by console commands)
Expand Down

0 comments on commit 9d966e6

Please sign in to comment.