Install symfony and symfony

Source: Internet
Author: User

Install symfony and symfony

 

Symfony is a MVC-based PHP framework. The latest version is 2.7.

Working Principle

 

Two Synfony installation methods

1. Use composer for Installation

1) download composer http://getcomposer.org/composer-setup.exeto install

2) Call the system command line

> Php composer. phar create-project symfony/framework-standard-edition/path/to/webroot/Symfony '~ 2.6

 

(Use composer help create-project to get more help)

2 download from the official website

1) install the symfony Installer

Installation on Linux and Mac OS X
$ Sudo curl-LsS http://symfony.com/installer-o/usr/local/bin/symfony $ sudo chmod a + x/usr/local/bin/symfony
Installation on Windows
C: \> php-r "readfile ('HTTP: // symfony.com/installer');"> symfony

Place the downloaded file in the folder to be installed

Run

Php symfony

Install

$ Symfony new my_project

 

 

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.