Installation

Compiling from sources

In order to enable FPM in your PHP build you need to add --enable-fpm to your configure line.

There are several other FPM-specific configure options (all of them optional):

  • --with-fpm-user - set FPM user (default - nobody).

  • --with-fpm-group - set FPM group (default - nobody).

  • --with-fpm-systemd - Activate systemd integration (default - no).

  • --with-fpm-acl - Use POSIX Access Control Lists (default - no).

  • --with-fpm-apparmor - Activate AppArmor integration (default - no).

  • --with-fpm-selinux - Activate SELinux integration (default - no).

Log delle modifiche

Versione Descrizione
8.2.0 The --with-fpm-selinux option was added.
8.0.0 The --with-fpm-apparmor option was added.

add a note add a note

User Contributed Notes 3 notes

up
-12
juangiordana at gmail dot com
13 years ago
Notice that the libevent requeriment has been dropped since php-5.3.4.

http://bugs.php.net/52501
http://bugs.php.net/53691
up
-13
jlim at juristech dot net
11 years ago
If you get a compile/link error with WCOREDUMP undefined, then define the following in sapi/fpm/fpm/fpm_children.c.

This happened to me when running on AIX, which apparently does not define this macro.

#ifndef WCOREDUMP
#define WCOREDUMP(x) 0
#endif
</pre>
up
-13
php at gigfa dot com
14 years ago
An init startup script file can be found at :
./php-5.3.3/sapi/fpm/init.d.php-fpm
after successful compilation.
To Top