archives
- 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.listAdd:
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-defaultAdd 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/hostsAdd this:
127.0.0.1 mytest.thinkingserious.com
vi /etc/php5/apache2/php.iniMake sure:
magic_quotes_gpc = Off
apache2 restartType 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 (35)
- Design (1)
- Django (1)
- FireFox 3 (1)
- General (4)
- Holiday (1)
- Life Hacks (20)
- Marketing (5)
- offbeat (3)
- Personal Development (8)
- Podcasting (1)
- Productivity (1)
- Programming (12)
- Python (1)
- Reviews (2)
- Sales (5)
- Social Networking (7)
- Symfony (1)
- Ubuntu (7)
- Video (3)
- Windows Vista (1)
- Windows XP (1)
members
most commented post
- » Managing Your Life With GTD, Online Tools and a File Cabinet - 18
- » How To Download Ustream.tv Videos - 11
- » What Online Social Media Networks Do You Participate In? - 10
- » 19 Secrets From LA's Top SEO Firm - 10
- » The Story Behind iPhone.com - 10
- » Plurk Unleashed! - 10
- » CSS Equivalent of Prototype? - 7
- » Thoughts are Things - 7
- » Del.icio.us Design Update - 7
- » What Mark Cuban Taught Me About Blogging - 6
recent entries
- To Google: Apology Accepted
- A Ten Point Formula for Success by President Lyndon Johnson
- Increase Productivity in Microsoft Windows by Using Virtual Desktops
- Running Django on Windows Vista Ultimate 64 bit
- Del.icio.us Design Update
- Entrepreneurial War Stories
- Propeller.com and Rapid Application Development
- Quick Tip: Open Office 2.4 Styles
- Running Microsoft Office 2007 Under Wine 1.0 in Ubuntu Hardy Heron 8.04
- Marketing and Promoting Your Company On a Small Budget
recent comments
- xanders: i cant seem to get pear working with xampp 1.4.7 and vista? any suggestions? c:\Program...
- Rob: This is the first time it has ever worked, and I tried a *lot* of suggestions these last few months but each...
- Madman: Lyndon… you read wrong, plain and simple.
- matt: Huzzah, thanks for this. worked like a charm. I too have the MX440 and was stuck at 800×600. For anyone...
- Po: I love TubeMogul… Good post…
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!