STEP BY STEP INSTALLATION OF SYMFONY FRAMEWORK ON WINDOWS SYMFONY INSTALLATION ON WINDOWS - Anand Sharma
STEP 1: Install WAMP  <ul><li>Install WAMP on your window system. </li></ul><ul><li>WAMP is a package which include Apache...
STEP 1: Contd.. <ul><li>SYMFONY need PHP_XSL  (php extension) and rewrite module (Apache module) to be enable. </li></ul><...
STEP 1: Contd.. <ul><li>Environment Setting : Now I add environment variable so that I could able to access PHP through CL...
STEP 2: PEAR Install <ul><li>PEAR : PHP Extension and Application Repository </li></ul><ul><li>It is a PHP Extension distr...
STEP 2 : Contd.. <ul><li>Inside the PHP directory , the installer created a PEAR_ENV.reg file, which after double clicking...
STEP 3 : Symfony Installation <ul><li>Goto START->RUN-> type “cmd” and ENTER </li></ul><ul><li>Type this command : </li></...
STEP 3 : Contd.. <ul><li>Now  write this command to install SYMFONY package </li></ul><ul><li>> pear install symfony/symfo...
STEP 4 : Your First Symfony Project <ul><li>Assuming till now , everything went right so now you can write following comma...
STEP 4 : Contd..
STEP 4 : Contd.. <ul><li>>symfony init-app testapp (user choice) </li></ul>
STEP 5 : run your First Project <ul><li>Congratulations, you have created your First Symfony project. </li></ul><ul><li>To...
STEP 5 : Contd..
STEP 5 : Contd.. <ul><li>If you see no image in previous web result , </li></ul><ul><li>goto  </li></ul><ul><li>C:wampinp...
STEP 5 : Contd..
<ul><li>Symfony framework is installed on your window system. </li></ul><ul><li>Now , you are able to create symfony proje...
Author Portfolio <ul><li>LAMP Developer with 2+ years experience in IT. </li></ul><ul><li>Contact : anandshahil11(AT)gmail...
Upcoming SlideShare
Loading in...5
×

Symfony Installation on Windows

29,401

Published on

This ppt will help you to install SYMFONY framework on window OS.

10 Comments
10 Likes
Statistics
Notes
  • This is installing symfony 1.4.2 ... not much good, I want version 2! and http://pear.symfony.com/ this is not working: I am getting '(no packages available yet)'. Tearing my hair out, can't imagine why anyone enjoys doing this for a living?!
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • I didn't find the go-pear.bat file
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Good presentation :)
    I must say thanks.
    init-project shouldn't be used anymore. I think that in 1.3 and 1.4 there's only the 'symfony generate:project'.
    Instead of using 'init-' we can use 'generate:' for new version

    Source:
    http://oldforum.symfony-project.org/index.php/m/95029/
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Follow this video http://www.youtube.com/watch?v=yhKPM4v6p_k
    It shows symfony installation using netbeans and xamp and also running a hello world application..
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • If you'd like a step by step tutorial video to get going with Symfony2 on windows check out my blog at: http://www.netcrafted.com/?p=1505
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total Views
29,401
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
10
Likes
10
Embeds 0
No embeds

No notes for slide

Symfony Installation on Windows

  1. 1. STEP BY STEP INSTALLATION OF SYMFONY FRAMEWORK ON WINDOWS SYMFONY INSTALLATION ON WINDOWS - Anand Sharma
  2. 2. STEP 1: Install WAMP <ul><li>Install WAMP on your window system. </li></ul><ul><li>WAMP is a package which include Apache server , Mysql and PHP . </li></ul><ul><li>To more information </li></ul><ul><li>Visit: http:// www.wampserver.com /en/ </li></ul><ul><li>To Download WAMP </li></ul><ul><li>Visit: http:// www.wampserver.com/en/download.php </li></ul><ul><li>Do double click on downloaded WAMP file , it will install this automatically on your windows. </li></ul><ul><li>Now double click on to WAMP server icon to START. </li></ul>
  3. 3. STEP 1: Contd.. <ul><li>SYMFONY need PHP_XSL (php extension) and rewrite module (Apache module) to be enable. </li></ul><ul><li>Left click on WAMP Tray icon and goto </li></ul><ul><li>Apache -->Apache module menu </li></ul><ul><li>select rewrite_module and restart WAMP server. </li></ul><ul><li>Again left click on WAMP Tray icon and goto </li></ul><ul><li>PHP --> PHP Extension menu </li></ul><ul><li>select PHP_XSL and restart WAMP server. </li></ul>
  4. 4. STEP 1: Contd.. <ul><li>Environment Setting : Now I add environment variable so that I could able to access PHP through CLI(Command Line Interpreter). </li></ul><ul><li>Right click to MY COMPUER, Then properties. </li></ul><ul><li>Switch to “advanced tab” and click ENVIRONMENT VARIABLES button. </li></ul><ul><li>At the end of PATH , lets add </li></ul><ul><li>;C:wampinphpphp5.2.5;C:wampinmysqlmysql5.0.45in </li></ul><ul><li>Path to PHP and MYSQL separately. </li></ul>
  5. 5. STEP 2: PEAR Install <ul><li>PEAR : PHP Extension and Application Repository </li></ul><ul><li>It is a PHP Extension distribution system. </li></ul><ul><li>In WAMP PHP Directory (i.e.C:wampinphpphp5.2.5) </li></ul><ul><li>run go-pear.bat file </li></ul><ul><li>Follow the installation and answer the questions, default config should be fine so you can answer </li></ul><ul><ul><ul><li>[Enter] (default value) – if you want PEAR installed system wide. </li></ul></ul></ul><ul><ul><ul><li>[Enter] – if you don’t want to change de directory structure. </li></ul></ul></ul><ul><ul><ul><li>Y – you allow PEAR to modify our php.ini . </li></ul></ul></ul><ul><ul><ul><li>And [Enter] twice to finish. </li></ul></ul></ul>
  6. 6. STEP 2 : Contd.. <ul><li>Inside the PHP directory , the installer created a PEAR_ENV.reg file, which after double clicking will add all the PEAR variables to the registry-no need to do by hand </li></ul>
  7. 7. STEP 3 : Symfony Installation <ul><li>Goto START->RUN-> type “cmd” and ENTER </li></ul><ul><li>Type this command : </li></ul><ul><li>> pear channel-discover pear.symfony-project.com </li></ul><ul><li>If everything goes well , you will see below lines in command line. </li></ul><ul><li>Adding Channel “pear.symfony-project.com” succeeded Discovery of channel “pear.symfony-project.com” succeeded </li></ul>
  8. 8. STEP 3 : Contd.. <ul><li>Now write this command to install SYMFONY package </li></ul><ul><li>> pear install symfony/symfony </li></ul><ul><li>pear automates the whole process and download symfony package. </li></ul>
  9. 9. STEP 4 : Your First Symfony Project <ul><li>Assuming till now , everything went right so now you can write following commands in command line. </li></ul><ul><li>>cd C:wampwww </li></ul><ul><li>>mkdir symfony_aks (user choice) </li></ul><ul><li>>cd symfony_aks </li></ul><ul><li>>symfony init-project symfony_aks(user choice) </li></ul>
  10. 10. STEP 4 : Contd..
  11. 11. STEP 4 : Contd.. <ul><li>>symfony init-app testapp (user choice) </li></ul>
  12. 12. STEP 5 : run your First Project <ul><li>Congratulations, you have created your First Symfony project. </li></ul><ul><li>To have a look , goto any Web browser and type </li></ul><ul><li>http://localhost/symfony_aks/web/ </li></ul>
  13. 13. STEP 5 : Contd..
  14. 14. STEP 5 : Contd.. <ul><li>If you see no image in previous web result , </li></ul><ul><li>goto </li></ul><ul><li>C:wampinphpphp5.2.6datasymfonywebsf </li></ul><ul><li>copy “sf” folder content and paste to </li></ul><ul><li>C:wampwwwsymfony_projectwebsf </li></ul><ul><li>If “sf” folder is not available , create sf folder and then paste content into it . </li></ul><ul><li>Refresh your browser and you will see </li></ul>
  15. 15. STEP 5 : Contd..
  16. 16. <ul><li>Symfony framework is installed on your window system. </li></ul><ul><li>Now , you are able to create symfony projects and applications. </li></ul><ul><li>To learn more about symfony and how to write code in symfony , </li></ul><ul><li>Please visit : </li></ul><ul><li>http://www.symfony-project.org/askeet/1_0/en/ </li></ul><ul><li>http://www.symfony-project.org/doc/1_2/ </li></ul>
  17. 17. Author Portfolio <ul><li>LAMP Developer with 2+ years experience in IT. </li></ul><ul><li>Contact : anandshahil11(AT)gmail(DOT)com </li></ul><ul><li>Experience in Various frameworks like: </li></ul><ul><li>Symfony </li></ul><ul><li>CodeIgniter </li></ul><ul><li>SmartyPHP </li></ul><ul><li>CakePHP </li></ul><ul><li>Experience in various CMS like: </li></ul><ul><li>Drupal , Joomla ,Mediawiki , Wordpress </li></ul>

×