PHP Velho Oeste 2024

インストール

ソースからのコンパイル

FPM を有効にして PHP をビルドするには、configure 時に --enable-fpm を追加します。

そのほかにも FPM 固有のオプションがいくつかあります (いずれも必須ではありません)。

  • --with-fpm-user - FPM のユーザー (デフォルトは nobody)。

  • --with-fpm-group - FPM のグループ (デフォルトは nobody)。

  • --with-fpm-systemd - systemd 統合をアクティブにします (デフォルトは no)。

  • --with-fpm-acl - POSIX アクセス制御リストを使用します (デフォルトは no)。

  • --with-fpm-apparmor - AppArmor との統合を有効にします (デフォルトは no)。

  • --with-fpm-selinux - SELinux との統合を有効にします (デフォルトは no)。

変更履歴

バージョン 説明
8.2.0 --with-fpm-selinux が追加されました。
8.0.0 --with-fpm-apparmor が追加されました。

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