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).
Коментарии
An init startup script file can be found at :
./php-5.3.3/sapi/fpm/init.d.php-fpm
after successful compilation.
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>