linux部署WEB消息推送框架
# php /data/wwwroot/default/webmsg/start.php start -d
Workerman start in DAEMON mode
PHP Warning: stream_socket_server() has been disabled for security reasons in /data/wwwroot/default/webmsg/vendor/workerman/workerman/Worker.php on line 1413
Warning: stream_socket_server() has been disabled for security reasons in /data/wwwroot/default/webmsg/vendor/workerman/workerman/Worker.php on line 1413
PHP Fatal error: Uncaught exception 'Exception' in /data/wwwroot/default/webmsg/vendor/workerman/workerman/Worker.php:1416
Stack trace:
#0 /data/wwwroot/default/webmsg/vendor/workerman/workerman/Worker.php(479): Workerman\Worker->listen()
#1 /data/wwwroot/default/webmsg/vendor/workerman/workerman/Worker.php(381): Workerman\Worker::initWorkers()
#2 /data/wwwroot/default/webmsg/start.php(24): Workerman\Worker::runAll()
#3 {main}
thrown in /data/wwwroot/default/webmsg/vendor/workerman/workerman/Worker.php on line 1416
Fatal error: Uncaught exception 'Exception' in /data/wwwroot/default/webmsg/vendor/workerman/workerman/Worker.php:1416
Stack trace:
#0 /data/wwwroot/default/webmsg/vendor/workerman/workerman/Worker.php(479): Workerman\Worker->listen()
#1 /data/wwwroot/default/webmsg/vendor/workerman/workerman/Worker.php(381): Workerman\Worker::initWorkers()
#2 /data/wwwroot/default/webmsg/start.php(24): Workerman\Worker::runAll()
#3 {main}
thrown in /data/wwwroot/default/webmsg/vendor/workerman/workerman/Worker.php on line 1416
#
1个回答
年代过于久远,无法发表回答
看手册常见问题,http://doc3.workerman.net/faq/workerman-start-fail.html
你php有个函数在php.ini中被禁用了
具体哪个函数呀,我开启下,呵呵
错误提示有