php laravel 安裝

來源:互聯網
上載者:User

標籤:

windows環境嘗試學習一下laravel

 

1、因為SAE的php版本為5.3,因此最高只能支援到Laravel4.1.x。(Laravel4.2用到了php5.4的trait特性)

以4.1為主。本地php版本升級到5.3.10 

2. https://getcomposer.org/download/ 安裝composer ,安裝形式

安裝後重新開啟cmd,可以使用該命令。

3. 安裝laravel 參考

http://blog.csdn.net/thy38/article/details/40213947

http://v4.golaravel.com/docs/4.2/installation

composer create-project laravel/laravel=4.1.* project-version --prefer-dist

注意1先定位到目標目錄,2版本號碼的添加 3 project-version 是子目錄

4.經過一段時間,會提示成功。

無需配置,直接瀏覽器定位到 安裝目錄/public 可以看到成功頁面。

 

學習資料

 中文網

http://www.laravel-cn.com/

http://v4.golaravel.com/docs/4.1

https://phphub.org/

http://laravel-china.org/docs/quick

教程

http://lvwenhan.com/laravel/398.html

http://www.cnblogs.com/huangbx/p/3586704.html

php laravel 安裝

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.