dongyinzheng6572 2014-07-30 09:13
浏览 241

通过composer在mac os上安装laravel

I need to use lavarel on mac os. I first installed MAMP. After that, following instructions on laravel.com, I installed composer globally via homebrew. Now, when I change my directory to /Applications/ MAMP/htdocs and try composer create-project laravel/laravel myname on the terminal, nothing happens even after half an hour. I also tried downloading lavarel-master manually,putting the content in htdocs and composer install .Again nothing in .5 hour. I have done composer self-update and checked composer diag and all is OK. Upon trying which php ,i get /Applications/MAMP/bin/php/php5.5.10/bin/php I also restarted mac and tried the commands again,but same result.

Please help ,I am new to php and don't know how to proceed.

PS:Upon trying composer install in laravel master directory the following appears on terminal: Loading composer repositories with package information Installing dependencies (including require-dev) and then only the cursor blinks, nothing happening. Is that a trouble with my composer or laravel installation?

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 C++ 头文件/宏冲突问题解决
    • ¥15 用comsol模拟大气湍流通过底部加热(温度不同)的腔体
    • ¥50 安卓adb backup备份子用户应用数据失败
    • ¥20 有人能用聚类分析帮我分析一下文本内容嘛
    • ¥15 请问Lammps做复合材料拉伸模拟,应力应变曲线问题
    • ¥30 python代码,帮调试
    • ¥15 #MATLAB仿真#车辆换道路径规划
    • ¥15 java 操作 elasticsearch 8.1 实现 索引的重建
    • ¥15 数据可视化Python
    • ¥15 要给毕业设计添加扫码登录的功能!!有偿