archives
- August 2010 (1)
- May 2010 (1)
- April 2010 (9)
- February 2010 (1)
- January 2010 (1)
- November 2009 (1)
- August 2009 (1)
- June 2009 (2)
- May 2009 (11)
- April 2009 (5)
- March 2009 (4)
- February 2009 (3)
- January 2009 (5)
- 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 (6)
- Business (54)
- Copywriting (1)
- Design (3)
- Django (1)
- FireFox 3 (2)
- General (4)
- GTD (5)
- Guest Posts (3)
- Holiday (4)
- IE 8 (1)
- iTouch (2)
- Joomla (1)
- Life 3.0 (3)
- Life Hacks (44)
- Management (4)
- Marketing (12)
- Mobile (2)
- offbeat (3)
- Outlook (1)
- Personal Development (18)
- Podcasting (1)
- Productivity (30)
- Programming (16)
- Project Management (2)
- Python (1)
- Reviews (2)
- Sales (6)
- Social Networking (13)
- Symfony (3)
- Systems (3)
- Travel (1)
- Twitter (2)
- Ubuntu (7)
- Video (4)
- Web Design (3)
- Windows 7 (1)
- Windows Vista (1)
- Windows XP (1)
- xv6800 (1)
members
most commented post
- » How To Download Ustream.tv Videos - 29
- » Managing Your Life With GTD, Online Tools and a File Cabinet - 20
- » Get Symfony Installed in 20 Minutes on Vista - 16
- » How to Send Email at a Specific Time With Gmail - 14
- » Plurk Unleashed! - 12
- » Using The Web To Save on Holiday Gifts - 12
- » What Online Social Media Networks Do You Participate In? - 11
- » Top Online Backup Solutions - 11
- » 19 Secrets From LA's Top SEO Firm - 10
- » The Story Behind iPhone.com - 10
recent entries
- Use Your Feed Reader to Quickly View All Your Unread Google Apps GMail
- How to Add a Vanity URL to your Facebook Page in Two Minutes
- Using Custom HTML with Flash or Javascript in Joomla without Modules
- Reduce Distractions and Stay in the Zone with an Aggressive GMail Filtering Strategy
- Do It Yourself Reputation Management with Google Reader
- Fast Low Cost Recipe Resources for the Starving Student or Busy Entrepreneur
- What is in your GTD Weekly Review Checklist?
- Automatically Login a User After Registration Using sfGuardPlugin in Symfony
- Why High Quality Web Content is Necessary for Success
- How to Forward an Email as a Text Message
recent comments
- ThinkingSerious: Some great advice on setting up a GTD dashboard from @rmg2768: http://simplenote.squarespa...
- ThinkingSerious: @rmg2768 Thanks for your comments and suggestions! When I tag action items with [A], I don’t...
- rmg2768: Evidently, the latest web view at Simplenote no longer needs the script I mentioned above, and works well...
- rmg2768: I like using “td” to prepend – it is easier to type, and doesn’t (usually) show up...
- ThinkingSerious: Oops … I misused the word allot (an actual word BTW) here .. fixed and thanks @morris.
Wordpress theme by Wordpress Themes Websoft & made free by A1spysoftware.com
Copyright 2010, 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.