把項目a復(fù)制一份為項目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的模板
在瀏覽器中調(diào)用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 !