按手册上进行下载操作、想在linux下运行GatewayWorker
https://www.workerman.net/doc/gateway-worker/ => 手册
https://www.workerman.net/download/GatewayWorker.zip => 运行包
php /home/wwwroot/GatewayWorker/start.php start -d
[root@ktt workerman]# php /home/wwwroot/GatewayWorker/start.php start -d
PHP Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.0.0". You are running 5.6.40. in /home/wwwroot/GatewayWorker/vendor/composer/platform_check.php on line 25
Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.0.0". You are running 5.6.40. in /home/wwwroot/GatewayWorker/vendor/composer/platform_check.php on line 25
[root@ktt workerman]#
Centos7.9 + Php5.6.40
由于历史原因,只能用php5.6
不是都写明白了吗,要么你就🤌历史版本看下,5.6都是十几年前的版本了,淘汰的不能再淘汰
哪里有历史版本的下载?
https://packagist.org/packages/workerman/gateway-worker#v3.0.27
在Github里挖呀挖,终于找到start.php这个文件了 (致谢6年前的版本 https://github.com/cinob/gatewayworker-chat )
哈哈,人才plus