Configure Symfony 2 over Ubuntu

Tomorrow Hasan vai arranged code-jamming over Symfony 2, I am too much exited about it. Today I tried to have a look on Symfony 2. After download Symfony Standard 2.0.16 and extract in www folder, I need to check the localhost/Symfony/web/config.php first and found I have 2 major  issues like SQlite and Date/Time configuration. Also have some Recommendation like Intl, APC, Short tag off. So I need to resolve this issues to get the welcome page. Here how I resolve the issues,

To install SQlite,

sudo apt-get install php5-sqlite

sudo /etc/init.d/apache2 restart

Then to fix date/time issue I need to open /etc/php5/apache/php.ini and find  ;date.timezone = “” and change to date.timezone = “Asia/Dhaka” as my time zone is Dhaka. Again to get effect of this I need to restart apache

sudo /etc/init.d/apache2 restart

By the above my Major Problem is solved, now I need to resolve the Recommendation but still I can bypass this and get the Welcome page, but I like to resolve each and every issues before get Welcome page.

So to resolve the recommendation first I need to install Intl with following command,

sudo apt-get install php5-intl

sudo /etc/init.d/apache2 restart

then to install APC

sudo apt-get install php-apc

sudo /etc/init.d/apache2 restart

Bingo!!! I am prepared for my Symfony, now click over Bypass configuration and go to the Welcome page and Get the Symfony Welcome page.

(Visited 62 times, 1 visits today)

Leave a comment

Your email address will not be published. Required fields are marked *