We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
PHP-FPM, where to restart? Also, feature request
PHP-FPM, where to restart? Also, feature request
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?
Re: PHP-FPM, where to restart? Also, feature request
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
I see. Gotcha. Thanks for answering the question partially.skid wrote: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
That's one I'm keeping an eye on.skid wrote:We plan to create apache-less configuration, but I can't tell you exact day at the moment.
-
- Posts: 83
- Joined: Tue Jan 14, 2014 6:43 am
Re: PHP-FPM, where to restart? Also, feature request
mmm nginx and php-fpm!
Re: PHP-FPM, where to restart? Also, feature request
Hi team,
any news for the apache-less configuration (with nginx + php-fpm) ?
Thanks
J
any news for the apache-less configuration (with nginx + php-fpm) ?
Thanks
J