diff --git a/macos-test.sh b/archived/macos-test.sh similarity index 100% rename from macos-test.sh rename to archived/macos-test.sh diff --git a/php-80.sh b/archived/php-80.sh similarity index 100% rename from php-80.sh rename to archived/php-80.sh diff --git a/php-81.sh b/archived/php-81.sh similarity index 100% rename from php-81.sh rename to archived/php-81.sh diff --git a/setenv_php80.sh b/archived/setenv_php80.sh similarity index 100% rename from setenv_php80.sh rename to archived/setenv_php80.sh diff --git a/swoole_tracker80.so b/archived/swoole_tracker80.so similarity index 100% rename from swoole_tracker80.so rename to archived/swoole_tracker80.so diff --git a/readme.md b/readme.md index 4f43974..6c4e64d 100644 --- a/readme.md +++ b/readme.md @@ -1,4 +1,7 @@ # 构建适用于 Swoole Hyperf 的 PHP 开发环境 + +[//]: # (使用世界上最好的语言改变世界) + **本脚本仅适用于开发,上线部署请使用项目仓库中的容器脚本。** [//]: # (**NOTICE 每次执行脚本均会删除所有 tmp 目录的东西 由于偷懒为将编译好的php指定到固定目录或添加是否删除确认 所以请自觉注意下(**) @@ -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) @@ -27,6 +33,7 @@ [//]: # (* Composer 位置 ./tmp/phpxx/composer.phar) [//]: # () + [//]: # (## Set PHP 8.0 Env) [//]: # (* ``sudo bash setenv_php80.sh`` ) @@ -34,6 +41,7 @@ [//]: # (* 只软连接了 php 与 composer 俩个必要命令) [//]: # () + [//]: # (## PHP 8.1 with Swoole) [//]: # (* ``sudo bash php-81.sh`` 一路回车即可) @@ -45,6 +53,7 @@ [//]: # (* libsodium 未能支持 上游 jwt库 也不听网友建议 删除这个没用库的依赖( 就离谱) [//]: # () + [//]: # (## Set PHP 8.1 Env) [//]: # (* ``sudo bash setenv_php81.sh``)