[PHP-users 2141] Re: kondara apache1.3.20 PHP4.0.3pl1 でPHP が動作しない。

sada php-users@php.gr.jp
Tue, 18 Sep 2001 16:47:29 +0900


こんにちは石田ともうします。
もっともな指摘ありがとうございます。
前提条件として秀和システム書籍の
「PHP4かんたんWeb構築ガイド」を参考にしています。
※verが古いのはこの本に忠実に行っているからで。


>1.apacheやPHPはどうやってインストールしたのか
>  (RPM or make install?)
>  make installしたならconfigureは?
>  これによってapacheのhttpd.confなどの場所が
>  違う。

インストールですが
apache PHP共にmake installにてインストールしました。
apache configure
     ./confihure --enable-module=so
PHP confihgure
     --enable-jstring --with-namazu --with-kakasi \
     --enable-mbregex --enable-iconv --with-pgsql \
     --with-apxs=/use/local/apache/bin/apxs \
     --enable-trans-sid --enable-track-vars
です。


>2.httpd.confの内容
>  (PHP関連のところだけでも)

     #
     # AddType allows you to tweak mime.types without actually editing it,
or to
     # make certain files to be certain types.
     #
     # For example, the PHP 3.x module (not part of the Apache distribution
- see
     # http://www.php.net) will typically use:
     #
     #AddType application/x-httpd-php3 .php3
     #AddType application/x-httpd-php3-source .phps
     #
     # And for PHP 4.x, use:
     #
     AddType application/x-httpd-php .php
     AddType application/x-httpd-php-source .phps

     AddType application/x-tar .tgz



>3.apacheのインストール成功の画面はきちんと表示されるか?

apacheインストール後別のマシンより確認できました。


>などなどいろいろあると思いますよ。
>「いつも拝見させて頂いています。」なら過去メールを参照して
>質問の仕方を学ぶ方が先です。

もっともなご指摘です。
もう少し頑張ってみます!
ありがとうございました。