Welcome! Log In Create A New Profile

Advanced

php-5.3.5 no php-fpm

Posted by alxsss 
php-5.3.5 no php-fpm
February 28, 2011 03:31PM
Hello, I recently installed php-5.3.5 in Fedora 10. However, I cannot find php-fpm to start it. Any ideas how to do it?

Thanks.
Alex.
Daniel Carrillo
Re: php-5.3.5 no php-fpm
March 01, 2011 04:40AM
2011/2/28 alxsss <nginx-forum@nginx.us>:
> Hello, I recently installed php-5.3.5 in Fedora 10. However, I cannot
> find php-fpm to start it. Any ideas how to do it?

yum search php-fpm

Ensure your repo is compiling php-fpm. In example, I think that remi
repo isn't compiling php-fpm for Fedora 10, but yes for Fedora 12.

By the way Fedora 10 (also 12) is deprecated.

Kind Regards.
Troll
Re: php-5.3.5 no php-fpm
March 01, 2011 07:42AM
On 02/28/2011 09:31 PM, alxsss wrote:
> Hello, I recently installed php-5.3.5 in Fedora 10. However, I cannot
> find php-fpm to start it. Any ideas how to do it?
>
> Thanks.
> Alex.
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?3,179252,179252#msg-179252
>
If you installed PHP from the package manager (yum) it is likely that
they disabled it by default. It is the same on Debian.
To get FPM you would certainly have to install a package named like
"php-fpm" or something like that (try yum search php-fpm or yum search fpm)
Re: php-5.3.5 no php-fpm
March 01, 2011 01:47PM
Hello,

Thank you for responses. I did, yum search php-fpm with no results. Did
yum search fpm
================================= Matched: fpm =================================
fpm2.i386 : Password manager with GTK2 GUI

which I think is not what I need. I took a look to php-fpm s website and it says that for php 5.3.5 fpm is included in it.
Does this means that there must not be any separate packages php-fpm for this version of php?

Thanks.
Alex.
Troll
Re: php-5.3.5 no php-fpm
March 01, 2011 03:48PM
Hello,

In fact, in details :

* On the PHP Official Website it is said that FPM is "bundled" into PHP
from the 5.3.3 version, and it is right. But on this website they are
talking about source code of PHP. But FPM is an "option". When you do
the ./configure you have to specify --with-fpm so FPM will be included
into compilation process. Else, FPM won't be included and the generated
binary won't have FPM support.
* When you use yum, or apt-get, or any other package manager which is
based on the same model, you don't install code source and then compile
it, you download binaries, that have been compiled on a machine running
the same OS as you, and they are then installed on your system.

This means that, if they didn't specify --with-fpm at the compilation of
the binaries for the package "php5" (which is likely the case) then the
binary you will get through yum won't have FPM support.
This is why there are, often, several packages, and for example in
debian the one with FPM is "php-fpm". Which will install PHP binary
compiled with the option we want.

It seems (pretty weird but well, it's like that) that there is for now
no php-fpm version in the Fedora official repositories.
But you can use an unofficial repository, see this tutorial :
http://www.howtoforge.com/installing-nginx-with-php5-and-php-fpm-and-mysql-support-on-fedora-14-p2


Troll

On 03/01/2011 07:47 PM, alxsss wrote:
> Hello,
>
> Thank you for responses. I did, yum search php-fpm with no results. Did
>
> yum search fpm
> ================================= Matched: fpm
> =================================
> fpm2.i386 : Password manager with GTK2 GUI
>
> which I think is not what I need. I took a look to php-fpm s website and
> it says that for php 5.3.5 fpm is included in it.
> Does this means that there must not be any separate packages php-fpm for
> this version of php?
>
> Thanks.
> Alex.
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?3,179252,179511#msg-179511
>
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 108
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready