Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
# 啟動 Docker Image,並把當前目錄掛載到 Docker Image 裡
docker run -it -v $PWD:/src phpbrew/phpbrew:php7.3-minimum-zts
# 以下指令請在 Docker Image 裡執行
# 使用 PHPBrew 切換到 PHP 7.3
phpbrew use 7.3
# 檢查開發環境是否正確
php -v
# 進入原始碼目錄
cd /src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment