Account Options

  1. Sign in
Google Groups Home
« Groups Home
FPM in 5.3
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  15 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Antony Dovgal  
View profile  
 More options May 26 2010, 11:29 am
From: Antony Dovgal <t...@daylessday.org>
Date: Wed, 26 May 2010 19:29:34 +0400
Local: Wed, May 26 2010 11:29 am
Subject: FPM in 5.3
Hello all.

After a short discussion with Rasmus and Johannes (how's maintaining PHP 5.3 branch) it was agreed that FPM
can't break anything serious and even though 5.3 is a bugfix branch, it's safe to add FPM there.

Which was done several minutes ago.

So now you don't have to checkout PHP trunk, copy sapi/fpm to your 5.3 source tree and so on - it's all there already.
Snapshots containing FPM will be ready in ~1 hour, according to http://snaps.php.net.
Feel free to test them and report any issues you find using the official bug tracker @ http://bugs.php.net.

P.S. no way to add it to 5.2, sorry.

--
Wbr,
Antony Dovgal
---
http://pinba.org - realtime statistics for PHP


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Shadle  
View profile  
 More options May 26 2010, 11:54 am
From: Michael Shadle <mike...@gmail.com>
Date: Wed, 26 May 2010 08:54:03 -0700
Local: Wed, May 26 2010 11:54 am
Subject: Re: FPM in 5.3
This is awesome.

So the steps will be:

1) Grab a build from snaps.php.net
2) Unpack and ./configure as normal

Anything else? I will add it as the newest method on php-fpm.org/download/

(I will keep the existing 5.3 for people who want an official 5.3
release but add FPM support in)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Davy Campano  
View profile  
 More options May 26 2010, 12:03 pm
From: Davy Campano <dcamp...@gmail.com>
Date: Wed, 26 May 2010 12:03:53 -0400
Local: Wed, May 26 2010 12:03 pm
Subject: Re: FPM in 5.3

This is great news!  Thanks for your hard work!

Davy


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Khazret Sapenov  
View profile  
 More options May 26 2010, 12:05 pm
From: Khazret Sapenov <sape...@gmail.com>
Date: Wed, 26 May 2010 12:05:25 -0400
Local: Wed, May 26 2010 12:05 pm
Subject: Re: FPM in 5.3

thanks, Anthony! good job.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Anoop Alias  
View profile  
 More options May 26 2010, 12:21 pm
From: Anoop Alias <anoopalia...@gmail.com>
Date: Wed, 26 May 2010 21:51:51 +0530
Local: Wed, May 26 2010 12:21 pm
Subject: Re: FPM in 5.3

Great work .

--
Anoop P Alias (PGP Key ID : 0x014F9953)
GNU system administrator
http://GnuSys.net

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alexey A. Rybak  
View profile  
 More options May 27 2010, 4:16 am
From: "Alexey A. Rybak" <alexey.ry...@gmail.com>
Date: Thu, 27 May 2010 12:16:22 +0400
Local: Thurs, May 27 2010 4:16 am
Subject: Re: FPM in 5.3
ura! thank you all guys

On Wed, May 26, 2010 at 7:29 PM, Antony Dovgal <t...@daylessday.org> wrote:
> Hello all.

> After a short discussion with Rasmus and Johannes (how's maintaining PHP 5.3 branch) it was agreed that FPM
> can't break anything serious and even though 5.3 is a bugfix branch, it's safe to add FPM there.

> Which was done several minutes ago.

> So now you don't have to checkout PHP trunk, copy sapi/fpm to your 5.3 source tree and so on - it's all there already.
> Snapshots containing FPM will be ready in ~1 hour, according to http://snaps.php.net.
> Feel free to test them and report any issues you find using the official bug tracker @ http://bugs.php.net.

> P.S. no way to add it to 5.2, sorry.

--

wbr,
fisher


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tom Boutell  
View profile  
 More options Jul 23 2010, 6:21 pm
From: Tom Boutell <t...@punkave.com>
Date: Fri, 23 Jul 2010 15:21:39 -0700 (PDT)
Local: Fri, Jul 23 2010 6:21 pm
Subject: Re: FPM in 5.3
I just saw the announcement of the FPM being included in PHP 5.3.3.
That's great news - it sounds like the new FPM is a very good one. But
I'd appreciate some clarification on the status of the old FPM in php-
cgi.

As described here:

http://www.fastcgi.com/drupal/node/5?q=node/10

The regular php-cgi binaries in 5.2.x and, in my experience, 5.3.0
through 5.3.2 already include the capability of running as a FastCGI
process manager (that is, managing multiple processes themselves). And
this provides the essential feature of a shared APC cache.

Also it sounds like the new SAPI has a separate binary, unlike the old
FPM support which looked for environment variables and altered the
behavior of php-cgi.

So my questions are:

1. Was the old FPM removed from php-cgi in 5.3.3?

2. If so, wouldn't this cause considerable disruption for those of us
who are using it if we upgrade to 5.3.3? If so, documentation of what
to do in order to transition between the FPMs would be very useful.

3. Does the new FPM provide shared APC cache as the old one did? That
feature is a lifesaver for object oriented code on a modest virtual
machine.

I have a widely forwarded article here which I'll update with the
answers once I have them:

http://window.punkave.com/2010/03/08/faster-php-kill-kill/

Thanks!

On May 26, 11:29 am, Antony Dovgal <t...@daylessday.org> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter Mescalchin  
View profile  
 More options Jul 23 2010, 8:40 pm
From: Peter Mescalchin <peter.mescalc...@gmail.com>
Date: Fri, 23 Jul 2010 17:40:05 -0700 (PDT)
Local: Fri, Jul 23 2010 8:40 pm
Subject: Re: FPM in 5.3
It appears you need to enable the new FPM SAPI (--enable-fpm) - so I
would assume the old one still remains for those that need it?

http://www.php.net/manual/en/install.fpm.install.php

Tom, I have used your very handy article for PHP setups in the past
for Apache2+PHP-FCGI - I'm sure if apache2 can run using the new php-
fpm it will makes things all that little more sweeter.

On Jul 24, 8:21 am, Tom Boutell <t...@punkave.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter Mescalchin  
View profile  
 More options Jul 23 2010, 8:16 pm
From: Peter Mescalchin <peter.mescalc...@gmail.com>
Date: Fri, 23 Jul 2010 17:16:11 -0700 (PDT)
Local: Fri, Jul 23 2010 8:16 pm
Subject: Re: FPM in 5.3
 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Brian Mercer  
View profile  
 More options Jul 23 2010, 8:35 pm
From: Brian Mercer <m...@brianmercer.com>
Date: Fri, 23 Jul 2010 20:35:51 -0400
Local: Fri, Jul 23 2010 8:35 pm
Subject: Re: FPM in 5.3
On 7/23/2010 6:21 PM, Tom Boutell wrote:

> So my questions are:

> 1. Was the old FPM removed from php-cgi in 5.3.3?

> 2. If so, wouldn't this cause considerable disruption for those of us
> who are using it if we upgrade to 5.3.3? If so, documentation of what
> to do in order to transition between the FPMs would be very useful.

> 3. Does the new FPM provide shared APC cache as the old one did? That
> feature is a lifesaver for object oriented code on a modest virtual
> machine.

1. php-cgi is unchanged and works as before.
2. see number 1.
3. yes, shared apc cache works with php-fpm.

php-fpm has management features not present using php-cgi. see
http://php-fpm.org/about/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tom Boutell  
View profile  
 More options Jul 23 2010, 9:04 pm
From: Tom Boutell <t...@punkave.com>
Date: Fri, 23 Jul 2010 21:04:34 -0400
Local: Fri, Jul 23 2010 9:04 pm
Subject: Re: FPM in 5.3
Thanks for the clarification, Brian. So the rudimentary FPM in
php-cgi, including support for PHP_FCGI_CHILDREN, is exactly as it was
before but the FPM SAPI is a separate and superior implementation for
those who are ready to tackle it. Now it's incumbent on all of us to
spread the word of this even better option and encourage our friendly
distribution vendor to offer an apt/rpm/port etc. that installs it
when they move to PHP 5.3.3.

I'm excited about the slow log feature, as well as the improved
logging in general.

What does "accelerated upload support" mean in practice?

fastcgi_finish_request() looks useful too.

I don't need the alternate uid/gid stuff but I know hosts who
definitely will be excited about it.

--
Tom Boutell
P'unk Avenue
215 755 1330
punkave.com
window.punkave.com

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jbruni  
View profile  
 More options Jul 24 2010, 4:21 am
From: "jbruni" <nginx-fo...@nginx.us>
Date: Sat, 24 Jul 2010 04:21:59 -0400
Local: Sat, Jul 24 2010 4:21 am
Subject: Re: FPM in 5.3
Tom Boutell Wrote:
-------------------------------------------------------

> What does "accelerated upload support" mean in
> practice?

> fastcgi_finish_request() looks useful too.

Accelerated upload support:
http://php-fpm.org/wiki/Features#Accelerated_upload_support

fastcgi_finish_request:
http://php-fpm.org/wiki/Features#fastcgi_finish_request.28.29

Posted at Nginx Forum: http://forum.nginx.org/read.php?3,90488,112337#msg-112337


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
_MD_  
View profile  
 More options Aug 23 2010, 3:58 pm
From: "_MD_" <nginx-fo...@nginx.us>
Date: Mon, 23 Aug 2010 15:58:44 -0400
Local: Mon, Aug 23 2010 3:58 pm
Subject: Re: FPM in 5.3
That is fantastic news Antony...

I have a small question though:
I have installed php 5.3.3 through a yum install (remi)
but php-fpm does not seemed to be enabled.
How can I enable it after an rpm install? Thanks

_MD_

Posted at Nginx Forum: http://forum.nginx.org/read.php?3,90488,122904#msg-122904


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jérôme Loyet  
View profile  
 More options Aug 23 2010, 4:24 pm
From: Jérôme Loyet <m...@fatbsd.com>
Date: Mon, 23 Aug 2010 22:24:57 +0200
Local: Mon, Aug 23 2010 4:24 pm
Subject: Re: FPM in 5.3
2010/8/23 _MD_ <nginx-fo...@nginx.us>:

> That is fantastic news Antony...

> I have a small question though:
> I have installed php 5.3.3 through a yum install (remi)
> but php-fpm does not seemed to be enabled.
> How can I enable it after an rpm install? Thanks

if the package manager did not enable FPM before compilation you just
can't. It's not like an pecl extension.

You'll have to ask the pkg manager to produce a new version or to
compile FPM by yourself.

++ jerome


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Daniel Carrillo  
View profile  
 More options Aug 24 2010, 5:58 am
From: Daniel Carrillo <daniel.carri...@gmail.com>
Date: Tue, 24 Aug 2010 11:58:16 +0200
Local: Tues, Aug 24 2010 5:58 am
Subject: Re: FPM in 5.3
2010/8/23 _MD_ <nginx-fo...@nginx.us>:

> That is fantastic news Antony...

> I have a small question though:
> I have installed php 5.3.3 through a yum install (remi)
> but php-fpm does not seemed to be enabled.
> How can I enable it after an rpm install? Thanks

Hi.

I'm using this russian repo: http://centos.alt.ru/repository/centos/readme.txt

It's quite stable, at least for me. The russian guy is recompiling
remi packages with php-fpm enable. Be aware with other packages in
repository like bind, openssh and others, maybe you don't want to
upgrade these ones.

Kind Regards.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »