首页 > 系统相关 >windows环境开发hyperf

windows环境开发hyperf

时间:2022-10-15 00:56:32浏览次数:71  
标签:cli swoole windows hyperf 开发 https com

1、下载swoole-cli

https://github.com/swoole/swoole-src/releases/tag/v5.0.0

https://wenda-1252906962.file.myqcloud.com/dist/swoole-cli-v4.8.12-cygwin-x64.zip

2、配置环境变量

将下载得压缩包解压,配置环境变量到bin目录下

2、安装hyperf

composer create-project hyperf/hyperf-skeleton 

3、启动hyperf

swoole-cli -d swoole.use_shortname='Off'  .\hyperf.php start

注意:一定要使用-d参数关闭短名字

标签:cli,swoole,windows,hyperf,开发,https,com
From: https://www.cnblogs.com/fyiyy/p/16793419.html

相关文章