简单的开发实例
实例一、使用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
是我哪里的配置错误了吗?
随着进一步的阅读手册,我自己解决啦,谢谢!
路径问题