這幾個PHP extension怎麼了? - BBS
By Jack
at 2008-12-14T20:44
at 2008-12-14T20:44
Table of Contents
※ 引述《dppman (*^o^*)》之銘言:
: 請問一下,
: 有人知道這幾個PHP extension怎麼了嗎?
: 今天用portupgrade升級PHP到5.2.8卻出現下列
: 幾個PHP extension突然不能用了:<
: 訊息有點讓人一頭霧水:< 原來在 PHP 5.2.6
: 還OK阿...怎麼突然說不support PHP5 !?
: 有人知道是怎麼一回事嗎?
: FreeBSD的port有大更改?
: Thanks in advance!
/usr/ports/UPDATING
20081211:
AFFECTS: users of lang/php5
AUTHOR: [email protected], [email protected], [email protected]
As of php 5.2.7, pcre extension is distributed with the core php5 package,
and not as a standalone module anymore. Follow these steps to update your
installation:
Portupgrade users:
pkg_delete -f php5-pcre-5.2.6
pkgdb -F
portupgrade as usual
Portmaster users:
pkg_delete -f php5-pcre\*
portmaster php5\*
If you are using pecl ports you might need to force an update on them, ie.:
portupgrade -f pecl\*
or
portmaster pecl\*
If you have the pecl hash, json and/or zip extensions you need to replace
them with the php5 bundled ones, ie.:
portmaster/portupgrade -o archivers/php5-zip archivers/pecl-zip
portmaster/portupgrade -o devel/php5-json devel/pecl-json
portmaster/portupgrade -o security/php5-hash security/pecl-hash
If you build your INDEX locally and you tried to build it after the php
update commit, you need to rebuild it _after_ you updated lang/php5:
cd /usr/ports && make index
or (if you use ports-mgmt/p5-FreeBSD-Portindex):
cd /usr/ports && cache-init && portindex -o `make -V INDEXFILE`
--
: 請問一下,
: 有人知道這幾個PHP extension怎麼了嗎?
: 今天用portupgrade升級PHP到5.2.8卻出現下列
: 幾個PHP extension突然不能用了:<
: 訊息有點讓人一頭霧水:< 原來在 PHP 5.2.6
: 還OK阿...怎麼突然說不support PHP5 !?
: 有人知道是怎麼一回事嗎?
: FreeBSD的port有大更改?
: Thanks in advance!
/usr/ports/UPDATING
20081211:
AFFECTS: users of lang/php5
AUTHOR: [email protected], [email protected], [email protected]
As of php 5.2.7, pcre extension is distributed with the core php5 package,
and not as a standalone module anymore. Follow these steps to update your
installation:
Portupgrade users:
pkg_delete -f php5-pcre-5.2.6
pkgdb -F
portupgrade as usual
Portmaster users:
pkg_delete -f php5-pcre\*
portmaster php5\*
If you are using pecl ports you might need to force an update on them, ie.:
portupgrade -f pecl\*
or
portmaster pecl\*
If you have the pecl hash, json and/or zip extensions you need to replace
them with the php5 bundled ones, ie.:
portmaster/portupgrade -o archivers/php5-zip archivers/pecl-zip
portmaster/portupgrade -o devel/php5-json devel/pecl-json
portmaster/portupgrade -o security/php5-hash security/pecl-hash
If you build your INDEX locally and you tried to build it after the php
update commit, you need to rebuild it _after_ you updated lang/php5:
cd /usr/ports && make index
or (if you use ports-mgmt/p5-FreeBSD-Portindex):
cd /usr/ports && cache-init && portindex -o `make -V INDEXFILE`
--
Tags:
BBS
All Comments
Related Posts
可否讓系統上的某些帳號只能FTP,不能使 …
By Dinah
at 2008-12-11T19:22
at 2008-12-11T19:22
可否讓系統上的某些帳號只能FTP,不能使 …
By Dorothy
at 2008-12-11T18:14
at 2008-12-11T18:14
可否讓系統上的某些帳號只能FTP,不能使 …
By Audriana
at 2008-12-11T18:03
at 2008-12-11T18:03
可否讓系統上的某些帳號只能FTP,不能使 …
By Una
at 2008-12-11T16:24
at 2008-12-11T16:24
可否讓系統上的某些帳號只能FTP,不能使 …
By Tom
at 2008-12-08T13:51
at 2008-12-08T13:51