Files
huangjingfen/pro_v3.5.1/help/start-api.sh
apple ae8b866319 feat(fsgx): 管理后台与部署相关更新
- admin: 路由守卫修复空白页、addRoute、devServer 端口与代理
- admin: package.json 生产构建去掉 NODE_OPTIONS openssl
- ajcaptcha: 滑块验证码改用 file 缓存避免 Redis NOAUTH
- nginx-crmeb: 增加 81 端口站点
- docs: deploy 补充 NOAUTH/Redis 说明,新增 H5 部署脚本与 nginx 示例
- 其他: database、start-api、swoole ini、uniapp 资源等

Made-with: Cursor
2026-03-21 02:33:14 +08:00

10 lines
369 B
Bash
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/usr/bin/env bash
# 按 help/PHP-Setup.md 要求,以 memory_limit=300M 启动 Swoole API 服务
# 用法:在项目根目录执行 ./help/start-api.sh或先 cd pro_v3.5.1 再执行
set -e
cd "$(dirname "$0")/.."
# 使用 PHP 8.0Swoole Loader 仅支持 8.0
PHP_BIN="${PHP_BIN:-/usr/local/opt/php@8.0/bin/php}"
"$PHP_BIN" -d memory_limit=300M think swoole