Foren: Offene Diskussion (Thread #12782)

PHP4.4.4でインストールできず? (2006-11-08 01:27 by yuumi3 #25845)

PHP4.4.4 (CentOS3.5)の環境にpc2m-0.9.20をインストールしたのですが、 _check.php で空ページが表示されます。
apache(2.0.46) のerror_logには特にエラーは出てません。

何を調査したら良いでしょうか?

宜しくお願いいたします。

Reply to #25845×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Anmelden

RE: PHP4.4.4でインストールできず? (2006-11-08 13:17 by ucb #25862)

_check.phpではエラー表示を全開にしているので、エラーも表示されず(ログも残らず)空ページになるのは、PHPがハンドルできないレベルの文法ミスだと思います。

_check.phpはConfig.inc.phpを読み込みますが、Config.inc.phpの編集時にミスがあったというのがありがちな状況です。そこで、Config.inc.phpをリネームまたは削除して、これを読み込まないようにした上で_check.phpを実行してみるといかがでしょう?

それでも同様となると_check.php自体が怪しいわけですが…。
Reply to #25845

Reply to #25862×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Anmelden

RE: PHP4.4.4でインストールできず? (2006-11-08 15:45 by Anonym #25865)

ucbさん、ありがとうございます。

$ php -f Config.inc.php

Fatal error: Call to undefined function: mb_language() in /var/www/html/pc2m/Config.inc.php on line 668

というエラーが出たので PHP インストールの問題のようです。 --enable-mbstring は付けたのですが・・・

再build してみます。
Reply to #25845

Reply to #25865×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Anmelden

RE: PHP4.4.4でインストールできず? 解決 (2006-11-08 17:05 by yuumi3 #25866)

再build したら 動きました。

ありがとうございます!
Reply to #25845

Reply to #25866×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Anmelden

RE: PHP4.4.4でインストールできず? 解決 (2006-11-08 17:56 by ucb #25867)

ああ、なるほど。
さっき気付いたのですが、_check.phpで「エラー表示を全開にしている」のがConfig.inc.phpを読み込んだ後になっちゃってたので、(php.iniがエラーを表示しない設定になってれいば)Config.inc.phpの読み込み時に発生するエラーは表示されないで、結果空ページが表示されるということになっちゃってました。
これじゃチェックの意味ないじゃん。ということで、失礼しました。
Reply to #25866

Reply to #25867×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Anmelden