Make it work on debian

get rid of phpfpm listen url in favor of socket
This commit is contained in:
2024-05-17 10:43:25 +02:00
parent 4bbaa585a6
commit c8f375eebd
7 changed files with 37 additions and 14 deletions

View File

@@ -0,0 +1,3 @@
<FilesMatch \.php$>
SetHandler "proxy:unix:{{ php_fpm_listen_socket }}|fcgi://localhost/"
</FilesMatch>

View File

@@ -1,7 +1,7 @@
[{{ php_pool_name }}]
[{{ php_pool_name }}_{{ php_version }}]
user = {{ php_fpm_pool_user }}
group = {{ php_fpm_pool_group }}
listen = {{ php_fpm_listen_url }}
listen = {{ php_fpm_listen_socket }}
listen.backlog = 511
listen.mode = 0660
listen.owner = {{ php_fpm_pool_user }}