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).


Version Description
8.0.0 The --with-fpm-apparmor option was added.

add a note add a note

User Contributed Notes 3 notes

juangiordana at gmail dot com
12 years ago
Notice that the libevent requeriment has been dropped since php-5.3.4.
jlim at juristech dot net
9 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.

#define WCOREDUMP(x) 0
php at gigfa dot com
12 years ago
An init startup script file can be found at :
after successful compilation.
To Top