在MacOS上安装PHP

打开终端工具 – Terminal

使用brew搜索PHP安装包

brew search php

安装PHP

brew install php

检查PHP是否安装成功

php -v

如果显示PHP版本信息,说明PHP安装成功。

这篇文章有 3 个评论

  1. BrianBut

    What’s happening, good web site you have presently.

  2. cbd oil

    This is a good tip particularly to those fresh
    to the blogosphere. Brief but very accurate information… Many
    thanks for sharing this one. A must read post!

发表评论