Apache2を起動

Apacheを起動できませんでした :
  Starting httpd: [] [warn] module php4_module is already loaded, skipping
  設定ファイルの編集
Include conf.d/*.conf
が2個あったので 一個削除
Apacheを起動できませんでした :
  [crit] Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP.
Pre-configuration failed.
  あれぇ〜? なおらない。
と下を見ると・・・

 phpが馬鹿?

仕方がないので 急遽 仕様を変更

worker.htmlprefork


[root@localhost root]# 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'.

Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
  えっ? ヨシ 完璧?じゃ。。。
  synapticを起動
(゚ロ゚)ギョェ apacheが入っていたので削除
  起動 成功 ♪

じゃあ cgiとphpもいれたし動くよね?
  (゚ロ゚)ギョェ
  続く・・・

» 続きを読む