vercel-community / php

🐘 PHP Runtime for ▲ Vercel Serverless Functions (support 7.4-8.3)

Home Page:https://php.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to deploy swoole or workerman to vercel ?

askme-gpt opened this issue · comments

commented

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.

commented

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.