駭客小築's Archiver

star 發表於 2006-2-1 05:03 AM

[資訊] FreeBSD 719 PHP 大地震(PORTS-Tree)

來源討論串: [url=http://groups.google.com.tw/groups?hl=zh-TW&lr=&ie=UTF-8&threadm=4DJ4EJ%24_Dx%40bbs.ee.ntu.edu.tw&rnum=1&prev=/groups%3Fhl%3Dzh-TW%26lr%3D%26ie%3DUTF-8%26q%3D%25E5%25A5%2597%25E4%25BB%25B6%25E9%2581%25B8%25E5%2596%25AE%25E4%25B8%258D%25E8%25A6%258B%25E4%25BA%2586%2Bgroup%253Atw.bbs.comp.386bsd%26meta%3Dgroup%253Dtw.bbs.comp.386bsd]ports www/mod_php4 (4.3.8)套件選單不見了 @@\"[/url]

From: [email]GSS@bbs.ee.ntu.edu.tw[/email] (GSS)
Newsgroups: tw.bbs.comp.386bsd
Subject: ports www/mod_php4 (4.3.8)套件選單不見了 @@\"
Date: 20 Jul 2004 15:13:54 GMT
Organization: 台大電機 Maxwell BBS
Message-ID: <4DJ4EJ$[email]_Dx@bbs.ee.ntu.edu.tw[/email]>
Mime-Version: 1.0
Content-Type: text/plain; charset=\"big5\"
Content-Transfer-Encoding: 8bit
X-Filename: BSD/M.1090336435.A
Lines: 17



今天一時衝動由ports 將 php 4.3.7 更新到 4.3.8
在安裝的時候才發現套件選單不見了,只剩下三個選項

     Options for mod_php4 4.3.8_1,1
APACHE2  Use apache 2.x instead of apache 1.3.x
DEBUG    Enable debug
IPV6     Enable ipv6 support


真糟糕,連 mysql 都不能連了,目前這種情況還能降回
4.3.7 的版本嗎?或者在 4.3.8 也可以使用和 4.3.7
的套件選單?


--
[m※ Origin: 臺大電機 Maxwell 站 ◆ From: 220-135-253-111.HINET-IP.hinet.net
[hr]
因為 php 大爆炸

現在有 /usr/ports/UPDATING 可以看囉

20040719:
  AFFECTS: users of PHP
  AUTHOR: [email]ale@FreeBSD.org[/email]

  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.
[hr]
因為php 的 ports 有比較大的改變
如果你使用php4
你在mod_php4中安裝的只有基本的php4
請到 lang/php4-extensions 中再繼續裝其他的module套件吧
安裝完後請記得把這些module的path加到php.ini中
比如
extension_dir = \"/usr/local/lib/php/20040412-debug/\"
這樣才能使用extesion的module
[hr]
※ 引述《[email]TerryLiaw.bbs@Terry.dragon2.net[/email] (㊣早睡早起)》之銘言:
> php 昨天大地震
> 要裝亂七八糟東西者請洽 ports/lang/php4-extensions
安裝上有些許\問題,例如會相依至 automake
而 automake 又相依至 perl
要命的是,automake 只認 perl-5.8.2
我裝的是 perl-5.8.4
說不就是不,拿他沒摺。
[hr]
※ 引述《[email]kib83726@bbs.openfind.com.tw[/email] (法蘭斯)》之銘言:
> 安裝上有些許\問題,例如會相依至 automake
> 而 automake 又相依至 perl
> 要命的是,automake 只認 perl-5.8.2
> 我裝的是 perl-5.8.4
> 說不就是不,拿他沒摺。

  這問題我遇過

  use.perl port 重跑下一次就好了

  因為他會在 make.conf 紀錄 PERL_VER


[編輯 -  2004-7-22 由 star]

[i]最後編輯 by kocry 在 2004-10-28 07:09 AM [/i]

頁: [1]

Powered by Discuz! Archiver 6.1.0  © 2001-2007 Comsenz Inc.