In the afternoon in the installation of the Laravel framework process, encountered a lot of problems, because Laravel installation relies on composer, here is the first introduction composer installation method:
Installation method:
The code is as follows |
Copy Code |
#下载 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 so you can use composer. [Root@localhost www.111cn.net]# composer Zend Guard Loader requires Zend 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. ______ / ____/___ ____ ___ ____ ____ ________ _____ / / / __ / __ `__ / __ / __ / ___/ _ / ___/ / /___/ /_/ / / / / / / /_/ / /_/ (__ ) __/ / ____/____/_/ /_/ /_/ .___/____/____/___/_/ /_/ Composer version aa9c257f0efd1a54c93ba95282821a497bc15d75 2014-03-09 15:09:15 Usage: [Options] command [arguments] Options: --help-h Display this help message. |