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

看板FreeBSD作者時間21年前 (2004/09/04 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串5/6 (看更多)
※ 引述《gaod (不良牛站務小咖:p)》之銘言: > 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. 嗯..小弟這部分設定沒有動到耶... 而 modue 也是放在 /usr/local/lib/php/20020429, 我記得 Mod_php4 應該都會掛上,可是之前安裝的錯誤訊息卻是, 「phpsysinfo requires xml module」 這點我也覺得很奇怪。 小弟用搜尋有找到有幫助的文章, 「gman 提到: 在 http://sourceforge.net/forum/forum.php?thread_id=801933&forum_id=10 看到的討論,可以試試看 http://ipfwgen.sourceforge.net/phpsysinfo-20030622.tar.gz這個版本 是由網友將CVS zip 起來的更新版本」 所以小弟也有將,上面發布的版本抓下來裝, 但裝了之後,出現的錯誤訊息跟上面一樣。 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 所以才發問,想問問看有沒有人在 FreeBSD 5.2.1 上有裝成功的。 -- 我想..妳已『用妳的右手,在藍色精靈的左手裡。』 找到答案了 ^^/.. .... -- 夫兵者不祥之器物或惡之故有道者不處君子居則貴左用兵則貴右兵者不祥之器非君子 之器不得已相簿 http://www.wretch.twbbs.org/album 有佈景主題 速度很快於天下 矣吉事尚左凶事尚右偏將軍居左上將軍居右言以喪禮處之殺人之眾以哀悲泣之戰勝以 喪禮處之道常無名樸雖小天下莫能臣侯王若能守之萬物將自賓天地相合以降甘露民莫 之令而自均始制有名名亦既有夫亦將知止知止220-141-44-215.dynamic.hinet.net
文章代碼(AID): #11EB5s00 (FreeBSD)
文章代碼(AID): #11EB5s00 (FreeBSD)