トップ «前の日記(2004-07-19(月)) 最新 次の日記(2004-07-21(水))» 編集

とた日記


2004-07-20(火) 晴 安静時心拍数 53 [長年日記]

_ php4 不調?

SquirrelMail

Fatal error: Call to undefined function: session_id() in /usr/local/www/squirrelmail/functions/global.php on line 293

IlohaMail

Fatal error: Call to undefined function: preg_match() in /usr/local/www/ilohamail/source/main.php on line 600

とエラーが出ます。きっと昨日の portupgrade でなってしまったのでしょう。/usr/ports/UPDATING におもいっきり書いてありました。

20040719:

AFFECTS: users of PHP

AUTHOR: ale@FreeBSD.org

The old lang/php4 and lang/php5 ports have been splitted into 'base' PHP,

PEAR, and shared extensions to allow more flexibility and add new features.

Upgrading your current PHP installation will result in a 'base' PHP

installation (no PEAR and no extensions).

PEAR can be found in the new devel/php4-pear and devel/php5-pear ports, while

the set of PHP extensions to install can be choosen via the meta-ports

lang/php4-extensions and lang/php5-extensions, or installing singular

extensions individually.

[ports/UPDATING - view - 1.47より引用]

/usr/local/etc/pkgtools.conf の MAKE_ARGS を確認しながら

# cd /usr/ports/lang/php4-extensions
# make
# make install

/var/db/ports/php4-extensions/options は

# This file is auto-generated by 'make config'.
# No user-servicable parts inside!
# Options for php4-extensions-1.0
_OPTIONS_READ=php4-extensions-1.0
WITHOUT_BCMATH=true
WITHOUT_BZ2=true
WITHOUT_CALENDAR=true
WITHOUT_CRACK=true
WITH_CTYPE=true
WITHOUT_CURL=true
WITHOUT_DBA=true
WITHOUT_DBASE=true
WITHOUT_DBX=true
WITHOUT_DIO=true
WITHOUT_DOMXML=true
WITHOUT_EXIF=true
WITHOUT_FILEPRO=true
WITHOUT_FRIBIDI=true
WITHOUT_FTP=true
WITHOUT_GD=true
WITH_GETTEXT=true
WITHOUT_GMP=true
WITH_ICONV=true
WITHOUT_IMAGICK=true
WITHOUT_IMAP=true
WITHOUT_INTERBASE=true
WITHOUT_LDAP=true
WITH_MBSTRING=true
WITHOUT_MCAL=true
WITH_MCRYPT=true
WITHOUT_MCVE=true
WITHOUT_MHASH=true
WITHOUT_MING=true
WITHOUT_MNOGOSEARCH=true
WITHOUT_MSSQL=true
WITH_MYSQL=true
WITHOUT_NCURSES=true
WITHOUT_ODBC=true
WITHOUT_OPENSSL=true
WITHOUT_ORACLE=true
WITH_OVERLOAD=true
WITHOUT_PANDA=true
WITHOUT_PCNTL=true
WITH_PCRE=true
WITHOUT_PDF=true
WITHOUT_PGSQL=true
WITH_POSIX=true
WITHOUT_PSPELL=true
WITHOUT_READLINE=true
WITHOUT_RECODE=true
WITH_SESSION=true
WITHOUT_SHMOP=true
WITHOUT_SNMP=true
WITHOUT_SOCKETS=true
WITHOUT_SYBASE=true
WITHOUT_SYBASE_CT=true
WITHOUT_SYSVMSG=true
WITHOUT_SYSVSEM=true
WITHOUT_SYSVSHM=true
WITH_TOKENIZER=true
WITHOUT_WDDX=true
WITH_XML=true
WITHOUT_XMLRPC=true
WITHOUT_XSLT=true
WITHOUT_YAZ=true
WITHOUT_YP=true
WITHOUT_ZIP=true
WITH_ZLIB=true

こんな感じになっています。依存関係で php4-* が入りました。因みに /var/db/ports/mod_php4/options は

# This file is auto-generated by 'make config'.
# No user-servicable parts inside!
# Options for mod_php4-4.3.8_1,1
_OPTIONS_READ=mod_php4-4.3.8_1,1
WITH_APACHE2=true
WITHOUT_DEBUG=true
WITH_IPV6=true

となりました。

_ portupgrade ftp/ncftp3 security/sudo

ncftp-3.1.7                 <  needs updating (port has 3.1.8)
sudo-1.6.7.5_1              <  needs updating (port has 1.6.7.5_2)

_ 2人目。

T. S 先生からメール。私は何も動じませんよ。と言うか何もする気力がありません。申し訳ないですが自分のことで手一杯なもので。

本日のツッコミ(全1件) [ツッコミを入れる]
_ (2004-07-21(水) 12:48)

YI с.<br>Date: 20040720<br>Name: TrackBack<br>Mail: <br>Last-Modified: 1179727454<br>Visible: false<br><br>http://tramadoll.eamped.com/<br>Tramadol.<br>Tramadol.<br>Tramadol.