Symfony installation and configuration

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.

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.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

cPHulk Brute Force Protection

WHM/cPanel has a service, protected from Brute Force attack, which is called “cPHulk Brute Force...

Enable SSH key authorized login without root password

You need to generate SSH Key ( the private key )on your cpanel server and then update remote...

How can I Redirect URLs in cPanel

Login your cpanel 1. Click the Redirects button on the front page under the “domains” 2. Enter...

Enable Custom php.ini for Fast CGI

With fast-cgi, custom php.ini needs to be in the cgi-bin folder. 1) Move php.ini to cgi-bin...

ConfigServer Firewall CSF installation

ConfigServer firewall is a popular linux firewall security suite. It is easy to install, flexible...