Re: [問題] 這幾個PHP extension怎麼了?

看板FreeBSD作者 (root)時間17年前 (2008/12/14 20:44), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/3 (看更多)
※ 引述《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: pav@FreeBSD.org, itetcu@FreeBSD.org, ale@FreeBSD.org 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` -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 202.145.80.9
文章代碼(AID): #19HF-axY (FreeBSD)
文章代碼(AID): #19HF-axY (FreeBSD)