美文网首页
Mac安装PHP7.1

Mac安装PHP7.1

作者: 李颖轩_LiYingxuan | 来源:发表于2017-10-17 13:50 被阅读427次

首先已经安装了brew。

$ brew update
$ brew tap homebrew/dupes
$ brew tap homebrew/php
$ brew update
$ brew install php71 --with-httpd24        // 安装带模块

重新打开命令行:

$ php -v

PHP 7.1.10 (cli) (built: Oct 17 2017 13:23:24) ( ZTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies

The end.

相关文章

  • 2018-09-11

    Mac 安装php7.1扩展 参考链接:https://zhuanlan.zhihu.com/p/30108021...

  • mac搭建lnmp环境--鑫哥

    mac下配置php、nginx PHP升级 解除原php 删除原配置 安装php7.1 安装完了之后它会自带PHP...

  • Mac安装PHP7.1

    首先已经安装了brew。 重新打开命令行: The end.

  • mac下brew安装php及多版本方法

    mac下brew安装php及多版本方法 前言 今天执行一个php脚本,发现竟然php7.1下大量mcrypt不兼容...

  • 安装phpMyAdmin

    该phpMyAdmin的安装环境是centos7、nginx、php7.1(php7.1通过centos-rele...

  • 在mac上安装php7.1

    mac上预装了PHP,但是版本是5.5.x,由于有的时候要用最新的版本,或者项目需要,我们需要不同版本的PHP经行...

  • php7.1 安装amqp扩展

    php7.1 安装amqp扩展 在php开发中使用rabbitmq消息队列时,需要安装PHP扩展amqp,安装步骤...

  • Ubuntu安装php7.1版本 laravel环境

    Ubuntu安装php7.1版本 laravel环境 安装PHP环境 配置PHP 配置Nginx 还有就是,注意 ...

  • lnmp环境搭建

    安装php7.1 安装虚拟机、linux 新建 -典型 -稍后安装操作系统-linux-分为单个文件-完成cd/d...

  • PHP 安装(7.1/5.6)

    PHP7.1 安装包目录: 下载: 解压并安装: 复制配置: 查看版本: 查看扩展: 备注: nginx解析php...

网友评论

      本文标题:Mac安装PHP7.1

      本文链接:https://www.haomeiwen.com/subject/gllduxtx.html