Symfony is a PHP Web Development Framework.

Symfony is a framework, a set of tools and a development methodology.

Beyond the tools, Symfony is also a Philosophy and a Community.

symfony

 

First, check that you have installed and configured a Web server (such as Apache) with PHP 5.3.8 or higher. For more information on Symfony2 requirements, see the requirements reference.

Start by visiting the Symfony2 download page at http://symfony.com/download. On this page, you’ll see the Symfony Standard Edition, which is the main Symfony2 distribution. There are 2 ways to get your project started:

Symfony installation and Configuration

Method 1 :

Composer is a dependency management library for PHP, which you can use to download the Symfony2 Standard Edition.

curl -s https://getcomposer.org/installer | php

Composer is an executable PHAR file, which you can use to download the Standard Distribution

php composer.phar create-project symfony/framework-standard-edition <symfony install path>

Example

php composer.phar create-project symfony/framework-standard-edition /home/user/public_html/symfony

This command may take several minutes to run as Composer downloads the Standard Distribution along with all of the vendor libraries that it needs. Update database details, mailer details while this process.

Once completed,

updated your ISP ipaddress in web/config.php , web/app_dev.php in the top of remotehost
settings.

if (!in_array(@$_SERVER['REMOTE_ADDR'], array(
'127.0.0.1',
'::1',
'your isp ip address',

browse config.php file to Configuration and Setup.

http://yourdomain.com/symfony/web/config.php

Configure your Symfony Application online or Bypass configuration and go to the Welcome page

http://yourdomain.com/symfony/web/app_dev.php/

Thats all…

Method 2 :

Download an Archive

You can also download an archive of the Standard Edition. Here, you’ll need to make two choices:

Download http://symfony.com/download either a .tgz or .zip archive – both are equivalent, download whatever you’re more comfortable using;
Download the distribution with or without vendors. If you’re planning on using more third-party libraries or bundles and managing them via Composer, you should probably download “without vendors”.

Goto your installation path

# for .tgz file
$ tar zxvf Symfony_Standard_Vendors_2.3.###.tgz

# for a .zip file
$ unzip Symfony_Standard_Vendors_2.3.###.zip

updated your ISP ipaddress in web/config.php , web/app_dev.php in the top of remotehost
settings.

if (!in_array(@$_SERVER['REMOTE_ADDR'], array(
'127.0.0.1',
'::1',
'your isp ip address',

browse config.php file and update.

http://yourdomain.com/Symfony/web/config.php

Updating Vendors

Depending on how you downloaded Symfony, you may or may not need to update your vendors right now. But, updating your vendors is always safe, and guarantees that you have all the vendor libraries you need.

Step 1: Get Composer (The great new PHP packaging system)

curl -s http://getcomposer.org/installer | php

Make sure you download composer.phar in the same folder where the composer.json file is located (this is your Symfony project root by default).

Step 2: Install vendors

$ php composer.phar install

This command downloads all of the necessary vendor libraries – including Symfony itself – into the vendor/ directory.

 

5.00 avg. rating (100% score) - 1 vote
Website Pin Facebook Twitter Myspace Friendfeed Technorati del.icio.us Digg Google StumbleUpon Premium Responsive