【发布时间】:2010-07-16 11:48:12
【问题描述】:
我正在从我的 WAMP 测试环境部署到在线测试...
在本地,我的包含路径是这样的:
include('C/wamp/www...')
如何在我的服务器上找到等效路径?
我尝试使用“/”进入根目录,但出现此错误:
警告: require_once(/test123/mvc/views/txt/index_nav_txt.php) [function.require-once]:未能 打开流:没有这样的文件或目录 在 /home/user/public_html/test123/mvc/views/components/st_footer.php 第 37 行
致命错误:require_once() [function.require]:打开失败 必需的 '/test123/mvc/views/txt/index_nav_txt.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') 在 /home/user/public_html/test123/mvc/views/components/st_footer.php 第 37 行
【问题讨论】: