diff --git a/docs/quickstart-guide.md b/docs/quickstart-guide.md index 32e295694..38f13b48a 100644 --- a/docs/quickstart-guide.md +++ b/docs/quickstart-guide.md @@ -1794,13 +1794,15 @@ BunkerWeb supports PHP using external or remote [PHP-FPM](https://www.php.net/ma First of all, you will need to make sure that your PHP-FPM instance can access the files inside the `/opt/bunkerweb/www` folder and also that BunkerWeb can access the UNIX socket file in order to communicate with PHP-FPM. We recommend to set a different user like `www-data` for the PHP-FPM service and to give the nginx group access to the UNIX socket file. Here is corresponding PHP-FPM configuration : ```ini + ... [www] user = www-data group = www-data listen = /run/php/php-fpm.sock - listen.ower = www-data + listen.owner = www-data listen.group = nginx listen.mode = 0660 + ... ``` Don't forget to restart your PHP-FPM service : @@ -1846,13 +1848,15 @@ BunkerWeb supports PHP using external or remote [PHP-FPM](https://www.php.net/ma First of all, you will need to make sure that your PHP-FPM instance can access the files inside the `/opt/bunkerweb/www` folder and also that BunkerWeb can access the UNIX socket file in order to communicate with PHP-FPM. We recommend to set a different user like `www-data` for the PHP-FPM service and to give the nginx group access to the UNIX socket file. Here is corresponding PHP-FPM configuration : ```ini + ... [www] user = www-data group = www-data listen = /run/php/php-fpm.sock - listen.ower = www-data + listen.owner = www-data listen.group = nginx listen.mode = 0660 + ... ``` !!! info "PHP-FPM with Ansible" @@ -2294,13 +2298,15 @@ BunkerWeb supports PHP using external or remote [PHP-FPM](https://www.php.net/ma First of all, you will need to make sure that your PHP-FPM instance can access the files inside the `/opt/bunkerweb/www` folder and also that BunkerWeb can access the UNIX socket file in order to communicate with PHP-FPM. We recommend to set a different user like `www-data` for the PHP-FPM service and to give the nginx group access to the UNIX socket file. Here is corresponding PHP-FPM configuration : ```ini + ... [www] user = www-data group = www-data listen = /run/php/php-fpm.sock - listen.ower = www-data + listen.owner = www-data listen.group = nginx listen.mode = 0660 + ... ``` Don't forget to restart your PHP-FPM service : @@ -2351,13 +2357,15 @@ BunkerWeb supports PHP using external or remote [PHP-FPM](https://www.php.net/ma First of all, you will need to make sure that your PHP-FPM instance can access the files inside the `/opt/bunkerweb/www` folder and also that BunkerWeb can access the UNIX socket file in order to communicate with PHP-FPM. We recommend to set a different user like `www-data` for the PHP-FPM service and to give the nginx group access to the UNIX socket file. Here is corresponding PHP-FPM configuration : ```ini + ... [www] user = www-data group = www-data listen = /run/php/php-fpm.sock - listen.ower = www-data + listen.owner = www-data listen.group = nginx listen.mode = 0660 + ... ``` !!! info "PHP-FPM with Ansible" diff --git a/tests/www-deb.conf b/tests/www-deb.conf index 13961dd06..74d9aeeb5 100644 --- a/tests/www-deb.conf +++ b/tests/www-deb.conf @@ -2,6 +2,11 @@ user = www-data group = www-data listen = /run/php/php-fpm.sock -listen.ower = www-data +listen.owner = www-data listen.group = nginx listen.mode = 0660 +pm = dynamic +pm.max_children = 5 +pm.start_servers = 2 +pm.min_spare_servers = 1 +pm.max_spare_servers = 3 \ No newline at end of file diff --git a/tests/www-rpm.conf b/tests/www-rpm.conf index dda761b27..276c8c75c 100644 --- a/tests/www-rpm.conf +++ b/tests/www-rpm.conf @@ -2,6 +2,11 @@ user = apache group = apache listen = /run/php/php-fpm.sock -listen.ower = apache +listen.owner = apache listen.group = nginx listen.mode = 0660 +pm = dynamic +pm.max_children = 5 +pm.start_servers = 2 +pm.min_spare_servers = 1 +pm.max_spare_servers = 3 \ No newline at end of file