Notice that the libevent requeriment has been dropped since php-5.3.4.
http://bugs.php.net/52501
http://bugs.php.net/53691
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).
Version | Description |
---|---|
8.2.0 |
The --with-fpm-selinux option was added.
|
8.0.0 |
The --with-fpm-apparmor option was added.
|
Notice that the libevent requeriment has been dropped since php-5.3.4.
http://bugs.php.net/52501
http://bugs.php.net/53691
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>
An init startup script file can be found at :
./php-5.3.3/sapi/fpm/init.d.php-fpm
after successful compilation.