首先说明,我用的是mac自带的Apache和PHP。然后我的php文件保存在/User/yp/Sites/test下。然后我在php用require_once()调用该文件夹下面的php会报错,报错代码如下:PHP Warning: require_once(/Users/yp/Sites/test): failed to open stream: Inappropriate ioctl for device in - on line 3 PHP Fatal error: require_once(): Failed opening required './Users/yp/Sites/test' (include_path='.:/usr/local/pear/share/pear:/usr/lib/php/pear') in - on line 3
- 5 回答
- 0 关注
- 4463 浏览
添加回答
举报
0/150
提交
取消