求教运行websocket教程里的php start.php start -d时报一堆错

syjackson
Workerman start in DAEMON mode
PHP Warning:  posix_getpid() has been disabled for security reasons in /td/web-msg-sender/vendor/workerman/workerman/Worker.php on line 1374

Warning: posix_getpid() has been disabled for security reasons in /td/web-msg-sender/vendor/workerman/workerman/Worker.php on line 1374
# PHP Warning:  posix_setsid() has been disabled for security reasons in /td/web-msg-sender/vendor/workerman/workerman/Worker.php on line 797

Warning: posix_setsid() has been disabled for security reasons in /td/web-msg-sender/vendor/workerman/workerman/Worker.php on line 797
PHP Warning:  posix_getuid() has been disabled for security reasons in /td/web-msg-sender/vendor/workerman/workerman/Worker.php on line 581

Warning: posix_getuid() has been disabled for security reasons in /td/web-msg-sender/vendor/workerman/workerman/Worker.php on line 581
PHP Warning:  posix_getpwuid() has been disabled for security reasons in /td/web-msg-sender/vendor/workerman/workerman/Worker.php on line 581

Warning: posix_getpwuid() has been disabled for security reasons in /td/web-msg-sender/vendor/workerman/workerman/Worker.php on line 581
PHP Warning:  stream_socket_server() has been disabled for security reasons in /td/web-msg-sender/vendor/workerman/workerman/Worker.php on line 1469

Warning: stream_socket_server() has been disabled for security reasons in /td/web-msg-sender/vendor/workerman/workerman/Worker.php on line 1469
PHP Fatal error:  Uncaught exception 'Exception' in /td/web-msg-sender/vendor/workerman/workerman/Worker.php:1471
Stack trace:
#0 /td/web-msg-sender/vendor/workerman/workerman/Worker.php(534): Workerman\Worker->listen()
#1 /td/web-msg-sender/vendor/workerman/workerman/Worker.php(427): Workerman\Worker::initWorkers()
#2 /td/web-msg-sender/start.php(24): Workerman\Worker::runAll()
#3 {main}
  thrown in /td/web-msg-sender/vendor/workerman/workerman/Worker.php on line 1471

Fatal error: Uncaught exception 'Exception' in /td/web-msg-sender/vendor/workerman/workerman/Worker.php:1471
Stack trace:
#0 /td/web-msg-sender/vendor/workerman/workerman/Worker.php(534): Workerman\Worker->listen()
#1 /td/web-msg-sender/vendor/workerman/workerman/Worker.php(427): Workerman\Worker::initWorkers()
#2 /td/web-msg-sender/start.php(24): Workerman\Worker::runAll()
#3 {main}
  thrown in /td/web-msg-sender/vendor/workerman/workerman/Worker.php on line 1471
7655 1 0
1个回答

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