标签: asdf

4 篇文章

asdf安装php7.4
cd $HOME wget https://www.openssl.org/source/openssl-1.1.1i.tar.gz tar xzf $HOME/openssl-1.1.1i.tar.gz cd openssl-1.1.1i ./Configure --prefix=$HOME/openssl-1.1.1i/bin -fPIC -s…
开发环境(asdf+docker)
安装asdf 1.下载 asdf git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.15.0 2.安装 asdf # 在 ~/.bashrc 文件中加入以下内容: . "$HOME/.asdf/asdf.sh" . "$HOME/.asdf/completions/a…
asdf更新
`asdf` 已经改变了更新方式,不再支持 `asdf update` 命令。以下是新的更新方法: 1. 使用 Git 更新(推荐) # 进入 asdf 安装目录 cd ~/.asdf # 使用 Git 更新 git pull origin v0.15.0 2. 使用 asdf 的安装脚本更新 # 下载最新版本并安装 git clone https…
asdf安装php8.1.31+redis+swoole
asdf安装指定版本的php # asdf查看所有版本的php asdf list-all php # 选择安装8.1.31 asdf install php 8.1.31 # 查看已安装的php版本 asdf list php # 指定全局的php版本 asdf global php 8.1.31 安装redis扩展 # 进入 PHP 安装目录 …