Symfony Installation on Windows

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

4 comments

Comments 1 - 4 of 4 previous next Post a comment

Post a comment
Embed Video
Edit your comment Cancel

Favorites, Groups & Events

Symfony Installation on Windows - Presentation 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..
    • 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/
  16. 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
SlideShare Zeitgeist 2009

+ Anand sharmaAnand sharma Nominate

custom

635 views, 0 favs, 0 embeds more stats

This ppt will help you to install SYMFONY framework more

More info about this document

© All Rights Reserved

Go to text version

  • Total Views 635
    • 635 on SlideShare
    • 0 from embeds
  • Comments 4
  • Favorites 0
  • Downloads 0
Most viewed embeds

more

All embeds

less

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel
File a copyright complaint
Having problems? Go to our helpdesk?

Categories