PHP-FPM, where to restart? Also, feature request
Posted: Tue Dec 17, 2013 11:20 pm
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?
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?