archives
- January 2009 (1)
- December 2008 (1)
- November 2008 (2)
- October 2008 (4)
- September 2008 (2)
- August 2008 (4)
- July 2008 (10)
- June 2008 (5)
- May 2008 (5)
- April 2008 (10)
- March 2008 (13)
- February 2008 (3)
- January 2008 (7)
- December 2007 (7)
- November 2007 (9)
- October 2007 (10)
- September 2007 (1)
blogroll
12
Mar
So you have your shiny new *buntu installed and now you want to start hacking with your favorite framework, Symfony. This quick guide will have you up and running in a few minutes. I assume you have installed Apache 2, PHP5 and MySQL 5 using the defaults with Synaptic.
sudo vi /etc/apt/sources.list
Add:
deb http://www.symfony-project.org/get debian/
sudo apt-get update
sudo apt-get install php5-symfony
mkdir /var/www/test
cd /var/www/test
symfony init-project mytest
symfony init-app myapp
sudo vi /etc/apache2/sites-enabled/000-default
Add this to the end:
<Directory "/usr/share/php5/symfony/data/web/sf">
AllowOverride All
Allow from All
</Directory>
<VirtualHost *>
ServerName mytest.thinkingserious.com
DocumentRoot "/var/www/test/web"
DirectoryIndex index.php
Alias /sf /usr/share/php5/symfony/data/web/sf
<Directory "/var/www/test/web">
AllowOverride All
Allow from All
</Directory>
</VirtualHost>
sudo a2enmod rewrite
sudo vi /etc/hosts
Add this:
127.0.0.1 mytest.thinkingserious.com
vi /etc/php5/apache2/php.ini
Make sure:
magic_quotes_gpc = Off
apache2 restart
Type http://mytest.thinkingserious.com in your browser.
Done
about
This blog provides programming, design, business and productivity content for tech entrepreneurs living in a 2.0 world.
Find out more about the author here.
Find out more about the author here.
categories
- Blogging (1)
- Business (38)
- Design (1)
- Django (1)
- FireFox 3 (1)
- General (4)
- GTD (1)
- Holiday (3)
- Life Hacks (23)
- Marketing (6)
- offbeat (3)
- Personal Development (9)
- Podcasting (1)
- Productivity (6)
- Programming (12)
- Python (1)
- Reviews (2)
- Sales (5)
- Social Networking (8)
- Symfony (1)
- Ubuntu (7)
- Video (3)
- Windows Vista (1)
- Windows XP (1)
- xv6800 (1)
members
most commented post
- » Managing Your Life With GTD, Online Tools and a File Cabinet - 19
- » How To Download Ustream.tv Videos - 12
- » Plurk Unleashed! - 12
- » Using The Web To Save on Holiday Gifts - 12
- » What Online Social Media Networks Do You Participate In? - 11
- » 19 Secrets From LA's Top SEO Firm - 10
- » The Story Behind iPhone.com - 10
- » Get Symfony Installed in 20 Minutes on Vista - 9
- » CSS Equivalent of Prototype? - 7
- » Thoughts are Things - 7
recent entries
- Afraid of Your ToDo List? 6 Steps to Courage
- 6 Phone Numbers for Your Mobile Speed Dial
- Using The Web To Save on Holiday Gifts
- GPS Nirvana with the Verizon xv6800 Running Windows Mobile 6.1
- Happy Holloween! Enjoy the Evil Pumpkin!
- Enterprise 2.0: Changing Models for Organization
- Digital Writing: Any Paper, Anywhere
- Emergency Economic Stabilization Act of 2008 - Talking Points
- How to Promote a Local Event
- BaseCamp Just Became Much More Usable
recent comments
- me: How does console access work if it all comes through the browser? Not seen a clear answer on this so far, mostly...
- Ian Utile: Great stuff! Appreciate you posting this…I will let others know
- Finomo-tech: The two finger scrolling thing works much better with IE7 than firefox. In firefox is much slower and I...
- elkhaircaddis: there is a cool xmas gift. it’s a digital frame but it’s different from the rest because...
- BeasMom: Awesome collection - thanks! Please add the gift of TIME to Group Gifting. Perfect for elderly relatives...
Wordpress theme by Wordpress Themes & made free by Internet Marketing Center
Copyright 2008, ThinkingSerious.com

March 16 2008
[...] Setting Up Symfony on Ubuntu 7.10 64bit [...]
April 21 2008
I tried this but the command
“sudo vi /etc/apache2/sites-enabled/000-default”
didnt work.
It creates a new directory
July 26 2008
That was extremely helpful thank you very much for the writeup!
November 18 2008
Thanks very much, nice docs for setup on Ubuntu.