Re: [問題]FreeBSD 5.2.1 裝 PhpSysinfo 2.2 錯誤訊息 ?

看板FreeBSD作者時間21年前 (2004/09/04 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/6 (看更多)
※ 引述《paulnet (....)》之銘言: > 剛剛補裝了 xml 的模組 > 原來裝 php4 的 xml 要另外裝。 > ports 路徑: > /usr/ports/textproc/php4-xml > 裝完後,再測試裝上 PhpSysinfo 2.1 & 2.2 版本, > 卻出現了這樣的錯誤訊息! > PhpSysinfo 2.1 > Fatal error: Call to undefined function: preg_split() in > /usr/local/www/data-dist/sysinfo/includes/os/class.FreeBSD.inc.php on line 46 > PhpSysinfo 2.2 > Fatal error: Call to undefined function: preg_split() in > /usr/local/www/data-dist/sysinfo/includes/os/class.FreeBSD.inc.php on line 48 > 請教各位前輩們,這又是哪邊有了問題呢? check你的/usr/local/etc/php.ini 其中 extension_dir = "./" 路徑要對 (我的module是放在/usr/local/lib/php/20020429,自己去找找) 為什麼會這樣?以前不是裝mod_php4就通通ok嗎? 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. -- 夫兵者不祥之器物或惡之故有道者不處君子居則貴左用兵則貴右兵者不祥之器非君子 之器不得已相簿 http://www.wretch.twbbs.org/album 有佈景主題 速度很快於天下 矣吉事尚左凶事尚右偏將軍居左上將軍居右言以喪禮處之殺人之眾以哀悲泣之戰勝以 喪禮處之道常無名樸雖小天下莫能臣侯王若能守之萬物將自賓天地相合以降甘露民莫 之令而自均始制有名名亦既有夫亦將知止知 220-134-206-73.HINET-IP.hinet.net
文章代碼(AID): #11EB5q00 (FreeBSD)
文章代碼(AID): #11EB5q00 (FreeBSD)