Installation of Composer and Laravel 4 under Windows

Source: Internet
Author: User

1, installation composer

Composer is one of the dependencies of PHP, the official website http://getcomposer.org/. It supports a variety of installation style, for the grass in win under the most convenient format is the Windows installation package, it will directly help define the system variables, so that under any of the contents can be directly applied composer command. Install package Address click the Open link. Foundine Foundation is the brain next, the time attaches importance to the designation of the correct Php.exe file status (such as).

2, open Php_openssl expansion

This pace needs to pay attention to, the application integration of the scene of the classmate may be in the integration of the scene of the Php_openssl extension still often carry out the next step, if I show a hint in the next steps, then please manually open the PHP catalog php.ini file, personally confirm Extension=php_ Whether the Openssl.dll has been turned on.

3, the installation of Laravel 4

Build the Cmd.txt file under the site catalog, enter the following content (emphasis: there is a newline).

@ECHO OFF
cmd /k

Save the file and change the suffix to. bat. Double-click Run cmd.bat input composer Create-project laravel/laravel your-project-name (Red Font project group, please replace with its own project name) enter, waiting for the composer to be actively completed Installation of Laravel.

OK, the installation stops. It is now possible to receive this Laravel's initial project through the process browser http://localhost/testProject/public/the import file is within the public folder under the project catalog.

Reprint: http://www.cnblogs.com/kuyuecs/p/3819767.html

Installation of Composer and Laravel 4 under Windows

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.