linux部署WEB消息推送框架

bjcxyhome
# 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
# 
4340 1 0
1个回答

walkor 打赏

看手册常见问题,http://doc3.workerman.net/faq/workerman-start-fail.html

你php有个函数在php.ini中被禁用了

年代过于久远,无法发表回答
×
🔝