Giter Club home page Giter Club logo

learning-symfony2's Introduction

Learning-Symfony2

Required Modules installation and php.ini settings for running Symfony2,

=> Download Symfony2 package

=> Extract in your webdata/root folder and give name Symfony

=> Open Terminal/Command Line and go to project directory

=> First Download and Install Composer for Project Dependancies fire below commands

-> curl -s http://getcomposer.org/installer | php
-> php composer.phar install
-> sudo apache2ctl restart

=> sudo apt-get install php-apc [Install module for Alternative PHP Cache]

=> sudo apt-get install libicu-dev [Install package for International Components for Unicode]

=> sudo apt-get install php5-suhosin [Install package for Advanced Protection System]

=> Add OR Edit below settings in php.ini [sudo gedit /etc/php5/apache2/php.ini] [sudo gedit /etc/php5/cli/php.ini]

-> suhosin.executor.include.whitelist=”phar”
-> date.timezone = UTC
-> short_open_tag = Off 
-> magic_quotes_gpc = Off 
-> register_globals = Off 
-> session.autostart = Off

=> sudo apt-get install libssl-doc [If not installed in System then install]

====== PROBLEM IN INSTALLATION THEN USE BELOW INSTRUCTIONS FOR THIS =======

=> sudo gedit /etc/apt/preferences

and insert the following lines:

Package: *

Pin: release a=precise*

Pin-Priority: 2012

Pin-Priority must be greater than 1000.

===========================================================================

Then you may downgrade the offending applications with:

=> sudo apt-get dist-upgrade [if u want]

Then you may install packages that complained about dependencies,

=> sudo apt-get install libssl-doc

=> sudo apt-get install libicu-dev

=> sudo apt-get install php5-intl

================== REMOVE THIS =================

Finally, you should remove the file you just created:

=> sudo rm /etc/apt/preferences

================================================

After you will Start your Symfony2 and see on URL: http://localhost/Symfony/web/config.php

Message : Your configuration looks good to run Symfony.

learning-symfony2's People

Contributors

kunjalphp avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.