Welcome! Log In Create A New Profile

Advanced

How to compile php-fpm?

Posted by Dennis J. 
Dennis J.
How to compile php-fpm?
May 04, 2010 09:26AM
Hi,
I'm trying to compile php-fpm but it seems it just doesn't get built.
I extracted php-5.2.13, applied the patch for that version, did a
"buildconf --force" followed by "configure --enable-fpm". I get no
errors and can "make" successfully too. The problem is that while I find
a "php-cgi" in sapi/cgi I don't get a "php-fpm" in sapi/cgi/fpm. There
aren't even any object files so it seems fpm has been completely ignored
for the compilation. What am I missing?

Regards,
Dennis
elb
Re: How to compile php-fpm?
May 18, 2010 12:30PM
when i run [i]find . -name 'php-fpm'[/i] from root directory of the php sources i get:
[b]./sapi/fpm/php-fpm[/b]

so have a look at sapi/fpm...

There are exactly 10 types of people.
Those who understand binary and those who don't.
Re: How to compile php-fpm?
May 18, 2010 12:35PM
Dennis J. Wrote:
-------------------------------------------------------
> Hi,
> I'm trying to compile php-fpm but it seems it just
> doesn't get built.
> I extracted php-5.2.13, applied the patch for that
> version, did a
> "buildconf --force" followed by "configure
> --enable-fpm". I get no
> errors and can "make" successfully too. The
> problem is that while I find
> a "php-cgi" in sapi/cgi I don't get a "php-fpm" in
> sapi/cgi/fpm. There
> aren't even any object files so it seems fpm has
> been completely ignored
> for the compilation. What am I missing?
>
> Regards,
> Dennis

It might be --with-fpm with the older 5.2 patches and --enable-fpm with the newer 5.3 svn.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 193
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