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). Since PHP 5.6.5.
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.