看板 FreeBSD 關於我們 聯絡資訊
※ 引述《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` -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 202.145.80.9