diff --git a/templates/php_pool.conf b/templates/php_pool.conf
index e4fb4508eb319e8dbab6d048e180f442c49c5878..209703fc587644af6e93d761edd248460c958cc3 100644
--- a/templates/php_pool.conf
+++ b/templates/php_pool.conf
@@ -6,7 +6,7 @@ chdir = /
 {% if php_fpm_socket %}
 listen = /var/run/php{{ php_version_main }}-fpm.sock
 {% else %}
-listen = 127.0.0.1:9000
+listen = 127.0.0.1:{{ php_fpm_port|default(9000) }}
 {% endif %}
 
 ; Process manager