用户
 找回密码
 入住 CI 中国社区
搜索
查看: 5870|回复: 1
收起左侧

preg_replace函数错误

[复制链接]
发表于 2008-9-5 10:47:03 | 显示全部楼层 |阅读模式
为什么将工程转移到frebsd下,提示我这样的错误?
Fatal error: Call to undefined function: preg_replace() in /usr/home/dxw/sainet/system/libraries/Router.php on line 125

125行是这样的函数:foreach(explode("/", preg_replace("|/*(.+?)/*$|", "\\1", $this->uri_string)) as $val)
发表于 2008-9-5 11:24:20 | 显示全部楼层
PHP 环境问题,看看是不是少编译什么模块了。

本版积分规则