PHP Velho Oeste 2024

Installation

Compiler depuis les sources

Pour activer FPM dans votre construction de PHP vous devez ajouter la ligne --enable-fpm à votre ligne de configuration.

Il existe de multiples options de configuration pour FPM (toutes optionnelles):

  • --with-fpm-user - l'utilisateur FPM (defaut - nobody).

  • --with-fpm-group - le groupe FPM (defaut - nobody).

  • --with-fpm-systemd - Active l'intégration de systemd (par défaut - no).

  • --with-fpm-acl - Utiliser POSIX Access Control Lists (par défaut - no).

  • --with-fpm-apparmor - Active l'intégration d'AppArmor (par défaut - no).

  • --with-fpm-selinux - Active l'intégration SELinux (par défaut - no).

Historique

Version Description
8.2.0 L'option --with-fpm-selinux a été ajoutée.
8.0.0 L'option --with-fpm-apparmor a été ajoutée.

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
10 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
13 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