Nucleus インストール(2)

案の定 mysql 部分で悩む。
一応は立ち上がったが。
大丈夫なのか?これ。
PHPのインストール

$ ./configure --with-mysql --with-apxs
$ make
$ make install

Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... ./configure: apxs: not found
./configure: apxs: not found


Sorry, I was not able to successfully run APXS. Possible reasons:

1. Perl is not installed;
2. Apache was not compiled with DSO support (--enable-module=so);
3. 'apxs' is not in your path. Try to use --with-apxs=/path/to/apxs
The output of apxs follows
./configure: apxs: not found
configure: error: Aborting

エラーがでて叱られる。親切に手引きが書いてあるので、
言われるが侭に。

# ./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs
# make
# make install
# cp php.ini-dist /usr/local/lib/php.ini

php.ini の変更はこれしかやってない。

# diff php.ini-dist /usr/local/lib/php.ini
864c864,865< ;mbstring.internal_encoding = EUC-JP

    • -

> mbstring.language = Japanese
> mbstring.internal_encoding = EUC-JP

httpd.conf の変更もこれくらいしかやってない。

# diff httpd.conf httpd.conf.041106
396c396< DirectoryIndex index.html index.php

    • -

> DirectoryIndex index.html
806d805< AddType application/x-httpd-php .php

で コンテンツとして以下中身の test.php を作り。
Web上から見たくもない情報まで見えてしまえば完了。

いよいよ nucleus のインストール。
ソースを展開してそのソースをインストールしたい
ディレクトリ配下にコピーし、
config.php を 666 に chmod する。
その後
http://yourserver/path/install.php
を開いてインストール開始。ここから諸行無常が繰り返され
疲れたので一休み。