phpモジュールを組み込んだapache2が起動しない

こんなエラーメッセージがでた
Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP.Pre-configuration failed

[vine-users:070670]より引用

5.apache2 について

Vine Linux 3.1 における apache2 MPM(Multi Processing Module)のデフォルトはworker モデルになっていますが、php のモジュール版は prefork モデル でないと正しく動作しないようです。apache2 を prefork MPM に変更するには、以下のようにします。

# update-alternatives –config apache2

There are 4 alternatives which provide `apache2′.

Selection Alternative
———————————————–
*+ 1 /usr/sbin/apache2.worker
2 /usr/sbin/apache2.prefork
3 /usr/sbin/apache2.threadpool
4 /usr/sbin/apache2.perchild

Press enter to keep the default[*], or type selection number: 2
Using `/usr/sbin/apache2.prefork’ to provide `apache2′.

その後、apache2 を(再)起動します。

# service apache2 restart

これで直りました。