Lavarel (-) Windows Deployment

Source: Internet
Author: User

Using Lavarel development can completely throw away the wamp,phpstudy environment. Because the Lavarel built-in artisan incorporates php5.4 built-in webserver, you can even use the artisan command to specify the host address and port number.

1 php artisan serve--host=127.0.0.12# # There are multiple NICs when this is a good choice 3 PHP artisan serve--port= 120004 # # any specified port number

Although not as powerful as Nginx and Apache configuration, local testing is sufficient. Proof OK.

Because PHP webserver after 5.4, so the version must be higher than 5.4,

Visit this address to download the corresponding system PHP version, NTS version, 64 bit to see Clearly,

http://

Unzip to the location you specified, modify php.ini-development to PHP.ini, open Add extension_dir= "ext", remove the comments before the extension file below.

1 Remove the semicolon in front of the Extension=php_mbstring.dll (888 row or so)2 Remove the semicolon in front of the Extension=php_openssl.dll (893

Add the current PHP directory to the environment variable.

Open cmd

1 \\laravel-master>php-v2 php 5.6.16 (CLI) (Built:nov 18:51:25)3
     Copyright (c) 1997-2015 the PHP Group4 Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologi Es

Download Laravel One-click installation version, want to know clearly point can be installed with composer, is the most tidal installation method

1 http://down.golaravel.com/laravel/laravel-v5.1.11.zip

Unzip to your directory and open the command line to switch to the Laravel directory. If you installed Gow, right-click the directory

Execute PHP Artisan serve

done!!

Lavarel (-) Windows Deployment

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.