Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

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

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
6 posts • Page 1 of 1
KeiroD
Posts: 61
Joined: Fri Oct 11, 2013 8:35 pm

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

Post by KeiroD » 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?
Top

skid
VestaCP Team
Posts: 1476
Joined: Wed Apr 06, 2011 11:12 pm

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

Post by skid » Wed Dec 18, 2013 9:10 pm

We plan to create apache-less configuration, but I can't tell you exact day at the moment.
Top

KeiroD
Posts: 61
Joined: Fri Oct 11, 2013 8:35 pm

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

Post by KeiroD » Wed Dec 18, 2013 11:59 pm

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.
Top

Graham
Posts: 57
Joined: Wed Sep 25, 2013 6:32 pm

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

Post by Graham » Tue Jan 14, 2014 7:16 am

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.
Top

nightstryke
Posts: 83
Joined: Tue Jan 14, 2014 6:43 am

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

Post by nightstryke » Tue Jan 14, 2014 7:21 am

mmm nginx and php-fpm!
Top

mephivio
Posts: 198
Joined: Thu Mar 27, 2014 7:35 am

Os: Debian 8x
Web: nginx + php-fpm
Re: PHP-FPM, where to restart? Also, feature request
  • Quote

Post by mephivio » Tue Dec 30, 2014 1:04 pm

Hi team,

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

J
Top


Post Reply
  • Print view

6 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password