简单的开发实例HTTP协议正常,WebSocket协议报错,错误在“客户端连接失败原因”没有记录
```
WebSocket connection to 'ws://127.0.0.1:2000/' failed: Connection closed before receiving a handshake response
```
环境centos7.4,php5.4环境检测通过,但是运行报错
如下:
```
# php start.php start -d
PHP Warning: require_once(/root/workerman-todpole/vendor/autoload.php): failed to open stream: No such file or directory in /root/workerman-todpole/start.php on line 29
Warning: require_once(/root/workerman-todpole/vendor/autoload.php): failed to open stream: No such file or directory in /root/workerman-todpole/start.php on line 29
PHP Fatal error: require_once(): Failed opening required '/root/workerman-todpole/vendor/autoload.php' (include_path='.:/usr/share/pear:/usr/share/php') in /root/workerman-todpole/start.php on line 29
Fatal error: require_once(): Failed opening required '/root/workerman-todpole/vendor/autoload.php' (include_path='.:/usr/share/pear:/usr/share/php') in /root/workerman-todpole/start.php on line 29
```
```sh
# php -v
PHP 5.4.16 (cli) (built: Apr 12 2018 19:02:01)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
# curl -Ss http://www.workerman.net/check.php | php
PHP Version >= 5.3.3
Extension pcntl check
Extension posix check
```
下载的是已经完成的程序,没有动任何文件>