Symfony2 Method of installation (2 methods), Symfony22 _php Tutorial

Source: Internet
Author: User

Symfony2 Method of installation (2 methods), Symfony22


This article describes in detail the method of Symfony2 installation. Share to everyone for your reference, as follows:

First, composer installation Symfony

Composer installation Symfony method in the previous article "Symfony 10 minutes to get started" is introduced

Second, Symfony installer installation Symfony

Here to highlight the second method of Symfony installer installation Symfony

1. Install Symfony Installer

Console execution Commands

[Sun@localhost html]$ curl-lss http://symfony.com/installer > Symfony.phar[root@localhost html]# mv Symfony.phar/ Usr/local/bin/symfony[root@localhost html]# chmod a+x/usr/local/bin/symfony

Now you can use Symfony as the system global command to execute the symfony Setup program.

2. Create a project

Create a project named blog under the Web root directory
Copy the Code code as follows: [Sun@localhost html]$ symfony New Blog
This command creates a new project called blog, based on the latest stable version of Symfony. Additionally, the installer checks to see if your system meets technical requirements to execute the symfony application. If not, you will see a list of changes that need to meet these needs.

The Symfony application, called a blog, is installed. As for how to configure, in the "Symfony 10 minutes of introduction" in detail.

Permanent address of this article:http://blog.it985.com/7482.html
This article is from IT985 blog, please indicate the source and corresponding link when reproduced.

Read more about PHP framework related content Readers can view this site: "PHP Excellent Development Framework Summary", "CodeIgniter Introductory Tutorial", "CI (codeigniter) Framework Advanced Tutorial", "Yii framework Introduction and common skills Summary" and " thinkphp Getting Started Tutorial "

It is hoped that this article is helpful to the PHP program design based on Symfony framework.

Articles you may be interested in:

    • Symfony2 implementing the method of data built into the doctrine
    • Symfony2 installing a third-party bundles instance
    • Symfony2 use third-party library upload to make picture upload instance detailed
    • The configuration method of Symfony2 under Nginx and graphic tutorial
    • Symfony2 Session Usage Example analysis
    • High performance PHP Framework Symfony2 Classic Introductory Tutorial
    • Symfony Learning 10-minute Introductory classic tutorial
    • An example analysis of Symfony data verification method
    • Symfony form and page implementation tips
    • An example analysis of controller usage of SYMFONY2 development

http://www.bkjia.com/PHPjc/1098965.html www.bkjia.com true http://www.bkjia.com/PHPjc/1098965.html techarticle Symfony2 Installation Method (2 methods), Symfony22 this article details the method of Symfony2 installation. Share to everyone for your reference, specific as follows: First, composer installation symfony Compo ...

  • 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.