Vine Linux 3.0にPHPをインストール

近所でVine Linux 3.0にApache2+PHPをインストールする機会がありました。

いつものとおり、

# apt-get install apache2
# apt-get install php-apache2

としてインストール完了。ところが、起動しようとすると

# service apache2 start
[Mon Nov 01 21:15:56 2004] [crit] Apache is running a threaded MPM, but your PHP
Module is not compiled to be threadsafe.  You need to recompile PHP.

PHPもthreadsafeでコンパイルせいと怒られました。ん〜?

次に、言われた通りにPHPをダウンロードして./configure && make && make install。
これで動くだろうと思ったら、またしても

# service apache2 start
[Mon Nov 01 21:15:56 2004] [crit] Apache is running a threaded MPM, but your PHP
Module is not compiled to be threadsafe.  You need to recompile PHP.

こりゃどないこっちゃ〜と、Google先生に質問。

apache2 php threadsafe

これでやっと答えにたどり着きました。

Uta's Dream -どーらくにっき-: Vine Linux 3.0でApache2より、

# del /etc/alternatives/apache2
# ln -s /usr/sbin/apache2.prefork* /etc/alternatives/apache2

とすればよいようです。