[PHP-users 3225] Re: php4.0.6 + Oracle + mod_ssl + openssl インストールについて

Y.Okazaki php-users@php.gr.jp
Wed, 31 Oct 2001 15:14:28 +0900


岡崎@名めたです

>php4.0.6をインストールしないで、Apacheを
>/usr/local/apache/bin/apachectl  startssl で起動すると
>正常に起動しますが、phpをインストールすると
>起動せず、error_logにもログが落ちないようになってしまいます。

Apache + PHP4.0.6 はできますでしょうか?
mod_sslなどの影響ではなく、純粋にPHP4でこけてる可能性もなきにしもあらずなので
こちらはできているのかご確認いただけますでしょうか。


私の場合、このようにしてインストールしてみました。
下記は「Plamo Linux 2.1」を利用しています。

# wget 'http://www.php.net/do_download.php?download_file=php-4.0.6.tar.gz&source_site=www.php.net'
# wget ftp://marlan.tokyo.firstserver.co.jp/pub/GNU/autoconf/autoconf-2.13.tar.gz
# wget ftp://marlan.tokyo.firstserver.co.jp/pub/GNU/automake/automake-1.4.tar.gz
# wget ftp://marlan.tokyo.firstserver.co.jp/pub/GNU/libtool/libtool-1.3.5.tar.gz
(attention: autoconf-2.50 is NG!!)

# tar xfz autoconf-2.13.tar.gz
# cd autoconf-2.13
# ./configure
# make
# make install
# cd ..
# tar xfz automake-1.4.tar.gz
# cd automake-1.4
# ./configure
# make
# make install
# cd ..
# tar xfz libtool-1.3.5.tar.gz
# cd libtool-1.3.5
# ./configure
# make
# make install
# cd ..
# tar xfz php-4.0.6.tar.gz
# cd php-4.0.6
# rm configure
# ./buildconf
# ./configure --with-apxs=/usr/local/apache/bin/apxs --enable-mbstring --enable-mbstr-enc-trans --with-mysql=/usr/local/mysql
# make
# make install

# cp php.ini-dist /usr/local/lib/php.ini

# emacs /usr/local/apache/conf/httpd.conf

- # AddType application/x-httpd-php .phtml
+ AddType application/x-httpd-php .phtml

# /usr/local/apache/bin/apachectl start



******************************************
      名古屋めたりっく通信株式会社
    ネットワークソリューション事業部
         岡崎  庸 (おかざき よう)
      E-mail : okazaki@mmtr.co.jp
      D-FAX  : 020-4666-1234
      http://www.d-fax.ne.jp
******************************************