<legend id='QuLui'><style id='QuLui'><dir id='QuLui'><q id='QuLui'></q></dir></style></legend>

    <small id='QuLui'></small><noframes id='QuLui'>

      • <bdo id='QuLui'></bdo><ul id='QuLui'></ul>
        <tfoot id='QuLui'></tfoot>
      1. <i id='QuLui'><tr id='QuLui'><dt id='QuLui'><q id='QuLui'><span id='QuLui'><b id='QuLui'><form id='QuLui'><ins id='QuLui'></ins><ul id='QuLui'></ul><sub id='QuLui'></sub></form><legend id='QuLui'></legend><bdo id='QuLui'><pre id='QuLui'><center id='QuLui'></center></pre></bdo></b><th id='QuLui'></th></span></q></dt></tr></i><div id='QuLui'><tfoot id='QuLui'></tfoot><dl id='QuLui'><fieldset id='QuLui'></fieldset></dl></div>

        在 MAC 上使用 Homebrew 安装 PHP

        时间:2023-10-11
        • <small id='qMxsM'></small><noframes id='qMxsM'>

            <bdo id='qMxsM'></bdo><ul id='qMxsM'></ul>
            <tfoot id='qMxsM'></tfoot>
          • <legend id='qMxsM'><style id='qMxsM'><dir id='qMxsM'><q id='qMxsM'></q></dir></style></legend>

                <i id='qMxsM'><tr id='qMxsM'><dt id='qMxsM'><q id='qMxsM'><span id='qMxsM'><b id='qMxsM'><form id='qMxsM'><ins id='qMxsM'></ins><ul id='qMxsM'></ul><sub id='qMxsM'></sub></form><legend id='qMxsM'></legend><bdo id='qMxsM'><pre id='qMxsM'><center id='qMxsM'></center></pre></bdo></b><th id='qMxsM'></th></span></q></dt></tr></i><div id='qMxsM'><tfoot id='qMxsM'></tfoot><dl id='qMxsM'><fieldset id='qMxsM'></fieldset></dl></div>

                  <tbody id='qMxsM'></tbody>
                  本文介绍了在 MAC 上使用 Homebrew 安装 PHP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在尝试使用 Homebrew 在我的 MAC 机器上安装 PHP.我正在使用以下命令:brew install php

                  I am trying to install PHP on my MAC machine using Homebrew. I am using the following command: brew install php

                  但是,我收到以下错误:

                  However, I am getting the following errors:

                  Error: No available formula with the name "php" 
                  ==> Searching for similarly named formulae...
                  Error: No similarly named formulae found.
                  ==> Searching taps...
                  Error: No formulae found in taps.
                  

                  推荐答案

                  更新

                  2018 年 2 月,php72 公式(当时 PHP 的当前版本)已移入核心 Homebrew Tap 并重命名为 php.

                  Update

                  In February 2018, the php72 formula (the current version of PHP at that time) has been moved into the core Homebrew tap and renamed as php.

                  homebrew/php 点击已被弃用 2018 年 1 月,2018 年 3 月 31 日存档.其中包含的公式已不再可用.

                  The homebrew/php tap has been deprecated in January 2018 and then archived on March 31, 2018. The formulas it contained are not available any more.

                  自 2018 年 2 月以来,使用 Homebrew 安装 PHP 就像:

                  Since February 2018, installing PHP using Homebrew is as easy as:

                  $ brew install php
                  

                  旧的 PHP 版本 仍在维护 可以使用新的 @ 安装 版本约定(PHP 7.1 是 php@7.1).

                  The older PHP versions that are still maintained can be installed using the new @ convention for versions (PHP 7.1 is php@7.1).

                  PHP 生态系统存在于 homebrew/php 水龙头中.您可以找到六个版本的解释器(从 5.37.1)、它们的扩展以及一些与 PHP 相关的工具.

                  The PHP ecosystem lives in the homebrew/php tap. You can find there six versions of the interpreter (from 5.3 to 7.1), extensions for them and some PHP-related tools.

                  为了安装 PHP,你必须先安装 homebrew/php 点击(这只需要一次):

                  In order to install PHP you have to install the homebrew/php tap first (this is needed only once):

                  $ brew tap homebrew/php
                  $ brew install php70
                  

                  或者您可以通过运行以下命令在一个步骤中完成这两个操作:

                  Or you can do both operations in a single step by running:

                  $ brew install homebrew/php/php70
                  

                  <小时>

                  您可以通过先搜索 php 来发现所有这些:

                  $ brew search php
                  

                  这篇关于在 MAC 上使用 Homebrew 安装 PHP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:phpMyAdmin 配置 下一篇:Phpmyadmin 导出 VIEW 没有 DATABASE_NAME 或 ALGORITHM

                  相关文章

                • <legend id='BLwM1'><style id='BLwM1'><dir id='BLwM1'><q id='BLwM1'></q></dir></style></legend>
                  <i id='BLwM1'><tr id='BLwM1'><dt id='BLwM1'><q id='BLwM1'><span id='BLwM1'><b id='BLwM1'><form id='BLwM1'><ins id='BLwM1'></ins><ul id='BLwM1'></ul><sub id='BLwM1'></sub></form><legend id='BLwM1'></legend><bdo id='BLwM1'><pre id='BLwM1'><center id='BLwM1'></center></pre></bdo></b><th id='BLwM1'></th></span></q></dt></tr></i><div id='BLwM1'><tfoot id='BLwM1'></tfoot><dl id='BLwM1'><fieldset id='BLwM1'></fieldset></dl></div>
                • <small id='BLwM1'></small><noframes id='BLwM1'>

                    <bdo id='BLwM1'></bdo><ul id='BLwM1'></ul>
                • <tfoot id='BLwM1'></tfoot>