PHP Velho Oeste 2024

Installation

Kompilierung des Quellcodes

Um FPM im Ihrem PHP Build zu aktivieren, müssen Sie --enable-fpm der Konfigurationszeile hinzufügen.

Es gibt verschiedene andere FPM-spezifsche Einstellungen (alle sind optional):

  • --with-fpm-user - setzt den FPM Nutzer (Standard - nobody).

  • --with-fpm-group - setzt die FPM Gruppe (Standard - nobody).

  • --with-fpm-systemd - aktiviert die systemd-Integration (Standard - no).

  • --with-fpm-acl - verwende POSIX Access Control Lists (Standard - no).

  • --with-fpm-apparmor - aktiviert die AppArmor-Integration (Standard - no).

  • --with-fpm-selinux - aktiviert die SELinux-Integration (Standard - no).

Changelog

Version Beschreibung
8.2.0 Die Option --with-fpm-selinux wurde hinzugefügt.
8.0.0 Die Option --with-fpm-apparmor wurde hinzugefügt.

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