我运行手册中的示例代码出错

aa

简单的开发实例
实例一、使用HTTP协议对外提供Web服务
就是这个,手册中最前面的那个
运行之后结果如下:

fenghao@fenghao-pc:~/文档/TEST$ sudo php http_test.php start
PHP Warning:  require_once(./Workerman/Autoloader.php): failed to open stream: No such file or directory in /home/fenghao/文档/TEST/http_test.php on line 3
PHP Fatal error:  require_once(): Failed opening required './Workerman/Autoloader.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/fenghao/文档/TEST/http_test.php on line 3

是我哪里的配置错误了吗?

3910 2 0
2个回答

aa

随着进一步的阅读手册,我自己解决啦,谢谢!

  • 暂无评论
walkor

路径问题

  • 暂无评论
年代过于久远,无法发表回答
🔝