标签:mes com mac his org 工具 root loader zend
下午在安装 Laravel 框架过程中,遇到了不少问题,因为 Laravel 的安装依赖于 composer,这里就先介绍一下 composer 的安装方法:
安装方法:
#下载
sudo curl -sS https://getcomposer.org/installer | sudo php -d detect_unicode=Off
#更改文件权限
sudo chmod a+x composer.phar
#移动文件
sudo chmod a+x composer.phar
#更新
sudo composer self-update
这样就可以使用 composer 了。
[root@localhost www.laravel.com]# composer
Zend Guard Loader requires Zend Engine API version 220090626.
The Zend Engine API version 220121212 which is installed, is newer.
Contact Zend Technologies at http://www.zend.com/ for a later version of Zend Guard Loader.
______
/ ____/___ ____ ___ ____ ____ ________ _____
/ / / __ \/ __ `__ \/ __ \/ __ \/ ___/ _ \/ ___/
/ /___/ /_/ / / / / / / /_/ / /_/ (__ ) __/ /
\____/\____/_/ /_/ /_/ .___/\____/____/\___/_/
/_/
Composer version aa9c257f0efd1a54c93ba95282821a497bc15d75 2014-03-09 15:09:15
Usage:
[options] command [arguments]
Options:
--help -h Display this help message.
上面讲的都是在Linux环境下composer安装方法。
下面顺便介绍一下MAC环境下安装composer的方法:
brew install josegonzalez/php/composer
当然啦,前提是你已经安装了brew工具.
参考:https://getcomposer.org/doc/00-intro.md(编辑:雷林鹏 来源:网络 侵删)
标签:mes com mac his org 工具 root loader zend
原文地址:https://www.cnblogs.com/linpeng1/p/10768090.html