PHP init script to go with nginx?

Not sure.

I’ve been using it on all verions of 5.2.x.

Why would anyone -not- want to upgrade? :stuck_out_tongue:

yeah or it’s usually in $PATH

you can just use “php-fpm start” “php-fpm stop” “php-fpm reload”
“php-fpm restart” etc. it’s basically its own rc script type wrapper.
symlinking it into the /etc/rcX.d type dirs would probably work
transparently (although I haven’t tested it, I just have it manually
do “php-fpm start” in my /etc/rc.local file)

root@local# file which php-fpm
/usr/local/sbin/php-fpm: POSIX shell script text executable

Phillip B Oldham wrote:

mike wrote:

I cannot emphasize it enough - PHP-FPM is -the- way to manage
PHP/FastCGI.
So why aren’t the patches part of the main distribution? I mean, anyone
can contribute, can’t they? So why not push it to the main project and
make it easier for everyone?

Probably because there is already one way to do it included in the main
distribution.
But php-fpm is still a better way.

mike wrote:

I cannot emphasize it enough - PHP-FPM is -the- way to manage
PHP/FastCGI.

So why aren’t the patches part of the main distribution? I mean, anyone
can contribute, can’t they? So why not push it to the main project and
make it easier for everyone?

Phillip B Oldham
The Activity People
[email protected] mailto:[email protected]


Policies

This e-mail and its attachments are intended for the above named
recipient(s) only and may be confidential. If they have come to you in
error, please reply to this e-mail and highlight the error. No action
should be taken regarding content, nor must you copy or show them to
anyone.

This e-mail has been created in the knowledge that Internet e-mail is
not a 100% secure communications medium, and we have taken steps to
ensure that this e-mail and attachments are free from any virus. We must
advise that in keeping with good computing practice the recipient should
ensure they are completely virus free, and that you understand and
observe the lack of security when e-mailing us.

Hes tried to work with the PHP core guys - but it’s very hard to get
such a large change into the core.

He could speak better about it. It’s just like APC - I believe it will
be built in to PHP6, or Suhosin - why aren’t those built in either?
They’re well-tested and pretty much standard and not really buggy (no
more so than the core distro) … also it seems that PHP devs are
trying more and more to push more extensions to PECL and such instead
of having such a bloated core distro.

But a big change to a SAPI? That will take some time. There’s already
a feature request that Andrei submitted (I believe)

Oh - now I remember too - at the moment PHP-FPM uses a different
license. When Andrei is ready to put it into PHP core, he’s going to
change it to a compliant one. That -might- be the only issue.

Anyway, everyone who uses it raves about it and I haven’t really heard
of any bugs. I use it on every single server I manage - which are home
boxes, side hosting business boxes, and my day job (Fortune 60
company) boxes and have not had a single issue yet. I think Andrei is
like Igor with attention to detail :slight_smile: