php
php copied to clipboard
how to deploy swoole or workerman to vercel ?
Question
how to deploy swoole or workerman to vercel ? https://github.com/walkor/workerman
my application is based on workerman framework,it called webman. it's start the serve like this blow :
php start.php start -d
then ,it will listen on a port ,like 7878, and how to deploy this kind of application on vercel ?
Hi, unfortunately workerman is not supported. You can use swoole, but in non server mode.
thanks for your answer. I wonder is there a plan for workerman ? if I can make my project into a .phar file ,is there a chance to deploy it ? just like
php webman.phar start
I think serverless is not good way to run workerman.