SlideShare a Scribd company logo
Wildan Maulana | wildan [at] tobethink.com #3 The Definitive Guide to symfony  Running Symfony Doc. v. 0.1 - 14/04/09
Requirement Symfony requires at least PHP 5.2. Make sure you have it installed by opening a command line and typing this command: > php -v PHP 5.2.6-2ubuntu4 with Suhosin-Patch 0.9.6.2 (cli) (built: Oct 14 2008 20:06:32) Copyright (c) 1997-2008 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
Symfony Installation Method Use sandbox if you just wanna see what is symfony capable of
Use PEAR installation method, it is recommended for most people
Use Subversion (SVN) installation, it is meant to be used by advanced PHP developers, who want to take advantage of the latest patches, add features of their own, and/or contribute to the symfony project. Btw, I prefer using SVN installation method
Installing the Sandbox The sandbox is a simple archive of files. It contains an empty symfony project including all the required libraries (symfony, lime, Prototype with Scriptaculous, Doctrine and Propel with Phing), a default application, and basic configuration. It will work out of the box, without specific server configuration or any additional packages.
Download from :  http://www.symfony-project.org/get/sf_sandbox_1_2.tgz Unpack it to the root web directory (I assume you to use sf_sandbox/ directory)
Test the installation : > php symfony -V  You will see sandbox version number :    symfony version 1.2.0 (/path/to/the/symfony/lib/dir/used/by/the/sandbox)   Try  to browse the sandbox by requesting this URL : http://localhost/sf_sandbox/web/frontend_dev.php/
Installing symfony Libraries Using symfony PEAR package
Using Subversion (SVN)
Installing the symfony PEAR Package Add the symfony channel to PEAR > pear channel-discover pear.symfony-project.com
To see the libraries available in this channel, type the following: > pear remote-list -c symfony
Now you are ready to install the latest stable version of symfony. Issue this command: > pear install symfony/symfony
downloading symfony-1.2.0.tgz ...
Starting to download symfony-1.2.0.tgz (1,283,270 bytes)
.................................................................
.................................................................
.............done: 1,283,270 bytes
install ok: channel://pear.symfony-project.com/symfony-1.2.0
Check that the installation succeeded > symfony -V
symfony version 1.2.0 (/path/to/the/pear/symfony/lib/dir)
Installing the symfony PEAR Package The symfony libraries are now installed in directories as follows: $php_dir/symfony/  contains the main libraries.
$data_dir/symfony /  contains the web assets used by symfony default modules.

More Related Content

PPTX
Installation of ubuntu, ns3 and compiling first
PPTX
Ultimate Unix Meetup Presentation
PDF
How to automate elixir phoenix deployment with distillery and edeliver on ubu...
PDF
Redhat enterprise Linux
PDF
How to install Open Atrium over LAMP stack
PDF
Composer the right way - SunshinePHP
PDF
Composer for Busy Developers - php|tek13
PDF
Symfony 4.0 + - Track Technique eZ Roadshow 2019 - PARIS
Installation of ubuntu, ns3 and compiling first
Ultimate Unix Meetup Presentation
How to automate elixir phoenix deployment with distillery and edeliver on ubu...
Redhat enterprise Linux
How to install Open Atrium over LAMP stack
Composer the right way - SunshinePHP
Composer for Busy Developers - php|tek13
Symfony 4.0 + - Track Technique eZ Roadshow 2019 - PARIS

What's hot (19)

PDF
Kannel configuration step by step with Motorolla Razer
PDF
Kerberos : The network authentification protocol
PDF
Introduction to symfony2
PPT
Dc10 beale-attackdefendunix
PDF
InstallingRoRinLinux
PDF
Workshop: snap from zero to hero
PDF
Playing with WP-CLI (WordPress Command Line Interface)
PDF
<img src="../i/r_14.png" />
PPT
PPT
Raspberry zero usb in linux
PDF
Cd rom mounting cdro-ms on solaris
PPT
香港六合彩
ODP
Website releases made easy with the PEAR installer, OSCON 2009
ODP
Website releases made easy with the PEAR installer - Barcelona 2008
PDF
PostgreSQL : Introduction
DOCX
How to install and configure LEMP stack
PDF
PM : code faster
PPT
Linux apache installation
PDF
Php through the eyes of a hoster phpbnl11
Kannel configuration step by step with Motorolla Razer
Kerberos : The network authentification protocol
Introduction to symfony2
Dc10 beale-attackdefendunix
InstallingRoRinLinux
Workshop: snap from zero to hero
Playing with WP-CLI (WordPress Command Line Interface)
<img src="../i/r_14.png" />
Raspberry zero usb in linux
Cd rom mounting cdro-ms on solaris
香港六合彩
Website releases made easy with the PEAR installer, OSCON 2009
Website releases made easy with the PEAR installer - Barcelona 2008
PostgreSQL : Introduction
How to install and configure LEMP stack
PM : code faster
Linux apache installation
Php through the eyes of a hoster phpbnl11
Ad

Viewers also liked (7)

PDF
Directory Servers and LDAP
PDF
PostgreSQL BootCamp : Manajemen Master Data dengan SkyTools
PDF
OpenThink Labs : Dengar Pendapat Komunitas ciliwung dengan kemen pu dan kemen...
PDF
OpenThink Labs Workshop : Ketahanan Pangan Skala RT/RW
PDF
Pengembangan OpenThink SAS 2013-2014
PDF
Ketahanan Pangan #1 : Gerakan Sekolah Menanam Melon
PDF
ICA – AtoM : Retensi Arsip
Directory Servers and LDAP
PostgreSQL BootCamp : Manajemen Master Data dengan SkyTools
OpenThink Labs : Dengar Pendapat Komunitas ciliwung dengan kemen pu dan kemen...
OpenThink Labs Workshop : Ketahanan Pangan Skala RT/RW
Pengembangan OpenThink SAS 2013-2014
Ketahanan Pangan #1 : Gerakan Sekolah Menanam Melon
ICA – AtoM : Retensi Arsip
Ad

Similar to Running Symfony (20)

PDF
Composer - The missing package manager for PHP
PPTX
Phalcon - Giant Killer
PDF
Dockerizing Symfony Applications - Symfony Live Berlin 2014
 
PDF
Dependency management with Composer
PDF
PHP selber bauen
KEY
Composer
ODP
Capifony. Minsk PHP MeetUp #11
PDF
composer_talk_20160209
PDF
Fabien Potencier "Symfony 4 in action"
PDF
Adopt DevOps philosophy on your Symfony projects (Symfony Live 2011)
PPTX
PHP on Heroku: Deploying and Scaling Apps in the Cloud
PDF
Making environment for_infrastructure_as_code
PPTX
PPTX
Linux for programmers
PDF
Deploying Symfony | symfony.cat
PDF
All the Laravel things: up and running to making $$
PDF
Symfony 4: A new way to develop applications #ipc19
DOCX
Web-servers & Application Hacking
PPTX
Phalcon 2 - PHP Brazil Conference
Composer - The missing package manager for PHP
Phalcon - Giant Killer
Dockerizing Symfony Applications - Symfony Live Berlin 2014
 
Dependency management with Composer
PHP selber bauen
Composer
Capifony. Minsk PHP MeetUp #11
composer_talk_20160209
Fabien Potencier "Symfony 4 in action"
Adopt DevOps philosophy on your Symfony projects (Symfony Live 2011)
PHP on Heroku: Deploying and Scaling Apps in the Cloud
Making environment for_infrastructure_as_code
Linux for programmers
Deploying Symfony | symfony.cat
All the Laravel things: up and running to making $$
Symfony 4: A new way to develop applications #ipc19
Web-servers & Application Hacking
Phalcon 2 - PHP Brazil Conference

More from Wildan Maulana (20)

PDF
Hasil Pendataan Potensi Desa 2018
PDF
Double for Nothing? Experimental Evidence on an Unconditional TeacherSalary I...
PDF
Mensetup Google Apps sebagai IdP jenis openID dan Aplikasi Berbasis CakePHP ...
PDF
Mensetup Google Apps sebagai IdP jenis openID dan Wordpress sebagai Sp
PDF
Konfigurasi simpleSAMLphp dengan Google Apps Sebagai Identity Provider
PDF
Instalasi simpleSAMLphp sebagai Identity Provider (IdP)
PDF
Instalasi dan Konfigurasi simpleSAMLphp
PDF
River Restoration in Asia and Connection Between IWRM and River Restoration
PDF
Optimasi Limpasan Air Limbah Ke Kali Surabaya (Segmen Sepanjang – Jagir) De...
PPT
Penilaian Siswa di Finlandia - Pendidikan Dasar
PDF
Statistik Listrik
PDF
Proyek Al-'Alaq : Electric Bicycles ; History, Characteristics, and Uses
PDF
OpenThink SAS : Interaksi Antara Sekolah, Wali Kelas, Siswa dan Orang Tua
PDF
Menggunakan AlisJK : Equating
PDF
Menggunakan AlisJK (Analisis Lembar Jawaban Kompuer/Analisis Item Soal)
PDF
Perkembangan OpenThink SAS a.k.a SIMMSIT, 2011-2012
PDF
Master Plan Portal Universitas Negeri Pelangi
PDF
Koperasi NP : Program Penanggulangan Kemiskinan Kabinet Indonesia Bersatu II ...
PDF
Koperasi NP : Indonesia Mandiri, Maju, Adil dan Makmur
PDF
Masterplan Portal Yayasan Dian Didaktika
Hasil Pendataan Potensi Desa 2018
Double for Nothing? Experimental Evidence on an Unconditional TeacherSalary I...
Mensetup Google Apps sebagai IdP jenis openID dan Aplikasi Berbasis CakePHP ...
Mensetup Google Apps sebagai IdP jenis openID dan Wordpress sebagai Sp
Konfigurasi simpleSAMLphp dengan Google Apps Sebagai Identity Provider
Instalasi simpleSAMLphp sebagai Identity Provider (IdP)
Instalasi dan Konfigurasi simpleSAMLphp
River Restoration in Asia and Connection Between IWRM and River Restoration
Optimasi Limpasan Air Limbah Ke Kali Surabaya (Segmen Sepanjang – Jagir) De...
Penilaian Siswa di Finlandia - Pendidikan Dasar
Statistik Listrik
Proyek Al-'Alaq : Electric Bicycles ; History, Characteristics, and Uses
OpenThink SAS : Interaksi Antara Sekolah, Wali Kelas, Siswa dan Orang Tua
Menggunakan AlisJK : Equating
Menggunakan AlisJK (Analisis Lembar Jawaban Kompuer/Analisis Item Soal)
Perkembangan OpenThink SAS a.k.a SIMMSIT, 2011-2012
Master Plan Portal Universitas Negeri Pelangi
Koperasi NP : Program Penanggulangan Kemiskinan Kabinet Indonesia Bersatu II ...
Koperasi NP : Indonesia Mandiri, Maju, Adil dan Makmur
Masterplan Portal Yayasan Dian Didaktika

Recently uploaded (20)

PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PPT
Teaching material agriculture food technology
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
Spectroscopy.pptx food analysis technology
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Machine learning based COVID-19 study performance prediction
PDF
Approach and Philosophy of On baking technology
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Diabetes mellitus diagnosis method based random forest with bat algorithm
sap open course for s4hana steps from ECC to s4
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
The AUB Centre for AI in Media Proposal.docx
Teaching material agriculture food technology
Building Integrated photovoltaic BIPV_UPV.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
Spectral efficient network and resource selection model in 5G networks
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
Understanding_Digital_Forensics_Presentation.pptx
Encapsulation_ Review paper, used for researhc scholars
Digital-Transformation-Roadmap-for-Companies.pptx
Dropbox Q2 2025 Financial Results & Investor Presentation
Reach Out and Touch Someone: Haptics and Empathic Computing
Spectroscopy.pptx food analysis technology
Review of recent advances in non-invasive hemoglobin estimation
Machine learning based COVID-19 study performance prediction
Approach and Philosophy of On baking technology

Running Symfony