[PHP-users 32537] Re: Apache経由ではなく直接phpを実行するとセグメンテーション違反と表示される

Yasuo Ohgaki yohgaki @ ohgaki.net
2007年 8月 12日 (日) 10:17:31 JST


Hisashi Mizuno さんは書きました:
>> 考慮できていませんでした。このオプションをつけるに当たり、以下のサイトを参照
>> しました。
>>   Hosting PHP applications on the IBM HTTP Server
>>   http://www.ibm.com/developerworks/opensource/library/os-phphttp/
>> ここから引用----
>> The final option, --enable-maintainer-zts, causes the PHP interpreter to be
>> compiled to run safely with a threaded Web server like IBM HTTP Server:
>> "zts" stands for Zend Thread Safe or something like it. Note you will need
>> to recompile. If you do manage to find and download a pre-compiled PHP for
>> Linux it will likely not have been compiled with thread-safety on, and when
>> IBM HTTP Server loads the PHP interpreter, it does check, and will issue an
>> error message if the PHP has been compiled in a way that is thread-safe.
>> ここまで引用----

これはIBMのサーバがWorker MPMで動作しているからこいうオプションになっている
のであって、普通のApache(普通はPrefork MPM)の場合は--enable-maintainer-zts
オプションは必要ありません。

--
Yasuo Ohgaki


PHP-users メーリングリストの案内