"芥末菌" 发布的文章
页面加载耗时0.004秒。

docker在使用apt-get的时候非常缓慢,尝试网上很多方法换源都导致失败。
<!more-->
最后尝试成功:

cp /etc/apt/sources.list /etc/apt/sources.list.bak #备份原来的文件
echo "" > /etc/apt/sources.list #更换163源
echo "deb http://mirrors.163.com/debian buster main" >> /etc/apt/sources.list
echo "deb http://mirrors.163.com/debian-security buster/updates main" >> /etc/apt/sources.list
echo "deb http://mirrors.163.com/debian buster-updates main" >> /etc/apt/sources.list

1.先下载 swoole-ide-helperhttps://github.com/eaglewu/swoole-ide-helper
(国内码云镜像:https://gitee.com/hsmus/swoole-ide-helper.git 2020-02-18镜像)
2.打开phpstorm
打开File->Settings 在Language & Frameworks下PHP里面,添加include path即可