Your SlideShare is downloading. ×
Symfony Installation on Windows
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

Symfony Installation on Windows

28,538
views

Published on

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

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


10 Comments
9 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
28,538
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
10
Likes
9
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

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