# 扩展如何安装?
~~~
1、安装php7.3,点击扩展,安装swoole
~~~
![](https://img.kancloud.cn/fc/2d/fc2d8cb1070d6e3069269854cb5a8df4_1885x761.png)
~~~
2、把 extension = swoole_loader73.so 添加到配置文件里面
~~~
![](https://img.kancloud.cn/84/c1/84c1e93a9a1e141a3a4a3213fceb6aeb_1753x723.png)
~~~
3、上传swoole文件
找到目录:/www/server/php/73/lib/php/extensions/no-debug-non-zts-20180731
上传本地包的文件:文件在 /public/swoole
~~~
![](https://img.kancloud.cn/83/aa/83aaafd303bbaad6ff14f19794f9c4df_1888x680.png)
~~~
4.、做完以上步骤后如果还是swoole未安装,再次重启php7.3提示重启成功,就算安装成功了
~~~
![](https://img.kancloud.cn/ba/84/ba84234294cfa957105f94a9dc82dc84_1274x574.png)