Page 2 of 2

Re: PHP-FPM support

Posted: Wed Jul 01, 2015 6:51 pm
by armyboylegend
imperio wrote:Ready, but not released yet
when it will be released?

Re: PHP-FPM support

Posted: Fri Sep 04, 2015 1:27 am
by Botrax
When using the fastcgid web template in Vesta CP options for Web server, it uses the php-fpm template. You can see it in the running processes.

Ex: ps aux|grep php

root 1965 0.0 0.0 136540 2920 ? Ss Sep02 0:02 php-fpm: master process (/usr/local/vesta/php/etc/php-fpm.conf)



;;;;;;;;;;;;;;;;;;;;;
; FPM Configuration ;
;;;;;;;;;;;;;;;;;;;;;

[www]

; The address on which to accept FastCGI requests.
; Valid syntaxes are:
; 'ip.add.re.ss:port' - to listen on a TCP socket to a specific address on
; a specific port;
; 'port' - to listen on a TCP socket to all addresses on a
; specific port;
; '/path/to/unix/socket' - to listen on a unix socket.
; Note: This value is mandatory.
;listen = 127.0.0.1:9000
listen = /var/run/vesta-php.sock




Seems related to what Steven mentions.

Re: PHP-FPM support

Posted: Fri Sep 04, 2015 7:56 am
by imperio
Botrax wrote:When using the fastcgid web template in Vesta CP options for Web server, it uses the php-fpm template. You can see it in the running processes.

Ex: ps aux|grep php

root 1965 0.0 0.0 136540 2920 ? Ss Sep02 0:02 php-fpm: master process (/usr/local/vesta/php/etc/php-fpm.conf)



;;;;;;;;;;;;;;;;;;;;;
; FPM Configuration ;
;;;;;;;;;;;;;;;;;;;;;

[www]

; The address on which to accept FastCGI requests.
; Valid syntaxes are:
; 'ip.add.re.ss:port' - to listen on a TCP socket to a specific address on
; a specific port;
; 'port' - to listen on a TCP socket to all addresses on a
; specific port;
; '/path/to/unix/socket' - to listen on a unix socket.
; Note: This value is mandatory.
;listen = 127.0.0.1:9000
listen = /var/run/vesta-php.sock




Seems related to what Steven mentions.
Sorry, but we cant help you
Nginx + php-fpm is not released yet

Code: Select all

/usr/local/vesta/php/etc/php-fpm.conf
This config only for for vestacp, not for your sites