把项目a复制一份为项目B,启动失败,提示
Waring: \App\Http\Controllers\WebSocket\WebSocketController.php::onMessage is notcallable
Waring: \App\Http\Controllers\WebSocket\WebSocketController.php::onMessage is not callableWaring: \App\Http\Controllers\WebSocket\WebSocketController.php::onMessage is not callable
Workerman[
为什么还提示我没安装
extension memcached is not installed
Worker:WORKER EXIT UNEXPECTED E_WARNING file_get_contents(/var/run/workerman-chat.pid): failed to open stream: No such file or directory in /home/workerman-chat-masterin /home/workerman-chat-master/workerman/Core/Lib/Checker.php on line 276
extension memcached is notinstalled
Worker:WORKER EXIT UNEXPECTED E_WARNING file_get_contents(/var/run/workerman-chat.pid): failedinstalled
extension memcached is not installed
extension memcached is not installed
Worker:WORKER EXIT
#### 报错信息
Error: Class "support\Model" not found in /var/www/webman/plugin/admin/app/model/Base.php:baseRead()
#13 /var/www/webman/vendor/workerman/workerman/src/Worker.php(1742): Workerman\Events\Select->runsrc/support/App.php(143): Workerman\Worker::runAll()
#20 /var/www/webman/start.php(5): support\App::run
使用Twig的模板
在浏览器中调用Index.php中的view方法:
ip:8787/index/view,报错如下
Error: Class 'Twig\Environment' not foundin /home/webman/webman/support/view/Twig.php:35
使用think-template
Error: Class 'think\Template' notin /home/webman/webman/support/view/ThinkPHP.php:34
使用Blade
Error: Class 'Jenssegers\Blade\Blade' not
start.php status或者php start.php reload的时候有如题的警告:
# php start.php status
Workerman status
Workerman notrun
User defined signal 2
# php start.php reload
Workerman reload
Workerman notrun
User defined
注:php版本是5.3.3
workerman启动时提示 `Gateway: Worker key does not match !----------------------------------------------------------------
Gateway: Worker key does not==
Gateway: Worker key does not match !==
Gateway: Worker key does not match !
.
```
## Usage
Start the Docker container:
### Linux
```
docker run --rm -it -p 8787:8787 -v /home/www/webman:/app tinywan/docker-php-webman
```
### Windows
```
docker run --rm -it -p 8787:8787 -ve:/dnmp/www/webman:/app tinywan/docker-php-webman
```
Test Run
!/bin/sh
: not foundll.sh: line 2:
: not foundll.sh: line 4:
: not foundll.sh: line 10: echo
: not foundll.sh: line 11:
: not foundll.sh: line 13:
: not foundll.sh: line 30:
0.217 install.sh: return: line 36: Illegal