From 4571fef039766e9dcacf09f37ab011eb387b3f23 Mon Sep 17 00:00:00 2001 From: Ying Date: Tue, 23 Aug 2022 12:23:46 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0Windows=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E4=B8=8B=E5=90=AF=E5=8A=A8=E9=A1=B9=E7=9B=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8abf45c..5125c16 100644 --- a/README.md +++ b/README.md @@ -61,10 +61,17 @@ * 安装PHP,版本 >= 7.3 <= 8.1 * 安装PHP扩展fileinfo opcache redis imagemagick exif * 开发环境下关闭禁用PHP函数exec、putenv、proc_open、proc_get_status、pcntl_signal[如果存在] + * Linux环境下,请关闭禁用pcntl_类函数!生产环境可以逐个去除 ``` 2、Windows环境下启动开发服务 ``` -找到根目录下的Windows.bat文件,双击执行该文件即可启动服务。 +1、执行php windows.php start 进行基础开发,例如APP/CONFIG/ROUTE等 +2、执行Windows.bat 进行完整开发,例如APP/PLUGIN/extend + +因为我们在项目中使用了fileboy热更新工具,那么在加载插件的时候会导致问题,因为要加载的文件过多; + +所以我们建议,首先把项目clone到本地后,先执行 php windows.php start,安装完毕插件助手后,再进行完整开发,这样就不会出现问题了; + ``` 3、Linux环境下启动开发服务 ```