FB-PHP4
FreeBSD で PHP を ports からインストールした時に portupgrade で update する際にMBSTRING の設定をミスするのを防ぐ為に
/usr/local/etc/pkgtools.confに次の行を追加
***************************************************************************** MAKE_ARGS = { 'lang/php4' => 'WITH_APACHE2=yes WITH_MBSTRING=yes WITHOUT_MYSQL=yes BATCH=YES PHP_OPTIONS="CTYPE POSTGRESQL MBSTRING MIME PCRE POSIX SESSION TOKENIZER XMP ZLIB "', 'japanese/squirrelmail' => 'WITH_APACHE2=yes', 'www/mod_php4' => 'BATCH=YES WITH_MBSTRING=yes PHP_OPTIONS="APACHE2 POSTGRESQL MBSTRING"', 'mail/cclient' => 'WITHOUT_SSL=yes', 'mail/imap-uw' => 'WITHOUT_SSL=yes', } *****************************************************************************
因にコンパイルオプションは
/usr/ports/www/mod_php4 で 次のオプションで make する。 make WITH_APACHE2=yes WITH_MBSTRING=yes BATCH=YES \ PHP_OPTIONS="CTYPE POSTGRESQL MBSTRING MIME PCRE POSIX SESSION TOKENIZER XMP ZLIB " \ install
+++ 要検証 +++ >You can use /etc/make.conf to control the options used to compile software >on this system. Example entries are in >/usr/share/examples/etc/defaults/make.conf.
2005/2/7 追加
/usr/ports/lang/php4-extensions をインストール >> php4-calendar-4.3.10_2 The calendar shared extension for php php4-ctype-4.3.10_2 The ctype shared extension for php php4-extensions-1.0 A "meta-port" to install PHP extensions php4-mbstring-4.3.10_2 The mbstring shared extension for php php4-mysql-4.3.10_2 The mysql shared extension for php php4-openssl-4.3.10_2 The openssl shared extension for php php4-overload-4.3.10_2 The overload shared extension for php php4-pcre-4.3.10_2 The pcre shared extension for php php4-posix-4.3.10_2 The posix shared extension for php php4-session-4.3.10_2 The session shared extension for php php4-snmp-4.3.10_2 The snmp shared extension for php php4-tokenizer-4.3.10_2 The tokenizer shared extension for php php4-xml-4.3.10_2 The xml shared extension for php php4-zlib-4.3.10_2 The zlib shared extension for php