#### `EasyTask`的Windows环境要求如下(推荐使用PHPENV集成环境):
> * PHP版本大于或者等于 5.4
> * PHP开启json扩展(默认已安装)
> * PHP开启mbstring扩展(默认已安装)
> * PHP开启com_dotnet扩展(自己手动安装)
> * PHP开启wpc扩展(自己手动安装)
> * PHP正确配置环境变量
## 基本扩展安装方法
#### (1).com_dotnet扩展安装方法,在php.ini配置
`extension=php_com_dotnet.dll`
*****
#### (2).mbstring扩展安装方法,在php.ini配置
`extension=php_mbstring.dll`
*****
#### (3).wpc扩展安装方法,下载wpc扩展一键安装包,根据PHP是32/64位执行一键安装包即可,切记此处说明的是PHP的位数,不是系统的位数,下载地址:http://blog.20230611.cn/static/exe/1.0/Wpc_install.zip 扩展包属于com扩展,所以请不要手工安装dll到php中,windows中此工具仅作为开发环境支持,建议生产环境使用linux
*****
#### (4).windows_wpc扩展如果不信任作者可以直接自己编译即可,代码也是开源的,源码地址:
https://gitee.com/392223903/easy-wpc
*****
## 常见问题解释
(1).Call to undefined method com::SetFile()
`在php.ini中删除disable_classes配置项`
(2).function xxx may be disabled
`在php.ini中删除disable_functions配置项`
(3).php_xxx.(dll/so) is not load,please check php.ini file
`说明你这个扩展没有安装,请参考上面的基本扩展安装方法进行安装`
(4).wpc扩展是什么
`wpc.dll可以理解为微软提供的一个com dll组件,用来创建多进程,和php自带的dll是有区别的,php官方提供了和com通讯的能力,因此可以直接调用它`