Re: 關於php的問題
※ 引述《YuppieJer.bbs@bbs.wretch.cc ([ Yuppie Jer])》之銘言:
: 小弟的主機上
: freebsd5.2 + APACHE1.3.33 + PHP4.3.10
: 裝phpbb的時候出現
: Fatal error: Call to undefined function: preg_match() in
: /usr/local/www/data-dist/phpbb/install/install.php on line 206
: 請問可能是什麼問題呢
爬一下文吧~~ 前面有人討論過
在 ports/UPDATING 中有寫
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.
If you have a previous php.ini configuration file, be sure to comment out
the extension_dir parameter, since the correct path is statically compiled
into the PHP binary.
For an overview of the modules used with the old PHP binary, use
the command "php -m".
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.101.250
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 2 之 2 篇):
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章