Notes for building the symfony2 Environment

Source: Internet
Author: User
  • Local Environment: Windows + XAMPP
  • Download symfony: Official Website

Environment Configuration:

1. decompress the symfony folder to XAMPP/htdocs after the download (it is best to change the folder name to lower case if possible)

2. symfony2 comes with a Server Runtime Environment detection script to ensure that your server and PHP parameters are correct. You can access this page through the following address:

Http: // localhost/symfony/web/config. php

3. You can skip the related questions and click "bypass configuration and go to the welcome page" to access the welcome page of symfony:

Http: // localhost/symfony/web/app_dev.php/

 

Create Bundle:

1. Open the XAMPP shell, which is in the XAMPP folder by default, and enter the symfony folder. For example, the command to enter is:

CD htdocs/symfony

2. Create a bundle command:

Php app/console generate: bundle -- namespace = Acme/hellobundle -- format = yml

This command will create a hellobundle In the Acme namespace, And the next operation will follow the prompts. Generally, the default value is used.

Notes for building the symfony2 Environment

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.