Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
lixworth committed Nov 17, 2023
1 parent 835d261 commit 2303f09
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 1 deletion.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
11 changes: 10 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# 构建适用于 Swoole Hyperf 的 PHP 开发环境

[//]: # (使用世界上最好的语言改变世界)

**本脚本仅适用于开发,上线部署请使用项目仓库中的容器脚本。**

[//]: # (**NOTICE 每次执行脚本均会删除所有 tmp 目录的东西 由于偷懒为将编译好的php指定到固定目录或添加是否删除确认 所以请自觉注意下(**)
Expand All @@ -8,12 +11,15 @@
适用环境: ubuntu 20.04+ / macos apple silicon

**默认安装**
* swoole

* swoole
* redis
* composer

[//]: # (* libsodium ( 这是上游 jwt库 强制要求的 事实上早在很久之前这个包已纳入php内核 ))

[//]: # (* yasd swoole官方的调试工具 ( 类型xdebug 对于hyperf是否有用请看自身 ))

[//]: # (* Swoole Tracker 官方的内存泄漏检测 ( 仅php80 ))

[//]: # (## PHP 8.0 with Swoole)
Expand All @@ -27,13 +33,15 @@
[//]: # (* Composer 位置 ./tmp/phpxx/composer.phar)

[//]: # ()

[//]: # (## Set PHP 8.0 Env)

[//]: # (* ``sudo bash setenv_php80.sh`` )

[//]: # (* 只软连接了 php 与 composer 俩个必要命令)

[//]: # ()

[//]: # (## PHP 8.1 with Swoole)

[//]: # (* ``sudo bash php-81.sh`` 一路回车即可)
Expand All @@ -45,6 +53,7 @@
[//]: # (* libsodium 未能支持 上游 jwt库 也不听网友建议 删除这个没用库的依赖( 就离谱)

[//]: # ()

[//]: # (## Set PHP 8.1 Env)

[//]: # (* ``sudo bash setenv_php81.sh``)
Expand Down

0 comments on commit 2303f09

Please sign in to comment.