Symfony Framework Documentation
  • The Documentation Changelog
    • January, 2015
    • December, 2014
    • November, 2014
    • October, 2014
    • September, 2014
    • August, 2014
    • July, 2014
    • June, 2014
    • May, 2014
    • April, 2014
    • March, 2014
    • February, 2014
    • January, 2014
  • The Quick Tour
    • The Big Picture
    • The View
    • The Controller
    • The Architecture
  • The Book
    • Symfony and HTTP Fundamentals
    • 使用 Symfony 与不使用框架的对比
    • Installing and Configuring Symfony
    • Creating Pages in Symfony
    • 控制器(Controller)
    • Routing
    • Creating and Using Templates
    • Databases and Doctrine
    • Databases and Propel
    • Testing
    • Validation
    • Forms
    • Security
    • HTTP Cache
    • Translations
    • Service Container
    • Performance
    • Internals
  • The Cookbook
    • Assetic
    • Bundles
    • Cache
    • Installing Composer
    • Configuration
    • Console
    • Controller
    • How to Optimize your Development Environment for Debugging
    • Deployment
    • Doctrine
    • Email
    • Event Dispatcher
    • Form
    • Logging
    • Profiler
    • Request
    • Routing
    • Security
    • How to Use the Serializer
    • Service Container
    • Sessions
    • How Symfony2 Differs from Symfony1
    • Templating
    • Testing
    • How to Upgrade Your Symfony Project
    • Validation
    • Web Server
    • Web Services
    • Workflow
  • Official Symfony Best Practices
    • The Symfony Framework Best Practices
    • Creating the Project
    • Configuration
    • Organizing Your Business Logic
    • Controllers
    • Templates
    • Forms
    • Internationalization
    • Security
    • Web Assets
    • Tests
  • The Components
    • How to Install and Use the Symfony Components
    • ClassLoader
    • Config
    • Console
    • The CssSelector Component
    • The Debug Component
    • DependencyInjection
    • The DomCrawler Component
    • EventDispatcher
    • The Filesystem Component
    • The Finder Component
    • Form
    • HttpFoundation
    • HttpKernel
    • The Intl Component
    • The OptionsResolver Component
    • The Process Component
    • PropertyAccess
    • Routing
    • Security
    • The Serializer Component
    • The Stopwatch Component
    • Templating
    • Translation
    • Yaml
  • Reference Documents
    • FrameworkBundle Configuration (“framework”)
    • DoctrineBundle Configuration (“doctrine”)
    • SecurityBundle Configuration (“security”)
    • AsseticBundle Configuration (“assetic”)
    • SwiftmailerBundle Configuration (“swiftmailer”)
    • TwigBundle Configuration (“twig”)
    • MonologBundle Configuration (“monolog”)
    • WebProfilerBundle Configuration (“web_profiler”)
    • Configuring in the Kernel (e.g. AppKernel)
    • Form Types Reference
    • Validation Constraints Reference
    • Twig Template Form Function and Variable Reference
    • Symfony Twig Extensions
    • The Dependency Injection Tags
    • Requirements for Running Symfony
  • Contributing
    • Contributing Code
    • Contributing Documentation
    • Community
 
Symfony Framework Documentation
  • Docs »
  • The Cookbook »
  • Configuration
  • Edit on GitHub

Configuration¶

  • How to Master and Create new Environments
    • Different Environments, different Configuration Files
    • Executing an Application in different Environments
    • Creating a new Environment
    • Environments and the Cache Directory
    • Going further
  • How to Override Symfony’s default Directory Structure
    • Override the cache Directory
    • Override the logs Directory
    • Override the web Directory
    • Override the vendor Directory
  • Using Parameters within a Dependency Injection Class
  • Understanding how the Front Controller, Kernel and Environments Work together
    • The Front Controller
    • The Kernel Class
    • The Environments
  • How to Set external Parameters in the Service Container
    • Environment Variables
    • Constants
    • Miscellaneous Configuration
  • How to Use PdoSessionHandler to Store Sessions in the Database
    • Sharing your Database Connection Information
    • Example SQL Statements
  • How to Use the Apache Router
    • Change Router Configuration Parameters
    • Generating mod_rewrite Rules
    • Additional Tweaks
  • Configuring a Web Server
    • Apache2 with mod_php/PHP-CGI
    • Apache2 with PHP-FPM
    • Nginx
  • How to Organize Configuration Files
    • Different Directories per Environment
    • Semantic Configuration Files
    • Advanced Techniques
Next Previous

© 版权所有 .

Built with Sphinx using a theme provided by Read the Docs.