Method of Laravel4 installation configuration

Source: Internet
Author: User
Tags composer install


Before we introduce my composer installation, here we go on to introduce the installation of the Laravel framework.

We have a Laravel 4 installed here.

Project Download Address: Https://github.com/laravel/laravel

Installation Requirements:

1, PHP minimum version: 5.3.7

2, Support MCrypt expansion

3, support OpenSSL expansion

In addition, the need to support the Proc_open, proc_get_status functions, in the installation process, because it does not support these 2 functions, installation error failed

The code is as follows Copy Code

[Symfony\component\process\exception\runtimeexception]
The Process class relies on Proc_open, which isn't available on your PHP installation.

[Errorexception]
Proc_get_status () has been disabled for security reasons

You can see if the 2 functions are supported through the disable_functions in the PHP configuration file.
To get to the point, Laravel installation method:

1, download the installation package, decompression

2, into the decompression directory, the implementation of orders

Composer Install installation process will download some of the framework core package, slowly wait.

Access through URL address after installation completes:

Here is a reminder: To resolve the domain name to the public directory, you can access the normal

The code is as follows Copy Code

Listen 80;
server_name www.111cn.net;
Index index.html index.htm index.php default.html default.htm default.php;
Root/home/wwwroot/www.laravel.com/public;

At the beginning of the domain resolution to the/home/wwwroot/www.111cn.net directory, through the domain name range after the 404 error

Installed without--prefer-dist, there are more than 100 m

Composer Create-project Laravel/laravel.--prefer-dist

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.