Ports PHP4.3.8以降について

| No Comments | No TrackBacks

OS FreeBSD 5.2-p8
Apache 1.3.29 + ModSSL
PHP 4.36 (source install)
PostgresSQL

上記状態から、PHPをUPGする際に関しての問題のmemo

sourceinstallなので、dirをrm -rfして、portsにもぐる

# cvsup -g -l 2 /hoge/ports-supfile
# /usr/ports/www/mod_php4
# make install clean

# apachectl stop
# apachectl startssl

動作OK

pgsqlとの連動
※portsのPHP4.3.8以降は*-extensionsというportsに各種機能が分離しました。
 ですので、それも入れないとアホなままです。

# /usr/ports/lang/php4-extensions
# make config

適宜必要mod選択(例えばcurl pgsql mbstring など)

# make install clean
# apachectl stop
# apachectl startssl

しかし動作しない。
logを見る限り、coredumpなのでどうしようもない。

色々moduleを減らしたり増やしたりしまくっていると動作した。
途中postmasterがあがらなくなったが、interbase6対応にcheckをいれてFireBirdが動くとpostmasterが
上がってくれないようだ。
なので、pkg_deleteしてinterbase6をはずしてmoduleを組みなおしてphp4_extensionをいれれば動作した。

どうやら、module部分がまだ微妙なようだ。

最低限必要なものだけを選択することをオススメする。

No TrackBacks

TrackBack URL: http://caruma.org/mt-tb.cgi/1046

Leave a comment

About this Entry

This page contains a single entry by Caruma published on October 20, 2004 2:35 PM.

SSH portforward was the previous entry in this blog.

WindowsMediaPlayer10登場 is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.