php - 关于框架的路径问题

 坐看末日之景L_170 发布于 2022-11-13 14:33

公司用了π框架,也就是PhalApi。但是部署的时候,出现了以下的问题。

arning: require_once(): open_basedir restriction in effect. File(D:\project\future\code\api\PhalApi\PhalApi.php) is not within the allowed path(s): (D:\project\future\code\api\Public\;D:\nserver\memcached\;D:\nserver\phpmyadmin\;D:\nserver\temp\;C:\WINDOWS\Temp\) in D:\project\future\code\api\Public\init.php on line 12

Warning: require_once(D:\project\future\code\api\PhalApi\PhalApi.php): failed to open stream: Operation not permitted in D:\project\future\code\api\Public\init.php on line 12

Fatal error: require_once(): Failed opening required 'D:\project\future\code\api\Public/../PhalApi/PhalApi.php' (include_path='.;C:\php\pear') in D:\project\future\code\api\Public\init.php on line 12

![图片描述][1]

虚拟机部署的情况

请问这是什么问题呢?

1 个回答
  • 你要看开发文档的入口文件是哪个才行??

    2022-11-13 16:10 回答
撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有