ApacheをWorkerモードで動かすとPHPで色々問題が出てくる、という話は検索するとよく出てくる当然の話だったんですね。知らなかったです。
/etc/sysconfig/httpdのコメントにも
The default processing model (MPM) is the process-based
# ‘prefork’ model. A thread-based model, ‘worker’, is also
# available, but does not work with some modules (such as PHP).
# The service must be stopped before changing this variable.
PHPとか、Wokerでは動かないよ、とあります。
今回ApacheをWorkerで動かそうとしたのですが、大人しくpreforkで動かしておきます。
関連する記事:
- phpが動いているのはモジュール?cgi?
- PHP Variable Tests
- Zend Framework – Zend_Controller_Requestで使えるgetメソッド
- Ajax PHP VARIABLE TEST
- 環境差異を吸収する方法
Powered by MightyAdsense
最近のコメント