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
24
Oct
Interest in Symfony has increased since del.icio.us announced it developed its new version on the Symfony framework. If you are running Vista and you need to get a quick Symfony development environment going, then look no further. Follow these easy steps to going in 20 minutes.
1. Install XAMPP
Just follow the instructions for installation and then:
. Or read it online free here.
- During the install, specify XAMPP to be installed under C:\Program Files because of Vista security restraints.
- Run http://127.0.0.1/security/index.php to secure XAMPP.
- Press the Win key
- Type cmd
- Press Ctrl+Shift+Enter
- Confirm the elevation prompt
- cd “C:\Program Files\xampp\php”
- pear upgrade PEAR
- Note: You will get a pop-up with “CLI has stopped working”, you can safely close that (this will happen during the other command prompt steps as well).
- pear channel-discover pear.symfony-project.com
- pear install symfony/symfony
- pear install phing/phing
- Start Orb -> Computer (right click and choose properties)
- Advanced system settings
- Environment Variables…
- Click on the Path System variable and click edit
- At the end of the string, append ;C:\Program Files\xampp\php;C:\Program Files\xampp\mysql\bin
- cd [path to your workspace]
- mkdir myproject
- cd myproject
- symfony init-project myproject
- symfony init-app myapp
- Go to C:\Windows\System32\drivers\etc in explorer and right click on the host file. Uncheck the read only box.
- Hit the windows key
- Type notepad.exe
- Cntrl+Shift+Enter
- File -> Open
- Open C:\Windows\System32\drivers\etc (you will have to put an * in the file name box to see the file) and open the hosts file
- Add “127.0.0.1 myproject” under “127.0.0.1 localhost” (without the quotes)
- Save
- Go to C:\Windows\System32\drivers\etc in explorer and right click on the host file. Check the read only box.
- File -> Open
- C:\Program Files\xampp\apache\conf\extra (you will have to put an * in the file name box to see the file) and open httpd-vhosts.conf
- Add this to the end of the httpd-vhosts.conf file and save: <VirtualHost *:80> ServerName myproject DocumentRoot “C:\[path to your workspace]\myproject\web” DirectoryIndex index.php Alias /sf C:\php5\pear\data\symfony\web\sf <Directory “C:\php5\pear\data\symfony\web\sf”> AllowOverride All Allow from All </Directory> <Directory “C:\[path to your workspace]\myproject\web”> AllowOverride All Allow from All </Directory> </VirtualHost>
- Uncomment ##NameVirtualHost *:80 if you want to have more than one project able to run with different names.
- Restart Apache and go to http://myproject/ and you should see the symfony default project page.
- Traverse to each those two directories seperately within your newly Symfony file structure with Explorer.
- Right click on each of the folders and choose properties
- Go to the security tab and choose the user that will be granted the permissions and click edit.
- Note: You can find out the user by Cntrl+Alt+Delete, and then starting the task manager. Note the User Name.
- Allow that person to have full control.
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


October 24 2007
[...] story here Filed under: [...]
January 9 2008
[...] installing on Vista. There is a link out to external blog where others have advice on setting up on Windows Vista, but that was all I could find. But after a day just trying to get the test environment running [...]
April 25 2008
Nice tutorial, made life much easier. Thank you so much.
August 29 2008
i cant seem to get pear working with xampp 1.4.7 and vista? any suggestions?
c:\Program Files\xampp\php>pear
‘pear’ is not recognized as an internal or external command,
operable program or batch file.