Laravel安装 [英] Laravel installation

查看:58
本文介绍了Laravel安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

没有任何现有的问题足以回答我的问题.我正在尝试安装Laravel进行尝试并成功安装了Composer,但是有关安装Laravel本身的所有建议似乎都涉及到Git和一个终端",我对此一无所知.我可以不像其他应用程序那样简单地下载安装文件并运行它吗?

No existing questions are sufficiently basic to answer my problem. I am trying to install Laravel to try it out and have successfully installed Composer but all advice about installing Laravel itself seems to involve something called Git and a 'terminal' which I know nothing about. Can I not simply download a setup file and run it as for other apps?

迈克

推荐答案

在Windows中安装Laravel Framework:

Install Laravel Framework in Windows:

创建者:Chirag Shah

Created By : Chirag Shah

要求PHP版本高于5.3.7

PHP version greater than 5.3.7 is required

步骤1 :从以下网站下载Laravel: https://github.com/laravel/laravel/archive/master.zip

Step 1: Download Laravel from: https://github.com/laravel/laravel/archive/master.zip

第2步:将Laravel提取到WAMP的www文件夹中( http://www.wampserver .com )

Step 2: Extract Laravel into the www folder for WAMP (http://www.wampserver.com)

步骤3 :从以下位置下载Composer: https://getcomposer.org/Composer-Setup.exe

Step 3: Download Composer from: https://getcomposer.org/Composer-Setup.exe

第4步:将Composer安装到php.exe所在的目录中

Step 4: Install Composer into the same directory php.exe is located

第5步:点击WAMP图标-> PHP-> PHP扩展并启用:php_openssl,php_curl,php_socket

Step 5: Click on WAMP icon->PHP->PHP Extensions and enable: php_openssl, php_curl, php_socket

步骤6 :单击wamp图标-> Apache-> Apache模块并启用ssl_module

Step 6: Click on wamp icon->Apache->Apache Modules and enable ssl_module

第7步:从所有php.ini文件中启用openssl

Step 7: Enable openssl from all php.ini files

步骤8 :打开cmd

第9步:转到提取Laravel的目录,例如:cd C:\ wamp \ www \ laravel

Step 9: Change into the directory where you extracted Laravel e.g: cd C:\wamp\www\laravel

步骤10 :键入命令:composer install

Step 10: Type the command: composer install

步骤11 :将所有\ public \文件夹文件复制并粘贴到WAMP的www文件夹中

step 11: Copy and paste all \public\ folder files into WAMP's www folder

第12步:打开bootstrap \ paths.php并将"public" => DIR .'/../public'行编辑为"public" = > DIR .'/../www',

Step 12: Open bootstrap\paths.php and edit the line 'public' => DIR.'/../public', to 'public' => DIR.'/../www',

安装完成.

享受....

这篇关于Laravel安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆