Prior to installing Symfony2, you don’t need to have a configured web server. If you have at least PHP version 5.4, you can use the standalone server provided by Symfony2. This server is suitable for development purposes and should not be used for production. It is strongly recommend to work with a Linux/UNIX system for both development and production deployment of Symfony2 framework applications. While it is possible to install and operate on a Windows box, due to its different nature, working with Windows can sometimes force you to maintain a separate fragment of code for this system.
Even if your primary OS is Windows, it is strongly recommended to configure Linux system in a virtual environment. Also, there are solutions that will help you in automating the whole process. As an example, see more on https://www.vagrantup.com/ website.
To install Symfony2, you can use a few methods as follows:
- Use a new Symfony2 installer script (currently, the only officially recommended). Please note that installer requires at least PHP 5.4.
- Use a composer dependency manager to install a Symfony project.
- Download a
tgzpackage and unpack it.
- It does not really matter which method you choose, as they all give you similar results.