Page 1 of 1

PHP-FPM, where to restart? Also, feature request

Posted: Tue Dec 17, 2013 11:20 pm
by KeiroD
So, a friend of mine and I were puzzling over why the nginx+apache2 setup wasn't quite working right.

Turns out after the permissions were fixed... php-fpm wasn't quite working right. He made some fixes to it and asked me where to restart php-fpm. Unfortunately, I didn't know where it was... so we had to kill it hard.

However... starting it was a bit tricky, but we discovered that php-fpm was a binary and not a script... so, my request then is to add a method to stop/restart php-fpm, in /usr/local/vesta. Something like v-restart-phpfpm and v-start-phpfpm as well as v-stop-phpfpm would do wonders for dealing with php-fpm issues.

I would also advise that php-fpm should also be restartable via the web-UI

Edit: Also, is php-fpm in Ubuntu for VestaCP your own compiled version of php-fpm or the php-fpm that comes from the Ubuntu repositories?

Edit2: apt-cache search php-fpm
vesta-php - Vesta php-fpm

That answers my original edit question. Why are you using your own php-fpm when you could use Ubuntu's?

Re: PHP-FPM, where to restart? Also, feature request

Posted: Wed Dec 18, 2013 9:10 pm
by skid
We plan to create apache-less configuration, but I can't tell you exact day at the moment.

Re: PHP-FPM, where to restart? Also, feature request

Posted: Wed Dec 18, 2013 11:59 pm
by KeiroD
skid wrote:We plan to create apache-less configuration, but I can't tell you exact day at the moment.
I see. Gotcha. Thanks for answering the question partially.

Re: PHP-FPM, where to restart? Also, feature request

Posted: Tue Jan 14, 2014 7:16 am
by Graham
skid wrote:We plan to create apache-less configuration, but I can't tell you exact day at the moment.
That's one I'm keeping an eye on.

Re: PHP-FPM, where to restart? Also, feature request

Posted: Tue Jan 14, 2014 7:21 am
by nightstryke
mmm nginx and php-fpm!

Re: PHP-FPM, where to restart? Also, feature request

Posted: Tue Dec 30, 2014 1:04 pm
by mephivio
Hi team,

any news for the apache-less configuration (with nginx + php-fpm) ?
Thanks

J