php icon indicating copy to clipboard operation
php copied to clipboard

how to deploy swoole or workerman to vercel ?

Open askme-gpt opened this issue 1 year ago • 3 comments

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 ?

askme-gpt avatar Apr 04 '23 05:04 askme-gpt

Hi, unfortunately workerman is not supported. You can use swoole, but in non server mode.

f3l1x avatar Apr 04 '23 11:04 f3l1x

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

askme-gpt avatar Apr 08 '23 00:04 askme-gpt

I think serverless is not good way to run workerman.

f3l1x avatar Apr 08 '23 11:04 f3l1x